undefined symbols
2008-05-01 00:27:10 GMT
------ Build started: Project: boost_memory_mapped_io, Configuration: Release x64 ------
Linking...
main.obj : error LNK2001: unresolved external symbol "class boost::filesystem::file_status __cdecl boost::filesystem::detail::status_api(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class boost::system::error_code &)" (?status_api <at> detail <at> filesystem <at> boost <at> <at> YA?AVfile_status <at> 23 <at> AEBV?$basic_string <at> DU?$char_traits <at> D <at> std <at> <at> V?$allocator <at> D <at> 2 <at> <at> std <at> <at> AEAVerror_code <at> system <at> 3 <at> <at> Z)
main.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::get_system_category(void)" (?get_system_category <at> system <at> boost <at> <at> YAAEBVerror_category <at> 12 <at> XZ)
main.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::get_posix_category(void)" (?get_posix_category <at> system <at> boost <at> <at> YAAEBVerror_category <at> 12 <at> XZ)
main.obj : error LNK2001: unresolved external symbol "struct std::pair<class boost::system::error_code,unsigned __int64> __cdecl boost::filesystem::detail::file_size_api(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?file_size_api <at> detail <at> filesystem <at> boost <at> <at> YA?AU?$pair <at> Verror_code <at> system <at> boost <at> <at> _K <at> std <at> <at> AEBV?$basic_string <at> DU?$char_traits <at> D <at> std <at> <at> V?$allocator <at> D <at> 2 <at> <at> 5 <at> <at> Z)
C:\DocumentsAndSettings\pfoelsch\MyDocuments\boost_memory_mapped_io\x64\Release\boost_memory_mapped_io.exe : fatal error LNK1120: 4 unresolved externals
Build log was saved at "file://c:\DocumentsAndSettings\pfoelsch\MyDocuments\boost_memory_mapped_io\boost_memory_mapped_io\x64\Release\BuildLog.htm"
boost_memory_mapped_io - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
see attached main.cpp
I link with
boost_system-vc80-mt-1_35.lib
boost_filesystem-vc80-mt-1_35.lib
and other boost libraries which are referenced directly.
I work on 64bit XP compiling for 64bit.
_______________________________________________ Boost-users mailing list Boost-users <at> lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
RSS Feed