Boost logo

Boost Users :

From: Johan Råde (rade_at_[hidden])
Date: 2008-07-05 14:14:54


I'm using Boost 1.35 with VC 9.0 on Windows XP.

I just tried to link dynamically with Boost.
So I added #define BOOST_DYN_LINK to the first line of each StdAfx.h file.
When the app links, I get the error message:

LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc90-mt-gd-1_35.lib'

It is trying to link with the static libraries.

So I decided to take a look in the Boost docs.
Well, I could not find anything anywhere about BOOST_DYN_LINK.

How do I link dynamically with Boost, using the auto-link mechanism?
Is BOOST_DYN_LINK the right way?

--Johan


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