Boost logo

Boost Users :

Subject: Re: [Boost-users] libboost_system-vc110-XXXX_54.lib: Why can't I use the static boost library?
From: Sergei Nikulov (sergey.nikulov_at_[hidden])
Date: 2015-11-17 08:44:03


2015-11-17 14:42 GMT+03:00 Andreas Kopeinig <ankopein_at_[hidden]>:
> Hello everybody,
>
> I try to use the boost libraries libboost_filesystem.lib and
> libboost_system.lib, both version 54, in a project about image
> processing using the Xbox kinect sensor. I want to use the prebuild
> windows binaries from the following link:
> http://sourceforge.net/projects/boost/files/boost-binaries/
>
> I referenced the static libs correctly in visual studio in the project
> properties under "Linker->General->Additional Library Directories" and
> "Linker->Input->Additional Dependencies" and I also set the path to the
> headers under "C/C++ -> General-> Additional Include Directories". But
> when I want to build my code, I get the following linker error: "
> LNK1181: cannot open file 'libboost_system.obj' ". Why is this
> happening? Is this object file missing in the archive? If yes, why?
>
> In particular I want to use libboost_filesystem-vc110-mt-1_54.lib,
> libboost_filesystem-vc110-mt-gd-1_54.lib,
> libboost_system-vc110-mt-1_54.lib and libboost_system-vc110-mt-gd-1.lib
>
> Thank you very much,
> Andy
>

Define the preprocessor symbol BOOST_ALL_NO_LIB in your project.

HTH.

> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

-- 
Best Regards,
Sergei Nikulov

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