forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Boost libraries

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
UsefulIdiot



Joined: 17 Jan 2006
Posts: 13

PostPosted: Mon Apr 24, 2006 3:07 pm    Post subject: Boost libraries Reply with quote

Has anyone had success in using them on the psp? Im contemplating on porting an engine which thoroughly uses these, and just looking for some insight or barriers ahead so as not to go reinventing the wheel.
Back to top
View user's profile Send private message
PeterM



Joined: 31 Dec 2005
Posts: 125
Location: Edinburgh, UK

PostPosted: Mon Apr 24, 2006 6:01 pm    Post subject: Reply with quote

I've never used them on PSP, but I would be interested on hearing how you get on.

From my experience of Boost, much of it should be able to be used isntantly. That is, the parts which don't require building. Shared pointers, and so on.

Things like Serialisation, Threads, however will require building. Perhaps it would be possible to just build using Jam as per Linux but specifying the appropriate compiler (psp-gcc instead of gcc)?
Back to top
View user's profile Send private message Visit poster's website
bronsky



Joined: 24 Dec 2006
Posts: 12
Location: Paris

PostPosted: Sun Mar 09, 2008 5:57 am    Post subject: Reply with quote

Hello,
PeterM wrote:
Things like Serialisation, Threads, however will require building. Perhaps it would be possible to just build using Jam as per Linux but specifying the appropriate compiler (psp-gcc instead of gcc)?

Yep, it's basically what has to be done, but it takes a few more hours than just replacing "gcc" with "psp-gcc" ;-)

Anyway, I've been able to do it successfully and to compile and run Boost.Signals.

I have created a new toolset for Bjam that allows me to do this compilation. In addition, this toolset automatically includes a PSP_MODULE_INFO and redirects cout and cerr to the screen. That's what allowed me, for instance, to compile and run on PSP the Boost's "hello world" example without touching anything in the source, just replacing --toolset=gcc with --toolset=psp. Those who are interested can already download the toolset on the Boost4PSP project I've just opened on Sourceforge : http://www.sourceforge.net/projects/boost4psp

I will add other stuff soon, in particular documentation and precompiled binaries (for those parts that I'll be able to build... don't know yet which ones, except for Boost.Signals).
Back to top
View user's profile Send private message
bronsky



Joined: 24 Dec 2006
Posts: 12
Location: Paris

PostPosted: Thu Mar 20, 2008 7:51 pm    Post subject: Reply with quote

Voila, you can now download precompiled binaries of Boost.Signals and Boost.Test in the download section, and other libraries will hopefully come soon.

And some documentation is now available : http://boost4psp.sourceforge.net
Back to top
View user's profile Send private message
hlide



Joined: 10 Sep 2006
Posts: 750

PostPosted: Sun Mar 30, 2008 9:59 pm    Post subject: Reply with quote

Hello Bronsky,

does your boost4psp include Boost::filesystem ? if so, does it work with the right implementation ?
Back to top
View user's profile Send private message
bronsky



Joined: 24 Dec 2006
Posts: 12
Location: Paris

PostPosted: Mon Mar 31, 2008 6:41 pm    Post subject: Reply with quote

hlide wrote:
does your boost4psp include Boost::filesystem ? if so, does it work with the right implementation ?


Hi,

Right now, Boost4PSP only provides binaries of Graph, Signals and Test libraries. To be honest, FileSystem is not part of my priorities since it's a highly platform specific library that obviously needs to be rewritten to get it working on PSP. For now I concentrate on portable libraries that only need to be recompiled with the PSP toolset without touching anything.

As you seem to need it, I will take a closer look to evaluate the amount of work needed, and will tell you what you can expect...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group