google-code-export / ghostplusplus

Automatically exported from code.google.com/p/ghostplusplus
Other
3 stars 0 forks source link

Can't compile on Linux #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On versions after r148, the following error appears:

bnet.cpp: In member function 'void
CBNET::ProcessChatEvent(CIncomingChatEvent*)':
bnet.cpp:1529: error: 'class
boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std::basi
c_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >' has no member named 'filename'
bnet.cpp:1547: error: 'class
boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std::basi
c_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >' has no member named 'filename'
bnet.cpp:1549: error: 'class
boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std::basi
c_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >' has no member named 'filename'
bnet.cpp:1557: error: 'struct boost::filesystem::path' has no member named
'filename'
bnet.cpp:1750: error: 'class
boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std::basi
c_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >' has no member named 'filename'
bnet.cpp:1768: error: 'class
boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std::basi
c_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >' has no member named 'filename'
bnet.cpp:1770: error: 'class
boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std::basi
c_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >' has no member named 'filename'
bnet.cpp:1778: error: 'struct boost::filesystem::path' has no member named
'filename'

Original issue reported on code.google.com by cryptwiz...@gmail.com on 3 Jun 2009 at 7:55

GoogleCodeExporter commented 9 years ago
missing boost files, or need to build your own boost since most linux distro 
arent on
the latest

Original comment by Absolute...@gmail.com on 12 Jun 2009 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by hogantp on 17 Jul 2009 at 6:42

GoogleCodeExporter commented 9 years ago
мне помог совет с форума 
http://www.codelain.com/forum/index.php?topic=21876.0

find . -name "*.cpp" -print | xargs sed -i 's/i->path( ).filename( ).string( 
);/i->filename( );/g'
find . -name "*.cpp" -print | xargs sed -i 's/LastMatch.filename( ).string( 
);/LastMatch.filename( );/g'
find . -name "*.cpp" -print | xargs sed -i 's/i->path( ).stem( ).string( 
);/i->path( ).stem( );/g'

Original comment by v1rus...@mail.ru on 15 Apr 2014 at 3:37