I wrote c10t entirely because i liked the tool Cartograph by ZomBuster, but I wasn't too fond of a couple of aspects about how rendering was performed.
I would not have done this were it not for the excellent inspiration by ZomBuster and Firemark (the linux port of cartograph). Thank you for the inspiration.
Install dependencies:
$ sudo apt-get install build-essential cmake libpng-dev zlib1g-dev libboost-all-dev libfreetype6-dev
If libboost >= 1.46 is not available by using your package manager, you need to install it from source. To do so download and untar it from www.boost.org and perform the following operations as root:
$ ./bootstrap --prefix=/usr
$ ./b2 install
If you have troubles installing boost, consult the Getting Started Guide on the website of the boost library.
Clone repository
$ git clone git://github.com/udoprog/c10t.git
$ cd c10t
You need to clone the repository in order to successfully execute the commands in step three. You can get support for git on the following web page: http://schacon.github.com/git/gittutorial.html Just scroll to the section "Using git for collaboration".
Update submodules which contains some required dependencies (./libs):
$ git submodule init
$ git submodule update
Run:
$ mkdir build
$ cd build
$ cmake ..
$ make c10t
CMake should generate a file called src/config.h from the input file src/config.h.cmake
There are several targets you can make. c10t, c10t-lib, c10t-debug, and c10t-test.
If you wish to build all of these simply run make
which defaults to target all
.
If you wish to build any individual one run make <target>
e.g. make c10t-test
.
c10t
should be in the current directory.There are a couple of available targets
c10t --version
information when posting issues, that way it can be determined weither the issue already has been resolved or not, if this information is missing, the issue probably cannot be resolved.UniversE - for epic center calculation, and saving the api!
ZomBuster and Firemark - for their original work
Guardian9979 - for his continual nagging for improvements
acleone - for his work with cmake [85e980a]
j005u - for explaining how cocoa works
jnnnnn - for limit options which are helpful when debugging (and quite cool)
mudaltsov - for mapping out the Mac OS X building process and creating a splendid package!
frozencow - for fixing boost_thread configuration for cmake
reportingjsr - for pointing out build issues
Dim-Dul - for providing a nice map to render
vostok4 - for implementing google API support
rmmh - for figuring out png compression and encouraging people to build properly.
Athemis - for fixing beta 1.2 compatibility.
sn4kebite - for implementing Wool colors.
ekryyn - for implementing the altitude graph!