
Hello, I have built Boost 1.34 using the msvc toolkit (vc80) and I am now trying to compile a small test app that uses the filesystem library. The test app source is attached to this mail. The compile itself works just fine and linking to the static version of the filesystem lib works fine as well: $ cl -nologo -EHsc -MDd fst.cpp libboost_filesystem-vc80-mt-gd.lib fst.cpp However, linking to the import library of the shared filesystem library produces an error: $ cl -nologo -EHsc -MDd fst.cpp boost_filesystem-vc80-mt-gd.lib fst.cpp fst.obj : error LNK2019: unresolved external symbol "unsigned int boost::filesystem::detail::not_found_error" (?not_found_error@detail@filesystem@boost@@3IA) referenced in function "private: unsigned int __thiscall boost::filesystem::basic_directory_iterator<class boost::filesystem::basic_path<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct boost::filesystem::path_traits> >::m_init(class boost::filesystem::basic_path<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct boost::filesystem::path_traits> const &)" (?m_init@?$basic_directory_iterator@V?$basic_path@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@Upath_traits@filesystem@boost@@@filesystem@boost@@@filesystem@boost@@AAEIABV?$basic_path@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@Upath_traits@filesystem@boost@@@23@@Z) fst.exe : fatal error LNK1120: 1 unresolved externals Is this a setup issue or a problem with filesystem? Thanks, Daniel Andersson