|
Boost-Build : |
From: Zbynek Winkler (zwin_at_[hidden])
Date: 2004-04-02 09:55:02
Hello,
I've just updated to the latest cvs to try this and the other bugfix
related to IMPORT (thread "Custom main target").
There seems to be some problem related to the new build properties
algorithm. After the upgrade my system libraries no longer work :(.
----------------------------------------------------------------------
d:/software/boost-build-cvs/v2/build\targets.jam:513: in generate-really
from module object(main-target)@5
error: failed to build /cppunit with properties <arit>double
<debug-store>object <debug-symbols>on <define>ARIT_DOUBLE
<exception-handling>on <hardcode-dll-paths>false <inlining>off
<link-runtime>shared <link>static <optimization>off <os>NT
<profiling>off <rtti>on <runtime-debugging>on <stdlib>native
<threading>multi <toolset-msvc:version>6.0 <toolset>msvc <variant>debug
because no best-matching alternative could be found
----------------------------------------------------------------------
The cppunit library is defined as follows in user-config.jam:
----------------------------------------------------------------------
project.initialize $(__name__) ;
project site-config
: usage-requirements <include>d:/software/cppunit-1.8.0/include ;
lib cppunit : : <name>cppunit60 <variant>release
<toolset-msvc:version>6.0 <search>d:/software/cppunit-1.8.0/lib ;
lib cppunit : : <name>cppunitd60 <variant>debug
<toolset-msvc:version>6.0 <search>d:/software/cppunit-1.8.0/lib ;
lib cppunit : : <name>cppunit71 <variant>release
<toolset-msvc:version>7.1 <search>d:/software/cppunit-1.8.0/lib ;
lib cppunit : : <name>cppunitd71 <variant>debug
<toolset-msvc:version>7.1 <search>d:/software/cppunit-1.8.0/lib ;
lib cppunit : : <name>cppunit <variant>release <toolset>gcc
<search>c:/msys/1.0/local/lib ;
lib cppunit : : <name>cppunitd <variant>debug <toolset>gcc
<search>c:/msys/1.0/local/lib ;
-----------------------------------------------------------------------
First thing that hits me is that there are both <arit>double and
<define>ARIT_DOUBLE in the build request. That's strange because <arit>
is defined as follows in my project-root.jam:
-----------------------------------------------------------------------
feature arit
: double float fixed debug
: propagated link-incompatible composite symmetric
;
feature.compose <arit>double : <define>ARIT_DOUBLE ;
feature.compose <arit>float : <define>ARIT_FLOAT ;
feature.compose <arit>fixed : <define>ARIT_FIXED ;
feature.compose <arit>debug : <define>ARIT_DEBUG ;
------------------------------------------------------------------------
My expectation would be to have it expanded for the real build request
so only <define>ARIT_DOUBLE would be present.
So for now I'll have to downgrade until this is resolved :(.
Zbynek
-- http://zw.matfyz.cz/ http://robotika.cz/ Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic
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