udoprog/c10t — Issue #234: Hangs on render
Author: batesy87
Created: 2012-01-26 18:37:33+00:00
State: open

First of all, sorry if I've missed the obvious and if I include far too much information.. I'm a novice with Linux and set up an Ubuntu server for the first time just for minecraft and it runs fine.

I've followed all the instructions for setting up c10t but it doesnt render

I'm running x86
minecraft@homeserver:~/c10t/build$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

minecraft@homeserver:~/c10t/build$ c10t --version
c10t - a cartography tool for minecraft
version: git f7d9069, built on Jan 26 2012
by: Udoprog et. al (see README)
site: http://github.com/udoprog/c10t

and here is everything I did from start to finish

minecraft@homeserver:~$ git clone git@github.com:udoprog/c10t.git
Cloning into c10t...
Enter passphrase for key '/home/minecraft/.ssh/id_rsa':
remote: Counting objects: 11588, done.
remote: Compressing objects: 100% (6304/6304), done.
remote: Total 11588 (delta 5205), reused 11526 (delta 5150)
Receiving objects: 100% (11588/11588), 9.30 MiB | 565 KiB/s, done.
Resolving deltas: 100% (5205/5205), done.
minecraft@homeserver:~$ cd c10t/
minecraft@homeserver:~/c10t$ git submodule init
Submodule 'libs/unc' (git://github.com/udoprog/unc.git) registered for path 'libs/unc'
minecraft@homeserver:~/c10t$ git submodule update
Cloning into libs/unc...
remote: Counting objects: 122, done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 122 (delta 54), reused 101 (delta 34)
Receiving objects: 100% (122/122), 1.31 MiB | 645 KiB/s, done.
Resolving deltas: 100% (54/54), done.
Submodule path 'libs/unc': checked out '6eb764fefcd1504d411647a5b23eb4b8f23c1756'
minecraft@homeserver:~/c10t$ mkdir build
minecraft@homeserver:~/c10t$ cd build
minecraft@homeserver:~/c10t/build$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.3.4")
-- Found PNG: /usr/lib/i386-linux-gnu/libpng.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- thread
-- filesystem
-- system
-- Configuring done
-- Generating done
-- Build files have been written to: /home/minecraft/c10t/build
minecraft@homeserver:~/c10t/build$ make c10t
Scanning dependencies of target c10t-mc
[ 2%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/blocks.cpp.o
[ 5%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/level.cpp.o
[ 7%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/utils.cpp.o
[ 10%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/world.cpp.o
[ 12%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/region.cpp.o
[ 15%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/level_info.cpp.o
[ 17%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/region_iterator.cpp.o
[ 20%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/rotated_level_info.cpp.o
[ 22%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/dynamic_buffer.cpp.o
[ 25%] Building CXX object src/mc/CMakeFiles/c10t-mc.dir/marker.cpp.o
Linking CXX static library libc10t-mc.a
[ 25%] Built target c10t-mc
Scanning dependencies of target c10t-image
[ 27%] Building CXX object src/image/CMakeFiles/c10t-image.dir/image_operations.cpp.o
[ 30%] Building CXX object src/image/CMakeFiles/c10t-image.dir/image_base.cpp.o
[ 32%] Building CXX object src/image/CMakeFiles/c10t-image.dir/memory_image.cpp.
[ 35%] Building CXX object src/image/CMakeFiles/c10t-image.dir/cached_image.cpp.
[ 37%] Building CXX object src/image/CMakeFiles/c10t-image.dir/color.cpp.o
[ 40%] Building CXX object src/image/CMakeFiles/c10t-image.dir/algorithms.cpp.o
Linking CXX static library libc10t-image.a
[ 40%] Built target c10t-image
Scanning dependencies of target c10t-nbt
[ 42%] Building CXX object src/nbt/CMakeFiles/c10t-nbt.dir/nbt.cpp.o
Linking CXX static library libc10t-nbt.a
[ 42%] Built target c10t-nbt
Scanning dependencies of target uncdata
[ 45%] Building CXX object libs/unc/CMakeFiles/uncdata.dir/gen/unc/iso8859.cpp.o
[ 47%] Building CXX object libs/unc/CMakeFiles/uncdata.dir/gen/unc/unccase.cpp.o
Linking CXX static library libuncdata.a
[ 47%] Built target uncdata
Scanning dependencies of target c10t-engine
[ 50%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/isometric_base. pp.o
[ 52%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/flat_base.cpp.o
[ 55%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/topdown_engine.
[ 57%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/oblique_engine.
[ 60%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/obliqueangle_en
[ 62%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/isometric_engin e.cpp.o
[ 65%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/fatiso_engine.c
[ 67%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/functions.cpp.o
[ 70%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/block_rotation.cpp.o
Linking CXX static library libc10t-engine.a
[ 70%] Built target c10t-engine
Scanning dependencies of target unc
[ 72%] Building CXX object libs/unc/CMakeFiles/unc.dir/src/unc/unc.cpp.o
Linking CXX static library libunc.a
[ 72%] Built target unc
Scanning dependencies of target c10t
[ 75%] Building CXX object CMakeFiles/c10t.dir/src/main.cpp.o
In file included from /home/minecraft/c10t/src/threads/renderer.hpp:14:0,
from /home/minecraft/c10t/src/main.cpp:30:
/home/minecraft/c10t/src/cache.hpp: In member function âbool cache_file::exists()â:
/home/minecraft/c10t/src/cache.hpp:46:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/minecraft/c10t/src/cache.hpp: In member function âbool cache_file::read(boost::shared_ptr)â:
/home/minecraft/c10t/src/cache.hpp:144:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/minecraft/c10t/src/main.cpp: In function âbool generate_map(std::ostream&, std::ostream&, settings_t&, boost::filesystem3::path&, boost::filesystem3::path&)â:
/home/minecraft/c10t/src/main.cpp:606:48: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
[ 77%] Building CXX object CMakeFiles/c10t.dir/src/dlopen.cpp.o
[ 80%] Building CXX object CMakeFiles/c10t.dir/src/main_utils.cpp.o
[ 82%] Building CXX object CMakeFiles/c10t.dir/src/algorithm.cpp.o
[ 85%] Building CXX object CMakeFiles/c10t.dir/src/players.cpp.o
[ 87%] Building CXX object CMakeFiles/c10t.dir/src/fileutils.cpp.o
[ 90%] Building CXX object CMakeFiles/c10t.dir/src/dirlist.cpp.o
[ 92%] Building CXX object CMakeFiles/c10t.dir/src/altitude_graph.cpp.o
[ 95%] Building CXX object CMakeFiles/c10t.dir/src/warps.cpp.o
[ 97%] Building CXX object CMakeFiles/c10t.dir/src/text.cpp.o
[100%] Building CXX object CMakeFiles/c10t.dir/src/json.cpp.o
Linking CXX executable c10t
[100%] Built target c10t
minecraft@homeserver:~/c10t/build$ c10t -w /home/minecraft/minecraft-server/worlds/world/ -o /home/minecraft/minecraft-server/map/map.png -D

Generating PNG Map

--- SCANNING WORLD DIRECTORY ---
world: /home/minecraft/minecraft-server/worlds/world/
............................... 3100 parts
............................... 6200 parts
......................... 8707 parts
--- DEBUG WORLD INFO ---
mc::world
min_x: -80
max_x: 42
min_z: -18
max_z: 84
levels: 8707
radius: 1000
chunk pos: 0x0
--- ALLOCATING MEMORY ---
memory usage: 12 MB
memory limit: 1000 MB
--- RENDERING ---

And i never get past this point

Thanks in advance for any help