Page 1 of 1
How to use Boost?
Posted: Sun Apr 19, 2009 11:07 pm
by Dr. Kylstein
I find it hard to get along with out the Boost libraries, but I have no idea how to make them work with devkitARM. I found the version compiled by Patater, but how do I actually install and use it?
Re: How to use Boost?
Posted: Mon Apr 20, 2009 1:23 am
by weirdfox
The boost version from patater's site is quite old (1.33.1).
I would suggest that you make your own build from the latest sources or download the build I did for
Code: Select all
... link removed as the build is not good ...
Just a note, Boost's threading API should not work as it rely in the OS's threading system and the DS doesn't have one...
good luck
Re: How to use Boost?
Posted: Mon Apr 20, 2009 3:09 am
by WinterMute
Just as a matter of interest. How did you build Boost?
I've tried that a couple of times without much luck.
Re: How to use Boost?
Posted: Tue Apr 21, 2009 6:46 pm
by Dr. Kylstein
That archive appears to be corrupt. I just tried building the libraries myself, but where the files were output, I do not know. Are Patater's instructions also out-of-date?
Re: How to use Boost?
Posted: Wed Apr 22, 2009 3:33 am
by weirdfox
Yes, after making some extensive tests, my build is not good...
bjam fooled me in thinking it used arm-eabi-g++, but it used my local gcc install and compiled for x86...
After a few hours of fighting with bjam and compile errors, I would say only the part of boost that does not need to be built will work.
I would like to tell you to follow the instructions on patater's site, but they don't work for the latest boost, maybe trying with version 1.33 might work.
I'll remove the link... until I find a way to make it really work
Re: How to use Boost?
Posted: Wed Apr 22, 2009 9:34 pm
by Dr. Kylstein
Headers-only is probably enough for me right now, thanks for your help. I would like to know where it ended up putting the files, though.
Re: How to use Boost?
Posted: Thu Apr 23, 2009 1:47 am
by weirdfox
If you only want the headers, get a boost archive (
https://sourceforge.net/project/showfil ... _id=659602) and they are in the "boost" folder.
You can put the folder in "libnds/include" for simplicity.
Re: How to use Boost?
Posted: Wed May 05, 2010 10:16 pm
by zelbo
What if i'm ok with using an old version? How do i get Patater's 1.33.1 precompiled version working?
Re: How to use Boost?
Posted: Mon May 10, 2010 12:00 pm
by WinterMute
You can't, C++ isn't binary compatible across toolchain releases.
Re: How to use Boost?
Posted: Wed May 12, 2010 8:07 pm
by zelbo
So i would need Boost compiled specifically for the toolchain release i'm using? From what i've been reading, sounds like that part it is over my head. Anyone made any progress on figuring it out?