Boost logo

Boost Users :

From: Vincent Torri (vtorri_at_[hidden])
Date: 2007-05-21 12:17:43


I've compiled boost 1.34 with STLport 5.1.3 with MinGW. You can find what
I did here :

http://lists.boost.org/boost-users/2007/04/26818.php

(that mails and the following ones)

regards

Vincent Torri

On Mon, 21 May 2007, Arthur Carlsson wrote:

> I'm using Cygwin and it has been a real pain for me to get it to work. To be
> able to compile Boost 1.34 with STLport you first need to compile STLport
> (duh...). I use that standard ./configure script and "make -f
> gcc.makinstall-shared". No extra arguments or anything. With cygwin
> you need to
> change the names of the .a-files created from libstlport*.5.1.dll.a to
> libstlport*.5.1.a as boost requires the dll-libs, not the static ones
> (you'll get alot of unresolved externals otherwise...).
>
> Then in user-config.jam (which is created from ./configure script or you can
> create it by hand in the boost root directory) you enter the following:
>
> # STLport configuration
> using stlport : 5.1.3 : <STLport root>/stlport <STLport root>/lib ;
>
> Also, if you are using Cygwin, you also need to change the "using gcc ;"
> line to "using gcc : : : <cxxflags>-D_REENTRANT ;" or boost will choose the
> the wrong namespace for stlport and you get alot of compiling errors.
>
> Then it's time to invoke the bjam command line with a few extra arguments
> like so:
> bjam.exe --user-config=user-config.jam stdlib=stlport
> Notice the "stdlib=stlport" argument.
>
> I still haven't successfully compile all of boost like this, I still have
> two issues.
> 1. In the serialization library I get errors that boost is unable to find
> wcslen() and wctomb() functions in the stlport namespace. I haven't looked
> into it that much as I don't need to use them.
> 2. The most annoying one. I'm note sure if this is a boost issue or a cygwin
> issue but when I run the install stage with bjam it eats up about 400 mb
> memory (I only have 512 mb memory on my computer..) which makes the whole
> installation process take about 2-3 days instead of perhaps 10 minutes.. :P
> Also, sometimes it crashes in the middle of the process and I have to
> manually start the installation process again. As I said, I don't know if
> this is due to some error in cygwin or in bjam...
>
> Perhaps I'll write a guide on compiling stlport with boost in Cygwin and
> post it on my site. In that case, I'll let you know... :)
>
> Regards.
> - Arthur
>
> On 5/21/07, Flex Ferrum <flex_ferrum_at_[hidden]> wrote:
>>
>> Hello all.
>>
>> Can anybody tell me how to build boost 1.34 with STLPort on Windows
>> platform? Documentation and searching over the boost.org tells nothing
>> about this.
>>
>>
>> --
>> Best regards
>> Flex Ferrum
>>
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>
> --
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
> Message délivré par le serveur de messagerie de l'Université d'Evry.
>
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net