Answer the question
In order to leave comments, you need to log in
Why doesn't Boost.Context find the lib file?
I wanted to use Boost.Context and I got an error when compiling
LNK1104 не удается открыть файл "libboost_context-vc142-mt-gd-x64-1_77.lib" prj C:\Users\dwk\source\repos\prj\prj\LINK 1
#include <boost/context/fiber.hpp>
int main(int argc, char** argv)
{
boost::context::fiber_context context;
return 0;
}
Answer the question
In order to leave comments, you need to log in
Because the boost is not all tightly templated, there are compiled libs that need to be explicitly linked. How to link specifically depends on the specific build system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question