Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost] boost compilation with bjam
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-12-20 15:38:04


On Saturday 20 December 2008 23:13:34 simonvifr_at_[hidden] wrote:
> 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

Is the message unclear?

> 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.

I don't really know what this error means, given that it in french. Is the
file actually copied.

> 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.

Why do you think so? If you're building with mingw, then .lib are static or import
libraries for mingw.

- Volodya


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