It is currently Sat Aug 22, 2020 2:02 pm


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Significant changes to header file layout.
PostPosted: Tue May 17, 2011 9:36 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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 :-)


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Significant changes to header file layout.
PostPosted: Tue May 17, 2011 10:20 pm 
Developer
User avatar

Joined: Sun May 11, 2008 4:29 pm
Posts: 198
Location: UK
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.

_________________
Matt Williams
Linux/CMake guy


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