Guest olelukoie Posted August 2, 2009 Share Posted August 2, 2009 Today I have updated from svn to 7064 and now get the following compiler error:[olelukoie@olelukoie-linux gcc]$ make==== Building network ====make[1]: `../../../binaries/system/libnetwork_dbg.a' не требует обновления.==== Building engine ====GameSetup.cpp../../../source/ps/GameSetup/GameSetup.cpp: In function ‘void InitVfs(const CmdLineArgs&)’:../../../source/ps/GameSetup/GameSetup.cpp:610: ошибка: no match for ‘operator/’ in ‘boost::filesystem::operator/(const boost::filesystem::basic_path<String, Traits>&, const typename String::value_type*) [with String = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Traits = boost::filesystem::path_traits](((const char*)"../data")) / path’make[1]: *** [obj/engine_Debug/GameSetup.o] Ошибка 1make: *** [engine] Ошибка 2[olelukoie@olelukoie-linux gcc]$ rpm -qa | grep boostboost-examples-1.38.0-2mdv2010.0boost-jam-3.1.17-1mdv2009.1lib64boost-devel-1.38.0-2mdv2010.0boost-debug-1.38.0-2mdv2010.0lib64boost-static-devel-1.38.0-2mdv2010.0lib64boost1.38.0-1.38.0-2mdv2010.0[olelukoie@olelukoie-linux gcc]$So you can see I have boost 1.38.0 installed. The word "Ошибка" means "error". GCC 4.4.1. Link to comment Share on other sites More sharing options...
janwas Posted August 2, 2009 Share Posted August 2, 2009 Sorry for the inconvenience. That code was only a stopgap until the proper directory logic was implemented and has now been replaced. However, it did compile on VC2005, not sure why. Link to comment Share on other sites More sharing options...
Guest olelukoie Posted August 2, 2009 Share Posted August 2, 2009 Mmm... in 7065 I see even more errors:[olelukoie@olelukoie-linux gcc]$ LC_ALL=C make==== Building network ====make[1]: `../../../binaries/system/libnetwork_dbg.a' is up to date.==== Building engine ====GameSetup.cpp../../../source/ps/GameSetup/GameSetup.cpp: In constructor 'Paths::Paths(const CStr8&, const char*)':../../../source/ps/GameSetup/GameSetup.cpp:587: error: no matching function for call to 'Paths::XDG_Path(const char [14], boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits>)'../../../source/ps/GameSetup/GameSetup.cpp:650: note: candidates are: static boost::filesystem::path Paths::XDG_Path(const char*, const boost::filesystem::path&, const boost::filesystem::path&)../../../source/ps/GameSetup/GameSetup.cpp:588: error: no matching function for call to 'Paths::XDG_Path(const char [16], boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits>)'../../../source/ps/GameSetup/GameSetup.cpp:650: note: candidates are: static boost::filesystem::path Paths::XDG_Path(const char*, const boost::filesystem::path&, const boost::filesystem::path&)../../../source/ps/GameSetup/GameSetup.cpp:589: error: no matching function for call to 'Paths::XDG_Path(const char [15], boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits>)'../../../source/ps/GameSetup/GameSetup.cpp:650: note: candidates are: static boost::filesystem::path Paths::XDG_Path(const char*, const boost::filesystem::path&, const boost::filesystem::path&)../../../source/ps/GameSetup/GameSetup.cpp: In function 'void InitVfs(const CmdLineArgs&)':../../../source/ps/GameSetup/GameSetup.cpp:704: error: no match for 'operator/' in 'modLoosePath / mods.std::vector<_Tp, _Alloc>::operator[] [with _Tp = CStr8, _Alloc = std::allocator<CStr8>](i)'../../../source/ps/GameSetup/GameSetup.cpp:705: error: no match for 'operator/' in 'modArchivePath / mods.std::vector<_Tp, _Alloc>::operator[] [with _Tp = CStr8, _Alloc = std::allocator<CStr8>](i)'make[1]: *** [obj/engine_Debug/GameSetup.o] Error 1make: *** [engine] Error 2[olelukoie@olelukoie-linux gcc]$ Link to comment Share on other sites More sharing options...
janwas Posted August 2, 2009 Share Posted August 2, 2009 Fixed Link to comment Share on other sites More sharing options...
Guest olelukoie Posted August 2, 2009 Share Posted August 2, 2009 Yes, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now