
Hi,
try bjam --toolset=msvc-9.0 address-space=64 this should produce 64bit libs.
regards
F
On Wed, Apr 28, 2010 at 12:28 PM, Christoph Rabel wrote: Hi! I am trying to build a project here with Visual Studio 2008 for a 64
bit platform, but I get a lot errors like the following (building it
32 bit works fine) 1>boosttest.obj : error LNK2001: unresolved external symbol "private:
class boost::basic_regex Here is what I did to build the libs: bjam msvc architecture=x86 address-model=64 stage
bjam msvc architecture=x86 address-model=64 install I tried various versions of the above lines, with other parameters, or
written differently e.g. (--toolset=msvc) but the end result did not
change. Then I added the c:\boost\include\... and c:\boost\lib dir to (Tools
-> Options -> VC++ Directories -> Platform x64 Include and Library
files)
To simplify the problem I created a new project and created a new
Configuration for x64 -----
#include "stdafx.h"
#define BOOST_LIB_DIAGNOSTIC
#include int main()
{
boost::regex pat( "bla" );
}
----- I can build above fine in 32 bit mode, using the same(!) lib folder.
So I assume, the created libs are 32 bit. (Can I check that somehow?)
Any ideas what I might do wrong? Or what I might do to find out where
the problem lies? Thanks, Christoph
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users