Brent
Brent

Reputation: 1

How to open file 'libboost_thread-vc110-mt-gd-1_58.lib' - cpp-netlib?

So I'm almost a complete newbie to c++. I've been trying desperately for the better part of the day to use cpp-netlib, but I can't really proceed, and would appreciate some help.

I have downloaded the development version as per the instructions (I assume that's what I need to be able to use the library), and am not building it, as the instructions specify that it's only required if I want to run the test suite.

I have downloaded the latest Boost and built it (from the command line).

Now when I try a sample application, I get a linker error saying "cannot open file 'libboost_thread-vc110-mt-gd-1_58.lib".

The include and linker directories have been set up. I've peeked inside relevant folder, and only libboost_thread files are all VC 120, which from what I understand means they've been generated by a different version of Visual Studio.

I don't really know what to do next.

If it helps, I'm using visual Studio 2012.

Upvotes: -1

Views: 535

Answers (1)

Francesco Argese
Francesco Argese

Reputation: 656

You have to add the directory where that library is located in your pc in the libpath of the Visual Studio project, as explained in this link.

Upvotes: 0

Related Questions