Boost logo

Boost Users :

Subject: [Boost-users] Boost.Test on Windows x64
From: User 8583 (user8583_at_[hidden])
Date: 2013-06-28 01:41:41


Hello,

I am trying to use Boost.Test 1.53 on a Windows 7 x64 platform and VS2012.

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'

I am surprised as I have used the boost serialization library compiled with
the same command line in x64 programs without such error.

Any help appreciated,

Bob



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