Adding the following define to your preprocessor definitions should take
care of the problem:
BOOST_ALL_DYN_LINK
This should probably be mentioned in the getting started documentation. I
spent nearly a day on this recently.
Thanks,
Doug Beatty
"kumar bhargav"
To
Sent by: boost-users@lists.boost.org
boost-users-bounc cc
es@lists.boost.or
g Subject
[Boost-users] Linker error with
boost_1_36_0
10/10/2008 10:44
AM
Please respond to
boost-users@lists
.boost.org
Hi,
I built the thread library after downloading "boost_1_36_0.zip".
After building the thread library from bjam, when I build the program in
VS2008, I get following linker error:-
Error 1 fatal error LNK1104: cannot open file
'libboost_thread-vc90-mt-gd-1_36.lib'
What I see in the generated library folder is that
boost_thread-vc90-mt-gd-1_36.lib is generated, but the linker is looking
for 'libboost_thread-vc90-mt-gd-1_36.lib'.
I have already done the required changes in the project properties
mentioned at
http://www.boost.org/doc/libs/1_36_0/more/getting_started/windows.html .
Similar thing happening with Regex library also. The generated lib is
boost_regex-vc90-gd-1_36.lib, but the linker is looking for
libboost_regex-vc90-gd-1_36.lib.
Is there any other settings change required or something else?
Thanks,
Bhargav.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
-----------------------------------------
This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain
information which is privileged, confidential and prohibited from
disclosure or unauthorized use under applicable law. If you are
not the intended recipient of this e-mail, you are hereby notified
that any use, dissemination, or copying of this e-mail or the
information contained in this e-mail is strictly prohibited by the
sender. If you have received this transmission in error, please
return the material received to the sender and delete all copies
from your system.