user1989504
user1989504

Reputation: 143

Boost Linker Error: unresolved external symbol

I built boost latest version (64 bit, msvc-10.0). When using the libraries with my project getting following linker error:

error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?

Things checked: 1. Libraries are present in the path specified 2. Built 64-bit boost library 3. Using latest boost headers, etc..

Any suggestions?

Upvotes: 0

Views: 1183

Answers (1)

jfly
jfly

Reputation: 7990

I've experienced the same problem when using some header-only boost library. The problem is some libraries are themselves header-only, but they depend on boost.system which need be linked against your program.

Upvotes: 0

Related Questions