
__thiscall boost::filesystem::path::root_directory(void)const " (?root_directory@path@filesyst em@boost@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
__thiscall boost::filesystem::path::root_name(void)const " (?root_name@path@filesystem@boost@@ QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
const *,struct std::bidirectional_iterato r_tag,int> __thiscall boost::filesystem::path::begin(void)const " (?begin@path@filesystem@boost@@QBE?AU?$iterator_adaptor@Upath_itr_imp@detail@filesystem@boost@@Udefault_iterator_policies@4@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@st d@@ABV67@PBV67@Ubidirectional_iterator_tag@7@H@3@XZ)
__thiscall boost::filesystem::path::leaf(void)const " (?leaf@path@filesystem@boost@@QBE?AV?$ba sic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
First of all, apologies if this information can be found somewhere else. I couldn't find it anywhere on the internet. Now to the real problem. I'm simply trying to utilize the boost libraries (filesystem in particular) in my program. I'm just trying to even run the example programs. I'm using Visual C++ 6.0 sp5. I figured out how to compile it by including the directory where boost is. So the example program compiles perfectly fine. Then the shit hits the fan, every reference to any boost object gets an unresolved external error. I have no clue why this is happening, and the most frustrating part is I cannot find information anywhere on the internet on how to make it work. I find lots of references telling me how great it is, but I cannot use it! Dave My compile output from visual c++ 6.0: -------------------------------------------------------------------------------- Compiling... path_test.cpp Linking... LINK : warning LNK4075: ignoring /INCREMENTAL due to /DEBUGTYPE specification path_test.obj : error LNK2001: unresolved external symbol "public: __thiscall boost::filesystem::path::path(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0path@filesystem@boost@@QAE@ABV?$basic_s tring@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) path_test.obj : error LNK2001: unresolved external symbol "public: __thiscall boost::filesystem::path::path(char const *,enum boost::filesystem::path_format)" (??0path@filesystem@boost@@QAE@PBDW4path_format@12@@Z) path_test.obj : error LNK2001: unresolved external symbol "public: bool __thiscall boost::filesystem::path::is_complete(void)const " (?is_complete@path@filesystem@boost@@QBE_NXZ) path_test.obj : error LNK2001: unresolved external symbol "public: bool __thiscall boost::filesystem::path::has_branch_path(void)const " (?has_branch_path@path@filesystem@boost@@QBE_NXZ) path_test.obj : error LNK2001: unresolved external symbol "public: bool __thiscall boost::filesystem::path::has_relative_path(void)const " (?has_relative_path@path@filesystem@boost@@QBE_NXZ) path_test.obj : error LNK2001: unresolved external symbol "public: bool __thiscall boost::filesystem::path::has_root_directory(void)const " (?has_root_directory@path@filesystem@boost@@QBE_NXZ) path_test.obj : error LNK2001: unresolved external symbol "public: bool __thiscall boost::filesystem::path::has_root_name(void)const " (?has_root_name@path@filesystem@boost@@QBE_NXZ) path_test.obj : error LNK2001: unresolved external symbol "public: bool __thiscall boost::filesystem::path::has_root_path(void)const " (?has_root_path@path@filesystem@boost@@QBE_NXZ) path_test.obj : error LNK2001: unresolved external symbol "public: class boost::filesystem::path __thiscall boost::filesystem::path::root_path(void)const " (?root_path@path@filesystem@boost@@QBE?AV123@XZ) path_test.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> path_test.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> path_test.obj : error LNK2001: unresolved external symbol "public: class boost::filesystem::path __thiscall boost::filesystem::path::relative_path(void)const " (?relative_path@path@filesystem@boost@@QBE?AV123@XZ) path_test.obj : error LNK2001: unresolved external symbol "public: struct boost::iterator_adaptor<struct boost::filesystem::detail::path_itr_imp,struct boost::default_iterator_policies,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> path_test.obj : error LNK2001: unresolved external symbol "bool __cdecl boost::filesystem::boost_directory_name(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?boost_directory_name@filesystem@boost @@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) path_test.obj : error LNK2001: unresolved external symbol "bool __cdecl boost::filesystem::boost_file_name(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?boost_file_name@filesystem@boost@@YA_NABV? $basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) path_test.obj : error LNK2001: unresolved external symbol "bool __cdecl boost::filesystem::posix_name(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?posix_name@filesystem@boost@@YA_NABV?$basic_str ing@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) path_test.obj : error LNK2001: unresolved external symbol "public: class boost::filesystem::path __thiscall boost::filesystem::path::branch_path(void)const " (?branch_path@path@filesystem@boost@@QBE?AV123@XZ) path_test.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> path_test.obj : error LNK2001: unresolved external symbol "class boost::filesystem::path const & __cdecl boost::filesystem::check_posix_leaf(class boost::filesystem::path const &)" (?check_posix_leaf@filesystem@boost@@YAABVpath@12@ABV312@@Z) path_test.obj : error LNK2001: unresolved external symbol "bool __cdecl boost::filesystem::exists(class boost::filesystem::path const &)" (?exists@filesystem@boost@@YA_NABVpath@12@@Z) path_test.obj : error LNK2001: unresolved external symbol "public: __thiscall boost::filesystem::path::path(char const *)" (??0path@filesystem@boost@@QAE@PBD@Z) path_test.obj : error LNK2001: unresolved external symbol "public: class boost::filesystem::path & __thiscall boost::filesystem::path::operator/=(class boost::filesystem::path const &)" (??_0path@filesystem@boost@@QAEAAV012@ABV012@@Z) path_test.obj : error LNK2001: unresolved external symbol "public: void __thiscall boost::filesystem::detail::path_itr_imp::operator++(void)" (??Epath_itr_imp@detail@filesystem@boost@@QAEXXZ) path_test.obj : error LNK2001: unresolved external symbol "public: void __thiscall boost::filesystem::detail::path_itr_imp::operator--(void)" (??Fpath_itr_imp@detail@filesystem@boost@@QAEXXZ) Debug/path_test.exe : fatal error LNK1120: 24 unresolved externals Error executing link.exe. path_test.exe - 25 error(s), 1 warning(s) _ ._ _ , _ ._ (_ ' ( ` )_ .__) ( ( ( ) `) ) _) (__ (_ (_ . _) _) ,__) `~~`\ ' . /`~~` ,::: ; ; :::, ':::::::::::::::' _____________/_ __ \____________ David Kowis Computer Programmer ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/