Boost logo

Boost Users :

Subject: [Boost-users] Need help resolving Boost error with Log Library: Candidate function not viable, expects an l-value for 1st argument
From: Austin Tapp (atapp001_at_[hidden])
Date: 2019-04-15 19:50:02


Hello,

I am trying to resolve this error: "5. Candidate function [with LoggerT =
boost::log::v2s_mt_posix::sources::severity_logger_mt<boost::log::v2s_mt_posix::trivial::severity_level>]
not viable: expects an l-value for 1st argument".

This error results in the inability to use the function "make_record_pump",
in my .cxx file, because "make_record_pump" is not recognized as a function
within "record_ostream.hpp" due to the previous error.

I am attempting to compile this project on Xcode 10.2, after building the
project with the newest version of CMake. I have built boost
(version 1.69.0) and installed the dynamic libraries with homebrew.

Thank you,
Austin Tapp



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