Boost logo

Boost-Build :

Subject: [Boost-build] [boost] boost compilation with bjam
From: simonvifr_at_[hidden]
Date: 2008-12-20 15:13:34

Good morning,

I write you because I have questions about the boost-build compilation.

My OS version is Windows XP 32 bits
My boost version is 1.37.0
My boost-jam version is 3.1.17
I use CodeBlocks 8.02

I use this command line to compile :
   bjam.exe toolset=gcc link=shared threading=multi install > log.txt

1/ I have the following errors when compiling :

   gcc.compile.c++ bin.v2\libs\serialization\build\gcc-mingw-3.4.5\release\threading-multi\basic_text_wiprimitive.o
   libs\serialization\src\basic_text_wiprimitive.cpp:14:2: #error "wide char i/o not supported on this platform"

    "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2\libs\serialization\build\gcc-mingw-3.4.5\release\threading-multi\basic_text_wiprimitive.o" "libs\serialization\src\basic_text_wiprimitive.cpp"

   ...failed gcc.compile.c++ bin.v2\libs\serialization\build\gcc-mingw-3.4.5\release\threading-multi\basic_text_wiprimitive.o...

It appears 8 times with basic_text_wiprimitive.o, basic_text_woprimitive.o, text_wiarchive.o, text_woarchive.o, utf8_codecvt_facet.o, xml_wgrammar.o, xml_wiarchive.o, xml_woarchive.o

2/ I have also the following errors :

ln-NT C:\Boost\lib\libboost_date_time-mgw34-mt.lib
"NT symlinks not supported yet, making copy"
Impossible de trouver C:\Boost\lib\libboost_date_time-mgw34-mt.lib
        1 fichier(s) copi‚(s).

It appears several times with different libraries.

3/ When compiling, it creates .dll and only .lib libraries.
What should I do to create .a libraries to include them in my CodeBlocks project ?
.lib libraries are for Visual C++ I think.

Thank you for your answer to fix those two errors and to create .a libraries,

____________________________________________________Consultez les dernières news d’Indochine et écoutez leur single « Little Dolls »sur Musiline Voila !

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