John Maddock wrote:
David R. Palmer wrote:
  
But the compiler is looking for;

libboost_regex-vc80-mt-gd-1_34_1.lib(instances.obj) : error LNK2019:
unresolved external symbol

Shouldn't it be looking for the vc90 version?
    

Weeee...ll VC9 didn't exist when 1.34 was released so it knows nothing about 
it: if you update boost/config/auto_link.hpp with the one from SVN 
(http://svn.boost.org/trac/boost/browser/trunk/boost/config/auto_link.hpp) 
that should fix that problem.

HTH, John. 

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
  
Okay, I downloaded the auto_link.hpp and placed it in the C:\Program Files\boost\boost_1_34_1\boost\config directory.

It is still looking for the older version of the libraries. The libraries have been built and exist, so that isn't the problem.

Any help would be appreciated. Thanks.

Dave

1>------ Rebuild All started: Project: example, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'example', configuration 'Debug|Win32'
1>Compiling...
1>stdafx.cpp
1>Compiling...
1>example.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>AssemblyInfo.cpp
1>Generating Code...
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking...
1>Searching libraries
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRTD.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCMRTD.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\MSCOREE.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprtd.lib:
1>    Searching C:\Program Files\boost\boost_1_34_1\lib\libboost_regex-vc80-mt-gd-1_34_1.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRTD.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCMRTD.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\MSCOREE.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprtd.lib:
1>    Searching C:\Program Files\boost\boost_1_34_1\lib\libboost_regex-vc80-mt-gd-1_34_1.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\kernel32.lib:
1>Finished searching libraries
1>Searching libraries
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRTD.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCMRTD.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\MSCOREE.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprtd.lib:
1>    Searching C:\Program Files\boost\boost_1_34_1\lib\libboost_regex-vc80-mt-gd-1_34_1.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRTD.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCMRTD.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\MSCOREE.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprtd.lib:
1>Finished searching libraries
1>Searching libraries
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRTD.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCMRTD.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\MSCOREE.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprtd.lib:
1>    Searching C:\Program Files\boost\boost_1_34_1\lib\libboost_regex-vc80-mt-gd-1_34_1.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\user32.lib:
1>Finished searching libraries
1>Searching libraries
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRTD.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCMRTD.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\MSCOREE.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprtd.lib:
1>    Searching C:\Program Files\boost\boost_1_34_1\lib\libboost_regex-vc80-mt-gd-1_34_1.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRTD.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCMRTD.lib:
1>Finished searching libraries
1>Searching libraries
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCRTD.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\MSVCMRTD.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\MSCOREE.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\msvcprtd.lib:
1>    Searching C:\Program Files\boost\boost_1_34_1\lib\libboost_regex-vc80-mt-gd-1_34_1.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\user32.lib:
1>Finished searching libraries
1>libboost_regex-vc80-mt-gd-1_34_1.lib(usinstances.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ) referenced in function "public: class std::vector<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > > & __thiscall std::vector<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > >::operator=(class std::vector<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > > const &)" (??4?$vector@U?$sub_match@PBG@boost@@V?$allocator@U?$sub_match@PBG@boost@@@std@@@std@@QAEAAV01@ABV01@@Z)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(instances.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(usinstances.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) referenced in function "public: __thiscall std::_Vector_val<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > >::~_Vector_val<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > >(void)" (??1?$_Vector_val@U?$sub_match@PBG@boost@@V?$allocator@U?$sub_match@PBG@boost@@@std@@@std@@QAE@XZ)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(instances.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(usinstances.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) referenced in function "protected: __thiscall std::_Vector_val<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > >::_Vector_val<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > >(class std::allocator<struct boost::sub_match<unsigned short const *> >)" (??0?$_Vector_val@U?$sub_match@PBG@boost@@V?$allocator@U?$sub_match@PBG@boost@@@std@@@std@@IAE@V?$allocator@U?$sub_match@PBG@boost@@@1@@Z)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(instances.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(usinstances.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Swap_all(class std::_Container_base &)const " (__imp_?_Swap_all@_Container_base@std@@QBEXAAV12@@Z) referenced in function "public: void __thiscall std::vector<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > >::swap(class std::vector<struct boost::sub_match<unsigned short const *>,class std::allocator<struct boost::sub_match<unsigned short const *> > > &)" (?swap@?$vector@U?$sub_match@PBG@boost@@V?$allocator@U?$sub_match@PBG@boost@@@std@@@std@@QAEXAAV12@@Z)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(instances.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Swap_all(class std::_Container_base &)const " (__imp_?_Swap_all@_Container_base@std@@QBEXAAV12@@Z)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(usinstances.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::_String_iterator<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __thiscall std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >::insert(class std::_String_iterator<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >,unsigned short)" (__imp_?insert@?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE?AV?$_String_iterator@GU?$char_traits@G@std@@V?$allocator@G@2@@2@V32@G@Z) referenced in function "public: struct boost::re_detail::re_syntax_base * __thiscall boost::re_detail::basic_regex_creator<unsigned short,struct boost::regex_traits<unsigned short,class boost::w32_regex_traits<unsigned short> > >::append_set(class boost::re_detail::basic_char_set<unsigned short,struct boost::regex_traits<unsigned short,class boost::w32_regex_traits<unsigned short> > > const &,struct boost::mpl::bool_<0> *)" (?append_set@?$basic_regex_creator@GU?$regex_traits@GV?$w32_regex_traits@G@boost@@@boost@@@re_detail@boost@@QAEPAUre_syntax_base@23@ABV?$basic_char_set@GU?$regex_traits@GV?$w32_regex_traits@G@boost@@@boost@@@23@PAU?$bool_@$0A@@mpl@3@@Z)
1>libboost_regex-vc80-mt-gd-1_34_1.lib(instances.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::_String_iterator<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::insert(class std::_String_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,char)" (__imp_?insert@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AV?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@V32@D@Z) referenced in function "public: struct boost::re_detail::re_syntax_base * __thiscall boost::re_detail::basic_regex_creator<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::append_set(class boost::re_detail::basic_char_set<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,struct boost::mpl::bool_<0> *)" (?append_set@?$basic_regex_creator@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAEPAUre_syntax_base@23@ABV?$basic_char_set@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@23@PAU?$bool_@$0A@@mpl@3@@Z)
1>C:\Users\dad\Documents\Visual Studio 2008\Projects\example\Debug\example.exe : fatal error LNK1120: 6 unresolved externals
1>Build log was saved at "file://c:\Users\dad\Documents\Visual Studio 2008\Projects\example\example\Debug\BuildLog.htm"
1>example - 11 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========