Volumes Of Fun

Compiling Polyvox on iOS
Page 1 of 1

Author:  esperdiv [ Wed Feb 09, 2011 6:07 pm ]
Post subject:  Compiling Polyvox on iOS

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.

Author:  David Williams [ Wed Feb 09, 2011 6:27 pm ]
Post subject:  Re: Compiling Polyvox on iOS

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...

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group