
On Sat, Jun 29, 2013 at 2:42 AM, Richard
[Please do not mail me a copy of your followup]
boost-users@lists.boost.org spake the secret code
thusly: I compiled the libraries using
.\b2 variant=release link=static threading=multi runtime-link=shared toolset=msvc-11.0 address-model=64
Linking the libraries with my (x64) test program produces the following error:
libboost_unit_test_framework-vc110-mt-gd-1_53.lib(unit_test_suite.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
IIRC, this means that the library wasn't linked with the /machine:x64 option.
At home, I've been using x64 Windows 7 on trunk and haven't had any problems. At work, I've been using 1.52 with a similar command to yours, except our scripts are calling bjam and not b2.
Have you verified that your project was built x64?
My project in indeed in x64. When I compile it in x86, I am able to link with the Boost.Test library that is supposed to be x64. Have you tried doing just:
b2 --with-test
I just tried, but it didn't change the outcome.