2
#include <boost/log/trivial.hpp>
int main(int, char*[])
{
    BOOST_LOG_TRIVIAL(trace) << " a trace message ";
}

Unresolved external symbols to boost::system, filesystem3, coecvt.

Oddly the examples\basic_usage and multiple_threads link and work fine.

John
  • 541
  • 4
  • 13

1 Answers1

1

Just add

#include <boost/log/utility/init/to_file.hpp>
Robert Harvey
  • 178,213
  • 47
  • 333
  • 501
John
  • 541
  • 4
  • 13