LibBoost link error when building from source 1.35.0

Hi, I'm encountering a libboost_system-vc80-mt-1_35.lib not found link error after recompiling boost using vc8 sp1. I have set BOOST_ALL_DYN_LINK and I link in the dll version of boost file system like so #pragma comment (lib, "boost_filesystem-vc80-mt-1_35.lib") My steps for building are. 1. Open VC console. 2. Run "bjam --build-type=complete". I tried "bjam --toolset=msvc" too 3. Compile is fine. Dlls and libs are created properly but the libboost_system-vc80-mt-1_35.lib is not in output folder. I noticed it's is built in the link static threading-multi portion but was copied to the output lib folder, so why is the dll version trying to link that? Robin

Hi,
I'm encountering a libboost_system-vc80-mt-1_35.lib not found link error after
^^^^^^^^^
#pragma comment (lib, "boost_filesystem-vc80-mt-1_35.lib")
^^^^^^^^^^ Have a close look at the names. Could it be this? Different libs?
I noticed it's is built in the link static threading-multi portion but was copied to the output lib folder, so why is the dll version trying to link that?
Additionally have a look at the getting started page http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html#libra... lib Prefix: except on Microsoft Windows, every Boost library name begins with this string. On Windows, only ordinary static libraries use the lib prefix; import libraries and DLLs do not. Regards, Rainer

I'm encountering a libboost_system-vc80-mt-1_35.lib not found link error after ^^^^^^^^^
#pragma comment (lib, "boost_filesystem-vc80-mt-1_35.lib") ^^^^^^^^^^
Have a close look at the names. Could it be this? Different libs?
Sorry, the ^^^ are at the wrong place. I used tabs :-( So: system <-> filesystem are different libs. Regards, Rainer
participants (2)
-
Rainer Thaden
-
Robin