|
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 boost.build 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?
Thanks,
Ian
=== Jam File ============================
project /KB/AdminClient ;
exe ParliamentAdmin
: [ glob *.cpp ]
/KB/KbCore//Parliament
: <include>.
<toolset>msvc:<source>Version.rc
: # default build
: # usage requirements
;
=== Error Message ============================
msvc.link ..\..\target\bin\native\Parliament\AdminClient
\msvc-9.0\release\address-model-64\threading-multi\ParliamentAdmin.exe
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
..\..\target\bin\native\Parliament\AdminClient\msvc-9.0\release
\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 acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk