[gentoo linux]Compilation fails at HumanClientApp.cpp
Posted: Sun Sep 02, 2012 1:48 am
revision 5195
http://pastebin.com/t06J9VNi
dual core 2.66GHz
8GB ram
http://pastebin.com/t06J9VNi
snippet of interest
[ 71%] Building CXX object client/human/CMakeFiles/freeorion.dir/HumanClientApp.cpp.o
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp: In constructor 'HumanClientApp::HumanClientApp(Ogre::Root*, Ogre::RenderWindow*, Ogre::SceneManager*, Ogre::Camera*, Ogre::Viewport*, const boost::filesystem3::path&)':
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp:185:24: error: no matching function for call to 'GG::OgreGUI::OgreGUI(Ogre::RenderWindow*&, const boost::filesystem3::path&)'
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp:185:24: note: candidates are:
/usr/include/GG/Ogre/OgreGUI.h:132:14: note: GG::OgreGUI::OgreGUI(Ogre::RenderWindow*, const string&)
/usr/include/GG/Ogre/OgreGUI.h:132:14: note: no known conversion for argument 2 from 'const boost::filesystem3::path' to 'const string& {aka const std::basic_string<char>&}'
/usr/include/GG/Ogre/OgreGUI.h:123:19: note: GG::OgreGUI::OgreGUI(const GG::OgreGUI&)
/usr/include/GG/Ogre/OgreGUI.h:123:19: note: candidate expects 1 argument, 2 provided
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp:256:11: error: 'class HumanClientApp' has no member named 'SetMouseLRSwapped'
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp: At global scope:
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp:98:10: warning: '{anonymous}::temp_bool' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/system/error_code.hpp:214:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/system/error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/system/error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/asio/error.hpp:244:45: warning: 'boost::asio::error::system_category' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/asio/error.hpp:246:45: warning: 'boost::asio::error::netdb_category' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/asio/error.hpp:248:45: warning: 'boost::asio::error::addrinfo_category' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/asio/error.hpp:250:45: warning: 'boost::asio::error::misc_category' defined but not used [-Wunused-variable]
make[2]: *** [client/human/CMakeFiles/freeorion.dir/HumanClientApp.cpp.o] Error 1
make[1]: *** [client/human/CMakeFiles/freeorion.dir/all] Error 2
make: *** [all] Error 2
http://pastebin.com/t06J9VNi
dual core 2.66GHz
8GB ram
http://pastebin.com/t06J9VNi
snippet of interest
[ 71%] Building CXX object client/human/CMakeFiles/freeorion.dir/HumanClientApp.cpp.o
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp: In constructor 'HumanClientApp::HumanClientApp(Ogre::Root*, Ogre::RenderWindow*, Ogre::SceneManager*, Ogre::Camera*, Ogre::Viewport*, const boost::filesystem3::path&)':
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp:185:24: error: no matching function for call to 'GG::OgreGUI::OgreGUI(Ogre::RenderWindow*&, const boost::filesystem3::path&)'
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp:185:24: note: candidates are:
/usr/include/GG/Ogre/OgreGUI.h:132:14: note: GG::OgreGUI::OgreGUI(Ogre::RenderWindow*, const string&)
/usr/include/GG/Ogre/OgreGUI.h:132:14: note: no known conversion for argument 2 from 'const boost::filesystem3::path' to 'const string& {aka const std::basic_string<char>&}'
/usr/include/GG/Ogre/OgreGUI.h:123:19: note: GG::OgreGUI::OgreGUI(const GG::OgreGUI&)
/usr/include/GG/Ogre/OgreGUI.h:123:19: note: candidate expects 1 argument, 2 provided
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp:256:11: error: 'class HumanClientApp' has no member named 'SetMouseLRSwapped'
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp: At global scope:
/home/dart/Program_Files/FreeOrion/FreeOrion/client/human/HumanClientApp.cpp:98:10: warning: '{anonymous}::temp_bool' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/system/error_code.hpp:214:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/system/error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/system/error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/asio/error.hpp:244:45: warning: 'boost::asio::error::system_category' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/asio/error.hpp:246:45: warning: 'boost::asio::error::netdb_category' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/asio/error.hpp:248:45: warning: 'boost::asio::error::addrinfo_category' defined but not used [-Wunused-variable]
/usr/include/boost-1_49/boost/asio/error.hpp:250:45: warning: 'boost::asio::error::misc_category' defined but not used [-Wunused-variable]
make[2]: *** [client/human/CMakeFiles/freeorion.dir/HumanClientApp.cpp.o] Error 1
make[1]: *** [client/human/CMakeFiles/freeorion.dir/all] Error 2
make: *** [all] Error 2