|
Boost Users : |
Subject: Re: [Boost-users] A little confused about Boost static/dynamic libraries
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-07-12 12:01:03
AMDG
David Aldrich wrote:
> I am linking my MSVC-9.0 project to the Boost.Python library. The project is configured to use the 'Multi-threaded DLL' runtime library.
>
> When I link the project to Boost.Python, the linker evidently requires boost-python-vc90-mt-1_43.lib. But when I run the executable it loads boost-python-vc90-mt-1_43.dll.
>
> Sorry if this is a stupid question, but why does the linker require the .lib file, when the runtime uses a dll?
>
boost-python-vc90-mt-1_43.lib is the import library for the dll.
This is needed because you can't like directly to a dll on windows.
In Christ,
Steven Watanabe
P.S. Please start a new thread instead of replying to an unrelated one.
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