=====================================
The Doryen library v1.4.1
=====================================
Library content :
Compiling To use the library, just include the right file : C++ : #include "libtcod.hpp" C : #include "libtcod.h" Py : import libtcodpy as libtcodFor C/C++, you have to put the libtcod include directory in your compiler include path. Linking With Visual Studio, add the libtcod-VS.lib in your linker inputs. With Mingw32, add -L./lib -ltcod-mingw to your linking command to link with lib/libtcod-mingw.a. With gcc on Linux, add -ltcod to your linking command to link with libtcod.so. With g++ on Linux, add -ltcod -ltcod++ to your linking command to link with libtcod++.so. With g++ on MacOSX, add -ltcod -ltcod++ to your linking command to link with libtcod++.a gcc -O3 sample.c -o samples_c -L. -ltcod -I include g++ -O3 sample.cpp -o samples_cpp -L. -ltcod -ltcod++ -I include Running On windows, libtcod-*.dll must be in the same directory as your game exe or py. On Linux, libtcod.so (and libtcod++.so if you're using C++) must be in your LD_LIBRARY_PATH : export LD_LIBRARY_PATH=. ./samples_c |
jice : the binary downloads contain samples that demonstrate the use of the library for every languages (C, C++ and python). You can get them from this page