Ah, yes, the full logs make it much clearer:
Code:
F:\Programing\C++\Ogre3d\VoxTest\VoxTestApplication.cpp|29|error: variable or field 'createSphereInVolume' declared void|
F:\Programing\C++\Ogre3d\VoxTest\VoxTestApplication.cpp|29|error: 'SimpleVolume' was not declared in this scope|
F:\Programing\C++\Ogre3d\VoxTest\VoxTestApplication.cpp|29|note: suggested alternative:|
F:\SDK\PolyVox\library\PolyVoxCore\include\PolyVoxCore\SimpleVolume.h|44|note: 'PolyVox::SimpleVolume'|
F:\Programing\C++\Ogre3d\VoxTest\VoxTestApplication.cpp|29|error: expected primary-expression before '>' token|
F:\Programing\C++\Ogre3d\VoxTest\VoxTestApplication.cpp|29|error: 'volData' was not declared in this scope|
F:\Programing\C++\Ogre3d\VoxTest\VoxTestApplication.cpp|29|error: expected primary-expression before 'float'|
The second error here shows that it doesn't know what 'SimpleVolume' is. You have included the header but you also need to specify the namespace. Try adding 'using namespace PolyVox' near the top of your .cpp file (but after you include the headers):
Code:
#include "VoxTestApplication.h"
using namespace PolyVox; // <--- Add this
//-------------------------------------------------------------------------------------
VoxTestApplication::VoxTestApplication(void)