|
Boost : |
From: Yigong Liu (yigongliu_at_[hidden])
Date: 2006-10-09 02:37:54
Hi there,
I am trying to build some code in Windows XP with VC++ 2005 express. The
same JamFile work fine in Fedora Core 3&4 with gcc. In my windows box setup
i can build successfully the latest cvs checkout including asio and
interprocess. Definitely something wrong with my Jamfile. The code compiles
fine and failed at link. When i built other libs, after "vc-Link" line,
there is a line saying "Creating lib ...", which doesn't happen for my code.
I attached the error msgs and part of my JamFile at end of the email. Could
some experts give me some hints? Anything special in win32?
Thanks
Yigong
-----------------------------------------------
The error msg is as following:
vc-Link
..\..\..\bin\boost\libs\channel\build\boost_channel.dll\vc-8_0\release\threading-multi\boost_channel-vc80-mt-1_35.dll
..\..\..\bin\boost\libs\channel\build\boost_channel.dll\vc-8_0\release\threading-multi\boost_channel-vc80-mt-1_35.lib
FileClone l:\workspace\boost\stage\lib\boost_channel-vc80-mt-1_35.dll
FileClone l:\workspace\boost\stage\lib\boost_channel-vc80-mt-1_35.lib
copy
"..\..\..\bin\boost\libs\channel\build\boost_channel.dll\vc-8_0\release\threading-multi\boost_channel-vc80-mt-1_35.lib"
"l:\workspace\boost\stage\lib\boost_channel-vc80-mt-1_35.lib" >NUL:
...failed FileClone
l:\workspace\boost\stage\lib\boost_channel-vc80-mt-1_35.lib...
...failed updating 2 targets...
-------------------------------------------------
JamFile:
template channel-options
: # sources
: # requirements
<define>BOOST_ALL_NO_LIB=1
<define>BOOST_CHANNEL_NO_LIB=1
<define>BOOST_LIB_DIAGNOSTIC=1
<sysinclude>$(BOOST_ROOT)
;
template channel-dll-options
: <template>channel-options # sources
: # requirements
<define>BOOST_ALL_NO_LIB=1
<define>BOOST_CHANNEL_DYN_LINK=1
<runtime-link>dynamic
;
SOURCES = binding_rule linear_id_trait hierarchical_id_trait ;
lib boost_channel : ../src/$(SOURCES).cpp <template>channel-options
:
[ common-names ]
:
debug release
;
dll boost_channel : ../src/$(SOURCES).cpp <template>channel-dll-options
:
[ common-names ]
:
debug release
;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk