Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

Significant changes to header file layout.
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=214
Page 1 of 1

Author:  David Williams [ Tue May 17, 2011 9:36 pm ]
Post subject:  Significant changes to header file layout.

As part of our onging work to create an SDK and generally tidy up PolyVox we have made some changes to the way header files are laid out. This is a significant change which breaks existing code using PolyVox. The essence of the change is that you should now use the 'PolyVoxCore' (or 'PolyVoxUtil') prefix in your #include statements. For example, instead of:

Code:
#include "LargeVolume.h"


you should now use:

Code:
#include "PolyVoxCore/LargeVolume.h"


Of course you can work around this by tweaking your include directories... but the point is that the above will be the new recommended approach.

The reason for this change is that it makes it easier for us to lay out the header files in an intuitive way on both Windows and Linux, as well as being able to write code that compiles against both the SDK and the source distribution. At least we think so... we've made this change and will see how it works out over the next few weeks.

For now this only affects those of you using Git, and you might want to hold off updating until we've tested it a bit. I haven't tested on Linux yet so it may not even compile there, but I'm sure Matt will give it a go at some point.

Hopefully we'll get a new stable snapshot out soon as there have been a couple of nice additions since the last one :-)

Author:  milliams [ Tue May 17, 2011 10:20 pm ]
Post subject:  Re: Significant changes to header file layout.

David Williams wrote:
For now this only affects those of you using Git, and you might want to hold off updating until we've tested it a bit. I haven't tested on Linux yet so it may not even compile there, but I'm sure Matt will give it a go at some point.
I've just tested and it compiles fine in Linux here. I'll keep an eye on the nightly build tonight just in case.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/