Boost logo

Boost :

Subject: Re: [boost] Build trunk 1.46 libraries problems
From: Brian Davis (bitminer_at_[hidden])
Date: 2011-10-04 17:54:58


> > I also note some config failures that suggest something else may be
> wrong?
> >
> > ...updating 1 target...
> > compile-c-c++
> >
> i:\boost-trunk\boost\bin.v2\libs\math\config\msvc-10.0\debug\threading-multi
> > \has_gcc_visibility.obj
> > has_gcc_visibility.cpp
> > libs\math\config\has_gcc_visibility.cpp(7) : fatal error C1189: #error :
> > "This is a GCC specific test case".
>
> This is OK, it's just a config test. I'll make this message not show up,
> for
> 1.46.
>
> - Volodya
>
>

Er... I still see above error in build of boost in 1_47_0. I use CMake (yes
I know there is a CMake specific version... but lets not go there... I have
already tried it) ExternalProject_Add to build b2/bjam (bootstrap.bat), then
have it bjam --prefix=my_install_dir, then my build command which installs.
Problem is that when the build is called these "fatal errors" cause Visual
Studio/CMake combo to rebuild boost wasting countless cpu cycles. I can get
around this by tacking on an exit 0 in my batch script of course this goes
against my sensibilities.

Thoughts?

1>Performing configure step for 'boost_1_47_0'
1>Configuring Boost - bootstrapping cd
D:/projects/dsa4d/branches/trunk_win/../dsa4d_3rdParty/source/cpp/3rdParty/Win/boost_1_47_0
bootstrap.bat cd
D:/projects/dsa4d/branches/trunk_win/../dsa4d_3rdParty/source/cpp/3rdParty/Win/boost_1_47_0
bjam
--prefix=D:\projects\dsa4d\branches\trunk_win\..\dsa4d_3rdParty\platform\tools/boost_build
install echo Boost configuration complete
1>Performing build step for 'boost_1_47_0'
1>Building boost using command:
1>CMD:
D:\projects\dsa4d\branches\trunk_win\..\dsa4d_3rdParty\platform\tools\boost_build\bin\b2.exe
-q -d+2
--prefix=D:\projects\dsa4d\branches\trunk_win\build\Windows-6.1\install
--build-dir=D:\projects\dsa4d\branches\trunk_win\..\dsa4d_3rdParty\build\boost_build
--stage-dir=D:\projects\dsa4d\branches\trunk_win\..\dsa4d_3rdParty\build\boost_stage
--build-type=complete toolset=msvc-9.0 variant=debug,release
link=static,shared threading=multi address-model=64 stage
install
1>has_icu_test.cpp
1>libs\regex\build\has_icu_test.cpp(12) : fatal error C1083: Cannot open
include file: 'unicode/uversion.h': No such file or directory
1>file
D:\projects\dsa4d\branches\dsa4d_3rdParty\build\boost_build\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\threading-multi\has_icu_test.obj.rsp
1>"libs\regex\build\has_icu_test.cpp"
1>
-Fo"D:\projects\dsa4d\branches\dsa4d_3rdParty\build\boost_build\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\threading-multi\has_icu_test.obj"
1> -TP
1> /Z7
1> /Od
1> /Ob0
1> /W4
1> /GR
1> /MDd
1> /Zc:forScope
1> /Zc:wchar_t
1> /favor:blend
1> /wd4675
1> /EHs
1> -c
1>
1>-DBOOST_ALL_NO_LIB=1
1>
1>-DBOOST_HAS_ICU=1
1>
1>"-I."
1>compile-c-c++
D:\projects\dsa4d\branches\dsa4d_3rdParty\build\boost_build\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\threading-multi\has_icu_test.obj
1> call "C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\vcvarsall.bat" x86_amd64 >nul
1>cl /Zm800 -nologo
@"D:\projects\dsa4d\branches\dsa4d_3rdParty\build\boost_build\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\threading-multi\has_icu_test.obj.rsp"

1>...skipped
<pD:\projects\dsa4d\branches\dsa4d_3rdParty\build\boost_build\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\threading-multi>has_icu.exe
for lack of
<pD:\projects\dsa4d\branches\dsa4d_3rdParty\build\boost_build\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\threading-multi>has_icu_test.obj...
1>...failed updating 1 target...
1>...skipped
<pD:\projects\dsa4d\branches\dsa4d_3rdParty\build\boost_build\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\threading-multi>has_icu.pdb
for lack of
<pD:\projects\dsa4d\branches\dsa4d_3rdParty\build\boost_build\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\threading-multi>has_icu_test.obj...
1>Performing configuration checks
1> - has_icu builds : no
1>warning: Graph library does not contain MPI-based parallel components.
1>note: to enable them, add "using mpi ;" to your user-config.jam
1>has_gcc_visibility.cpp
1>libs\math\config\has_gcc_visibility.cpp(7) : fatal error C1189: #error :
"This is a GCC specific test case".


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk