How to use Boost?
-
- Posts: 8
- Joined: Sat Apr 18, 2009 11:12 pm
How to use Boost?
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?
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
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
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 ...
good luck
Last edited by weirdfox on Wed Apr 22, 2009 3:34 am, edited 1 time in total.
try, crash, debug and learn
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: How to use Boost?
Just as a matter of interest. How did you build Boost?
I've tried that a couple of times without much luck.
I've tried that a couple of times without much luck.
-
- Posts: 8
- Joined: Sat Apr 18, 2009 11:12 pm
Re: How to use Boost?
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?
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
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
try, crash, debug and learn
-
- Posts: 8
- Joined: Sat Apr 18, 2009 11:12 pm
Re: How to use Boost?
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?
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.
You can put the folder in "libnds/include" for simplicity.
try, crash, debug and learn
Re: How to use Boost?
What if i'm ok with using an old version? How do i get Patater's 1.33.1 precompiled version working?
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: How to use Boost?
You can't, C++ isn't binary compatible across toolchain releases.
Re: How to use Boost?
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?
Who is online
Users browsing this forum: Semrush [Bot] and 1 guest