Jump to content

Another problem with boost


Guest olelukoie
 Share

Recommended Posts

Guest olelukoie

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] Ошибка 1
make: *** [engine] Ошибка 2
[olelukoie@olelukoie-linux gcc]$ rpm -qa | grep boost
boost-examples-1.38.0-2mdv2010.0
boost-jam-3.1.17-1mdv2009.1
lib64boost-devel-1.38.0-2mdv2010.0
boost-debug-1.38.0-2mdv2010.0
lib64boost-static-devel-1.38.0-2mdv2010.0
lib64boost1.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

Guest olelukoie

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 1
make: *** [engine] Error 2
[olelukoie@olelukoie-linux gcc]$

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...