It is currently Sat Aug 22, 2020 1:00 pm


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Compiling Polyvox on iOS
PostPosted: Wed Feb 09, 2011 6:07 pm 

Joined: Wed Feb 09, 2011 12:59 pm
Posts: 1
Hi there,

Wanted to know if anyone had successfully compiled Polyvox in an XCode project for iOS. I have been hitting the wall for a week now and starting to get desperate.

I'd like to compile Polyvox as code in my project, not a static library.

What I noticed:

1) Polyvox seems to require either C++0x (which the XCode compiler, GCC 4.2, does not support) or the boost C++ libraries
2) Boost is a nightmare

So if anyone had any success, can you please let me know?

Thank you.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Compiling Polyvox on iOS
PostPosted: Wed Feb 09, 2011 6:27 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
You are basically correct, however PolyVox only uses a very small part of Boost (if C++0x is not present) and the parts that it does use are header-only. So there's no need to link against any of the Boost libraries. Also, one of our users seperted out the parts of Boost which are actually required, so you might find this useful: http://www.thermite3d.org/phpBB3/viewtopic.php?f=2&t=99

Note that the boost subset in that thread does not provide boost::function or boost::hash, but these are only used by the AStarPathfinder. If you don't use the AStarPathfinder you probably won't even notice they are missing.

Let me know if that works...


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net