c++ - Boost 1.44 asio linker problems with visual studio -


i'm trying build project needs boost 1.44.0 in visual studio 2005 (i know it's old have use these versions). have build bjam mention here following line in vs 2005 command prompt:

bjam --toolset=msvc-8.0 --build-type=complete link=static threading=multi architecture=x86 address-model=64 --with-system stage 

i set library paths to:

...\boost_1_44_0\stage\lib 

and include:

...\boost_1_44_0 

but when try build whole solution, linking process throws following errors:

error   1   error lnk2019: unresolved external symbol __imp__getaddrinfo@16 referenced in function "class boost::system::error_code __cdecl boost::asio::detail::socket_ops::getaddrinfo(char const *,char const *,struct addrinfo const &,struct addrinfo * *,class boost::system::error_code &)" (?getaddrinfo@socket_ops@detail@asio@boost@@ya?averror_code@system@4@pbd0abuaddrinfo@@papau7@aav564@@z)  tasiosocket.obj  

and

error   2   error lnk2019: unresolved external symbol __imp__freeaddrinfo@4 referenced in function "void __cdecl boost::asio::detail::socket_ops::freeaddrinfo(struct addrinfo *)" (?freeaddrinfo@socket_ops@detail@asio@boost@@yaxpauaddrinfo@@@z) tasiosocket.obj  

i think has missing library generated dunno (maybe missing command input when generated boost libs?). know asio depends on system, libboost_system generated. try search in libs of /stage/lib function getaddrinfo unable found.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -