Sep 30 2011

Boost log linking problem with parse_formatter

Classified in: C/C++paomic at 10:27 am

While compiling boost log you may get a linker error like this:

 

undefined reference to `boost::log2_mt_nt5::formatter_types<char>::formatter_type boost::log2_mt_nt5::parse_formatter<char>(char const*, char const*)’

 

This is due to a missing library, specifically boost_log_setup, which you should add to the library list.

 

Happy coding!

Tags: ,