From: Arnt K. <ar...@c2...> - 2011-04-26 23:48:25
|
..in terragear-cs/src/Lib/Geometry/contour_tree.hxx, c++-4.6 wants NULL to be 0 (zero): g++ -DHAVE_CONFIG_H -I. -I../../../src/Include -I../../../src -I../../../src/Lib -I../../../src/BuildTiles -I/home/arnt/FG-git/install/simgear/include -g -O2 -MT contour_tree.o -MD -MP -MF .deps/contour_tree.Tpo -c -o contour_tree.o contour_tree.cxx In file included from contour_tree.cxx:25:0: contour_tree.hxx: In member function ‘void TGContourNode::remove_kid(int)’: contour_tree.hxx:73:12: error: ‘NULL’ was not declared in this scope ..also setting ADDSGCS=0 in Geoff's maketg-1.2.7, means it finds SG-git at home in: maketg: SG: /home/arnt/FG-git/install/simgear maketg: FG: /home/arnt/FG-git/install/fgfs ..next run dies with: ./maketg PLIBPATH=/usr BOOSTPATH=/usr OSGPATH=/usr TGUPD NOPAUSE <snip> make[3]: Leaving directory `/home/arnt/FG-git/terragear-cs/src/Lib/TriangleJRS' Making all in vpf make[3]: Entering directory `/home/arnt/FG-git/terragear-cs/src/Lib/vpf' g++ -DHAVE_CONFIG_H -I. -I../../../src/Include -I/home/arnt/FG-git/install/simgear/include -g -O2 -MT vpfbase.o -MD -MP -MF .deps/vpfbase.Tpo -c -o vpfbase.o vpfbase.cxx mv -f .deps/vpfbase.Tpo .deps/vpfbase.Po g++ -DHAVE_CONFIG_H -I. -I../../../src/Include -I/home/arnt/FG-git/install/simgear/include -g -O2 -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.cxx mv -f .deps/value.Tpo .deps/value.Po g++ -DHAVE_CONFIG_H -I. -I../../../src/Include -I/home/arnt/FG-git/install/simgear/include -g -O2 -MT table.o -MD -MP -MF .deps/table.Tpo -c -o table.o table.cxx mv -f .deps/table.Tpo .deps/table.Po g++ -DHAVE_CONFIG_H -I. -I../../../src/Include -I/home/arnt/FG-git/install/simgear/include -g -O2 -MT tablemgr.o -MD -MP -MF .deps/tablemgr.Tpo -c -o tablemgr.o tablemgr.cxx mv -f .deps/tablemgr.Tpo .deps/tablemgr.Po g++ -DHAVE_CONFIG_H -I. -I../../../src/Include -I/home/arnt/FG-git/install/simgear/include -g -O2 -MT component.o -MD -MP -MF .deps/component.Tpo -c -o component.o component.cxx In file included from component.cxx:4:0: component.hxx:191:28: error: reference ‘_table_manager’ cannot be declared ‘mutable’ [-fpermissive] make[3]: *** [component.o] Error 1 make[3]: Leaving directory `/home/arnt/FG-git/terragear-cs/src/Lib/vpf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/arnt/FG-git/terragear-cs/src/Lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/arnt/FG-git/terragear-cs/src' make: *** [all-recursive] Error 1 arnt@celsius:~/FG-git$ -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. |