I can't seem to figure out why this code is returning errors:
Code:
PolyVox::MinizBlockCompressor<int32_t>* pBlockCompressor = new PolyVox::MinizBlockCompressor<int32_t>;
PolyVox::FilePager<int32_t>* pFilePager = new PolyVox::FilePager<int32_t>("./");
PolyVox::Region this_region = PolyVox::Region(PolyVox::Vector3DInt32(0,0,0), PolyVox::Vector3DInt32(1024,32,1024));
PolyVox::LargeVolume<int32_t>* pLargeVolume = new PolyVox::LargeVolume<int32_t>(this_region,pBlockCompressor, pFilePager, 64);
Errors:
Code:
6 IntelliSense: no instance of constructor "PolyVox::LargeVolume<VoxelType>::LargeVolume [with VoxelType=int32_t]" matches the argument list
argument types are: (PolyVox::Region, PolyVox::MinizBlockCompressor<int32_t> *, PolyVox::FilePager<int32_t> *, int) \DX-Server\ChunkManager.h 5
5 IntelliSense: incomplete type is not allowed \DX-Server\ChunkManager.h 5
Code:
error C2664:
'PolyVox::LargeVolume<VoxelType>::LargeVolume(const PolyVox::Region &,PolyVox::BlockCompressor<VoxelType> *,PolyVox::Pager<VoxelType> *,uint16_t)' : cannot convert parameter 3 from 'PolyVox::FilePager<VoxelType> *' to 'PolyVox::Pager<VoxelType> *' \dx-server\ChunkManager.h 5
error C2514:
'PolyVox::FilePager<VoxelType>' : class has no constructors \dx-server\ChunkManager.h 3