Code: Select all
cmake .
Code: Select all
[ 8%] Building CXX object AI/Skirmish/E323AI/CMakeFiles/E323AI.dir/AAStar.cpp.o
In file included from /home/yanom/spring_0.82.7.1/AI/Skirmish/E323AI/AAStar.cpp:1:0:
/home/yanom/spring_0.82.7.1/AI/Skirmish/E323AI/AAStar.h:70:43: error: ÔÇÿNULLÔÇÖ was not declared in this scope
/home/yanom/spring_0.82.7.1/AI/Skirmish/E323AI/AAStar.h: In constructor ÔÇÿAAStar::ANode::ANode()ÔÇÖ:
/home/yanom/spring_0.82.7.1/AI/Skirmish/E323AI/AAStar.h:19:15: error: ÔÇÿNULLÔÇÖ was not declared in this scope
/home/yanom/spring_0.82.7.1/AI/Skirmish/E323AI/AAStar.h: In constructor ÔÇÿAAStar::ANode::ANode(unsigned int, float)ÔÇÖ:
/home/yanom/spring_0.82.7.1/AI/Skirmish/E323AI/AAStar.h:29:15: error: ÔÇÿNULLÔÇÖ was not declared in this scope
make[2]: *** [AI/Skirmish/E323AI/CMakeFiles/E323AI.dir/AAStar.cpp.o] Error 1
make[1]: *** [AI/Skirmish/E323AI/CMakeFiles/E323AI.dir/all] Error 2
make: *** [all] Error 2
I'd heard that GCC4.6 can cause problems, is GCC4.6 to blame here?