cpprestsdk
cpprestsdk copied to clipboard
When building and linking as static library in another project.
../../../libcpprest.a(web_utilities.cpp.o): In function >
_GLOBAL__sub_I__ZNK3web7details19zero_memory_deleterclEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE': web_utilities.cpp:(.text.startup+0x10): undefined reference toboost::system::generic_category()' web_utilities.cpp:(.text.startup+0x15): undefined reference toboost::system::generic_category()' web_utilities.cpp:(.text.startup+0x1a): undefined reference toboost::system::system_category()' web_utilities.cpp:(.text.startup+0x43): undefined reference to `boost::system::system_category()'
I guess boost not statically compiling when building the library, or main project does'nt contains links to boost's static libraries? How to solve this problem? All compiling on linux Ubuntu 32bit.