|
Boost Users : |
From: David Randolph Palmer (dpalmer_at_[hidden])
Date: 2008-01-12 19:45:17
I was able to build everything, but now get link errors, anyone know the
answer?
Dave
Build Log Rebuild started: Project: example, Configuration: Debug|Win32
Command Lines Creating temporary file "c:\Users\dad\Documents\Visual
Studio 2008\Projects\example\example\Debug\RSP00001227165100.rsp" with
contents
[
/Od /I "C:\Program Files\boost\boost_1_34_1" /D "WIN32" /D "_DEBUG" /D
"_UNICODE" /D "UNICODE" /FD /EHa /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3
/c /Zi /clr /TP /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll" /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll" /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.XML.dll"
".\example.cpp"
".\AssemblyInfo.cpp"
]
Creating command line "cl.exe @"c:\Users\dad\Documents\Visual Studio
2008\Projects\example\example\Debug\RSP00001227165100.rsp" /nologo
/errorReport:prompt"
Creating temporary file "c:\Users\dad\Documents\Visual Studio
2008\Projects\example\example\Debug\RSP00001327165100.rsp" with contents
[
/Od /I "C:\Program Files\boost\boost_1_34_1" /D "WIN32" /D "_DEBUG" /D
"_UNICODE" /D "UNICODE" /FD /EHa /MDd /Yc"stdafx.h" /Fp"Debug\example.pch"
/Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /Zi /clr /TP /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll" /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll" /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.XML.dll"
".\stdafx.cpp"
]
Creating command line "cl.exe @"c:\Users\dad\Documents\Visual Studio
2008\Projects\example\example\Debug\RSP00001327165100.rsp" /nologo
/errorReport:prompt"
Creating command line "rc.exe /d "_UNICODE" /d "UNICODE" /fo"Debug/app.res"
".\app.rc""
Creating temporary file "c:\Users\dad\Documents\Visual Studio
2008\Projects\example\example\Debug\RSP00001427165100.rsp" with contents
[
/OUT:"C:\Users\dad\Documents\Visual Studio
2008\Projects\example\Debug\example.exe" /INCREMENTAL /LIBPATH:"C:\Program
Files\boost\boost_1_34_1\lib" /LIBPATH:"C:\Program
Files\boost\boost_1_34_1\lib\\" /MANIFEST
/MANIFESTFILE:"Debug\example.exe.intermediate.manifest"
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /ASSEMBLYDEBUG
/PDB:"C:\Users\dad\Documents\Visual Studio
2008\Projects\example\Debug\example.pdb" /DYNAMICBASE /FIXED:No /NXCOMPAT
/MACHINE:X86 ".\Debug\AssemblyInfo.obj"
".\Debug\example.obj"
".\Debug\stdafx.obj"
".\Debug\app.res"
]
Creating command line "link.exe @"c:\Users\dad\Documents\Visual Studio
2008\Projects\example\example\Debug\RSP00001427165100.rsp" /NOLOGO
/ERRORREPORT:PROMPT"
Output Window Compiling...
stdafx.cpp
Compiling...
example.cpp
Unknown compiler version - please run the configure tests and report the
results
AssemblyInfo.cpp
Generating Code...
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
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_at_std@@QBEXXZ) referenced in function
"public: class std::vector,class std::allocator > > & __thiscall
std::vector,class std::allocator > >::operator=(class std::vector,class
std::allocator > > const &)"
(??4?$vector_at_U?$sub_match_at_PBG@boost@@V?$allocator_at_U?$sub_match_at_PBG@boost@@@std@@@std@@QAEAAV01_at_ABV01@@Z)
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_at_std@@QBEXXZ)
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_at_std@@QAE_at_XZ) referenced in function "public:
__thiscall std::_Vector_val,class std::allocator > >::~_Vector_val,class
std::allocator > >(void)"
(??1?$_Vector_val_at_U?$sub_match_at_PBG@boost@@V?$allocator_at_U?$sub_match_at_PBG@boost@@@std@@@std@@QAE_at_XZ)
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_at_std@@QAE_at_XZ)
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_at_std@@QAE_at_XZ) referenced in function "protected:
__thiscall std::_Vector_val,class std::allocator > >::_Vector_val,class
std::allocator > >(class std::allocator >)"
(??0?$_Vector_val_at_U?$sub_match_at_PBG@boost@@V?$allocator_at_U?$sub_match_at_PBG@boost@@@std@@@std@@IAE_at_V?$allocator_at_U?$sub_match_at_PBG@boost@@@1@@Z)
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_at_std@@QAE_at_XZ)
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_at_std@@QBEXAAV12@@Z) referenced in function
"public: void __thiscall std::vector,class std::allocator > >::swap(class
std::vector,class std::allocator > > &)"
(?swap@?$vector_at_U?$sub_match_at_PBG@boost@@V?$allocator_at_U?$sub_match_at_PBG@boost@@@std@@@std@@QAEXAAV12@@Z)
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_at_std@@QBEXAAV12@@Z)
libboost_regex-vc80-mt-gd-1_34_1.lib(usinstances.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: class
std::_String_iterator,class std::allocator > __thiscall
std::basic_string,class std::allocator >::insert(class
std::_String_iterator,class std::allocator >,unsigned short)"
(__imp_?insert@?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@QAE?AV?$_String_iterator_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@2_at_V32@G_at_Z)
referenced in function "public: struct boost::re_detail::re_syntax_base *
__thiscall boost::re_detail::basic_regex_creator > >::append_set(class
boost::re_detail::basic_char_set > > const &,struct boost::mpl::bool_<0> *)"
(?append_set@?$basic_regex_creator_at_GU?$regex_traits_at_GV?$w32_regex_traits_at_G@boost@@@boost@@@re_detail_at_boost@@QAEPAUre_syntax_base_at_23@ABV?$basic_char_set_at_GU?$regex_traits_at_GV?$w32_regex_traits_at_G@boost@@@boost@@@23_at_PAU?$bool_@$0A@@mpl_at_3@@Z)
libboost_regex-vc80-mt-gd-1_34_1.lib(instances.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: class
std::_String_iterator,class std::allocator > __thiscall
std::basic_string,class std::allocator >::insert(class
std::_String_iterator,class std::allocator >,char)"
(__imp_?insert@?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAE?AV?$_String_iterator_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@2_at_V32@D_at_Z)
referenced in function "public: struct boost::re_detail::re_syntax_base *
__thiscall boost::re_detail::basic_regex_creator > >::append_set(class
boost::re_detail::basic_char_set > > const &,struct boost::mpl::bool_<0> *)"
(?append_set@?$basic_regex_creator_at_DU?$regex_traits_at_DV?$w32_regex_traits_at_D@boost@@@boost@@@re_detail_at_boost@@QAEPAUre_syntax_base_at_23@ABV?$basic_char_set_at_DU?$regex_traits_at_DV?$w32_regex_traits_at_D@boost@@@boost@@@23_at_PAU?$bool_@$0A@@mpl_at_3@@Z)
C:\Users\dad\Documents\Visual Studio 2008\Projects\example\Debug\example.exe
: fatal error LNK1120: 6 unresolved externals
Results Build log was saved at "file://c:\Users\dad\Documents\Visual
Studio 2008\Projects\example\example\Debug\BuildLog.htm"
example - 11 error(s), 0 warning(s)
David Randolph Palmer wrote:
>
> Same issues, I can nspeak to it over the weekend if you would like.
>
>> I am having a problems with the boost libs I have build the names does
>> not
>> start with lib
>>
>> When I build boost using bjam "-sTOOLS=vc9" install
>> I got a bunch of .lib files in c:\boost\lib e.g.
>> boost_thread-vc90-mt-1_35.lib
>> but when I build my library against tghis if fails to link since it needs
>> a file libboost_thread-vc90-mt-1_35.lib
>>
>> What am I doing wrong?
>>
>> I am using boost from subversion, Windows Vista and Visual Studio 2008
>>
>> Thanks in advance
>> Lars
>>
>>
>>
>>
>>
>> ____________________________________________________________________________________
>> Be a better friend, newshound, and
>> know-it-all with Yahoo! Mobile. Try it now.
>> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
-- View this message in context: http://www.nabble.com/libXXX-tp14734770p14780885.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net