A problem while building 1.38.0 for msvc
I downloaded the 1.38 build zip file and unzipped it. I then downloaded the latest bjam and unzipped that. I then used bjam to build boost, as follows: bjam --build-dir=c:\users\myuser\boost-build --toolset=msvc stage It all built successfully, but when I referenced libboost-thread-vc90-mt-gd-1_38_0.lib, I got a linker error where it is looking for libboost-regex-vc80-mt-gd-1_38_0.lib. The problem is that it is requiring the vc80 lib, but bjam only built vc90 libraries. When I renamed the 90 regex library to say 80, I got a host of unresolved externals when linking. (I didn't really expect that to work, but I tried anyway). Can someone advise what I should do to fix this problem? Here are the stats about my system: Windows Vista Business 32-bit Visual C++ 6.0 installed Visual Studio 2003 installed Visual Studio 2005 installed Visual Studio 2008 installed (we develop an SDK, so I need to build in the various environments.) Brad ---------- Learn more about Chase Paymentech Solutions,LLC payment processing services at www.chasepaymentech.com. THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above. If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments. If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer.
AMDG Younie, Bradford wrote:
I downloaded the 1.38 build zip file and unzipped it. I then downloaded the latest bjam and unzipped that. I then used bjam to build boost, as follows:
bjam --build-dir=c:\users\myuser\boost-build --toolset=msvc stage
It all built successfully, but when I referenced libboost-thread-vc90-mt-gd-1_38_0.lib, I got a linker error where it is looking for libboost-regex-vc80-mt-gd-1_38_0.lib.
The problem is that it is requiring the vc80 lib, but bjam only built vc90 libraries.
Use toolset=msvc-8.0 to build the libraries for Visual Studio 2005 In Christ, Steven Watanabe
participants (2)
-
Steven Watanabe
-
Younie, Bradford