|
Boost Users : |
Subject: [Boost-users] Query on Boost.Log
From: Leo Carreon (lcarreon_at_[hidden])
Date: 2013-07-11 18:42:00
Hi everyone,
Iâm trying to learn how to use Boost.Log from Boost 1.54.0 on Fedora 18.
When I attempt to call boost::log::init_from_stream() even with BOOST_LOG_DYN_LINK defined, I get the error messageâundefined reference to `void boost::log::v2_mt_posix::init_from_stream<char>(std::basic_istream<char, std::char_traits<char> >&)'â for the line where I called the function. Note that I have included the header file âboost/log/utility/setup/from_stream.hppâ and added âlboost_log to my link command line.
Am I missing something. I have noticed that boost::log::init_from_stream() is a template. Is an instance of this template added into the shared library?
Kind regards,
Leo
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net