Boost Users :
From: John Smith (jsmith1975_at_[hidden])
Date: 2005-08-03 09:40:54
I have been trying to use Boost Date_Time library with my code. I used
boostjam to compile the source; the command used was:
bjam -s"TOOLS=vc-7_1" --with-date_time install.
The following libraries were built (among others):
My project is setup as follows:
Runtime Library: Multi-threaded Debug DLL (/MDd)
Additional Include Directories: $(BOOSTHOME)\include\boost-1_32
Additional Library Directories: $(BOOSTHOME)\lib
Additional Dependencies: boost_date_time-vc71-mt-gd-1_32.lib
Using the above setup I could only link if the static library
(libboost_date_time-vc71-mt-gd-1_32.lib) was also available. If not, I kept
LINK : fatal error LNK1104: cannot open file
However, when this file is available, I am able to link and use the DLL
(checked DLL usage using depends.exe).
Does this make sense? I was under the impression that I should only need the
import library. Also, how does it know the name if the library?
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