|Subject:||[Adonthell-devel] Adonthell compilation report|
|Date:||Thu, 03 Jul 2008 22:40:54 -0700|
|User-agent:||Thunderbird 126.96.36.199 (X11/20080522)|
Hi,After many nights, i have just succeed in making worldtest to work with graphics and without segfault. Here is my remarks. I've compiled adonthell cvs with gcc 4.3.1 and cmake on an x86_64 architecture.
1) There was only one problem in the map_view.h file. I think because of the new organization in the standard header files in gcc 4.3, I had this error :
.....adonthell/src/world/mapview.h: In member function ‘virtual bool world::mapview::update()’: .....adonthell/src/world/mapview.h:110: error: call of overloaded ‘abs(int)’ is ambiguous /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cmath:99: note: candidates are: double std::abs(double) /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cmath:103: note: float std::abs(float) /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cmath:107: note: long double std::abs(long double)
It seems that adding "#include <cstdlib>" in map_view.h resolves the problem.
2) I am a complete newbie in python and maybe i missed something but after the installation (make install), the python search path was not updated with the adonthell installation directory '/usr/local/lib/python2.5/site-packages'. I had to add it manually using the environment variable PYTHONPATH. Is there another way (automatic ?) to do this ?
Hope this help to improve adonthell. After that, i'll try to understand the code structure and try to modify some stuff.
|[Prev in Thread]||Current Thread||[Next in Thread]|