Boost logo

Boost Users :

From: Dan Muller (yg-boost-users_at_[hidden])
Date: 2003-08-14 13:38:07


I've been using boost for a while, but now for the first time I'm using
a component that isn't entirely header-based, namely date_time in boost
1.30.0.

After building boost for VC7.1, I find a .lib file in
boost_1_30_0\libs\date_time\build\bin\libboost_date_time.lib\msvc\debug
\runtime-link-dynamic and a .dll in boost_1_30_0\libs\date_time\build
\bin\boost_date_time.dll\msvc\debug\runtime-link-dynamic.

There are a couple of things that I don't understand about these files.

Is the .lib file supposed to be the import library for the .dll? Linking
against the .lib file hasn't produced any import references in my
applications. Perhaps I'm just not hitting any out-of-line
functionality, but it sure seems like the .lib file is a static library
rather than an import library.

Also, running DUMPBIN /EXPORTS on the .dll file shows no exported
symbols related to date_time classes, as far as I can see. It really
looks like it's exporting a bunch of stuff related to the standard C++
library, which makes no sense to me.

Can anyone clear up my confusion?

-- 
Dan Muller
"So that's what an invisible barrier looks like!" (Time Bandits)

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