Hi all, Bulls eye - Did first :-
~/games/adonthell/adonthell-build$$ cmake -DCMAKE_INSTALL_PREFIX=/home/shirish/games/adonthell/ --with-py-libs="-L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7" ../adonthell (Went off smoothly) Then did ~/games/adonthell/adonthell-build$ make clean (just out of habit) ~/games/adonthell/adonthell-build$ and then :- ~/games/adonthell/adonthell-build$make Scanning dependencies of target headersymlink [ 0%] Built target headersymlink Scanning dependencies of target adonthell_base [ 1%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/base.cc.o [ 2%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/callback.cc.o [ 2%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/configuration.cc.o [ 3%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/configio.cc.o [ 4%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/diskio.cc.o ............. ............. all the way upto :- [ 43%] Building CXX object src/rpg/CMakeFiles/adonthell_rpg.dir/faction.cc.o In file included from /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:27:0: /home/shirish/games/adonthell/adonthell/src/rpg/faction.h:151:16: error: ‘vector’ in namespace ‘std’ does not name a type /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:32:1: error: ‘vector’ in namespace ‘std’ does not name a type /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc: In constructor ‘rpg::faction::faction(const string&)’: /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:40:5: error: ‘Factions’ was not declared in this scope /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc: In static member function ‘static rpg::faction* rpg::faction::get_faction(const string&)’: /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:80:5: error: ‘vector’ is not a member of ‘std’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:80:25: error: expected primary-expression before ‘*’ token /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:80:26: error: expected primary-expression before ‘>’ token /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:80:27: error: ‘::iterator’ has not been declared /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:80:27: note: suggested alternatives: In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0, from /usr/include/c++/4.7/bits/char_traits.h:41, from /usr/include/c++/4.7/string:42, from /home/shirish/games/adonthell/adonthell-build/adonthell/base/flat.h:32, from /home/shirish/games/adonthell/adonthell-build/adonthell/python/python.h:41, from /home/shirish/games/adonthell/adonthell-build/adonthell/python/script.h:36, from /home/shirish/games/adonthell/adonthell/src/rpg/faction.h:30, from /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:27: /usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’ /usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:80:38: error: expected ‘;’ before ‘i’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:82:10: error: ‘i’ was not declared in this scope /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:82:14: error: ‘Factions’ was not declared in this scope /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc: In static member function ‘static bool rpg::faction::load()’: /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:131:13: error: ‘Factions’ was not declared in this scope /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc: In static member function ‘static bool rpg::faction::save(const string&)’: /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:149:5: error: ‘vector’ is not a member of ‘std’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:149:24: error: expected primary-expression before ‘*’ token /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:149:25: error: expected primary-expression before ‘>’ token /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:149:26: error: ‘::iterator’ has not been declared /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:149:26: note: suggested alternatives: In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0, from /usr/include/c++/4.7/bits/char_traits.h:41, from /usr/include/c++/4.7/string:42, from /home/shirish/games/adonthell/adonthell-build/adonthell/base/flat.h:32, from /home/shirish/games/adonthell/adonthell-build/adonthell/python/python.h:41, from /home/shirish/games/adonthell/adonthell-build/adonthell/python/script.h:36, from /home/shirish/games/adonthell/adonthell/src/rpg/faction.h:30, from /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:27: /usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’ /usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:149:37: error: expected ‘;’ before ‘i’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:150:10: error: ‘i’ was not declared in this scope /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:150:14: error: ‘Factions’ was not declared in this scope /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc: In static member function ‘static void rpg::faction::cleanup()’: /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:167:10: error: ‘vector’ is not a member of ‘std’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:167:30: error: expected primary-expression before ‘*’ token /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:167:31: error: expected primary-expression before ‘>’ token /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:167:32: error: ‘::iterator’ has not been declared /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:167:32: note: suggested alternatives: In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0, from /usr/include/c++/4.7/bits/char_traits.h:41, from /usr/include/c++/4.7/string:42, from /home/shirish/games/adonthell/adonthell-build/adonthell/base/flat.h:32, from /home/shirish/games/adonthell/adonthell-build/adonthell/python/python.h:41, from /home/shirish/games/adonthell/adonthell-build/adonthell/python/script.h:36, from /home/shirish/games/adonthell/adonthell/src/rpg/faction.h:30, from /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:27: /usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’ /usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:167:43: error: expected ‘;’ before ‘i’ /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:167:65: error: ‘i’ was not declared in this scope /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:167:70: error: ‘Factions’ was not declared in this scope /home/shirish/games/adonthell/adonthell/src/rpg/faction.cc:171:5: error: ‘Factions’ was not declared in this scope make[2]: *** [src/rpg/CMakeFiles/adonthell_rpg.dir/faction.cc.o] Error 1 make[1]: *** [src/rpg/CMakeFiles/adonthell_rpg.dir/all] Error 2 make: *** [all] Error 2 -- Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17 _______________________________________________ Adonthell-general mailing list Adonthell-general@nongnu.org https://lists.nongnu.org/mailman/listinfo/adonthell-general