Hi. I'm exploring Polyvox for managing large worlds of the order of 100kms wide with a resolution of 10cm. I'm working on an application which uses OGRE for visualization. I'm using the Qt development environment (Qt 4.7.3 (64 bit), Qt Creator 2.2.1). After I included Polyvox in my project, I got an error as follows:
Quote:
#error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
Then I added this flag to my Qt project (.pro) file:
Quote:
QMAKE_CXXFLAGS += -std=c++0x
Now I'm getting the following error:
Quote:
#error: no matching function for call to ‘Ogre::STLAllocator<Ogre::Terrain::LayerInstance, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0u> >::construct(Ogre::Terrain::LayerInstance*)’
I'm using the OGRE Terrain System for ground and want to manage non-ground object points with Polyvox::LargeVolume. Any help with the above error will be greatly appreciated. Thanks in advance.