Boost logo

Boost-Build :

Subject: Re: [Boost-build] MSVC resource compiler problem
From: Ian Emmons (iemmons_at_[hidden])
Date: 2009-02-18 10:45:34

Sorry, I forgot to mention that I'm using bjam 3.1.17 and the version
of from boost 1.38.0.

On Feb 18, 2009, at 10:43 AM, Ian Emmons wrote:

I have a very simple jam file (see below) that fails with the error
message shown at the bottom of this message. If I remove the line
"<toolset>msvc:<source>Version.rc", then this builds perfectly,
except, of course, that the resources are not linked into the
executable. What am I doing wrong?



=== Jam File ============================

project /KB/AdminClient ;

exe ParliamentAdmin
   : [ glob *.cpp ]
   : <include>.
   : # default build
   : # usage requirements

=== Error Message ============================ ..\..\target\bin\native\Parliament\AdminClient
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
\address-model-64\threading-multi\KbAdmin.obj : fatal error LNK1112:
module machine type 'x64' conflicts with target machine type 'X86'

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at