Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
thermite3d errors http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=451 |
Page 1 of 1 |
Author: | kalwalt [ Sat Oct 27, 2012 9:11 am ] |
Post subject: | thermite3d errors |
I would take a look at Thermite3d project just to see and have an idea how polvox works inside an engine, but i receive this error: Quote: -------------- Build: all in Thermite --------------- Using makefile: Makefile [ 1%] Building CXX object CMakeFiles/Thermite.dir/source/VolumeSerializationProgressListenerImpl.o In file included from /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.h:70:0, from /home/walter/thermite3d/Thermite/include/VolumeSerializationProgressListenerImpl.h:27, from /home/walter/thermite3d/Thermite/source/VolumeSerializationProgressListenerImpl.cpp:24: /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl: In function ‘std::shared_ptr<_Tp> PolyVox::loadVolumeRaw(std::istream&, PolyVox::VolumeSerializationProgressListener*)’: /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:46:47: error: expected type-specifier before ‘LargeVolume’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:46:47: error: expected ‘)’ before ‘LargeVolume’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:62:6: error: need ‘typename’ before ‘VolumeType:: VoxelType’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:62:28: error: expected ‘;’ before ‘value’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:63:43: error: ‘value’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl: In function ‘void PolyVox::saveVolumeRaw(std::ostream&, VolumeType&, PolyVox::VolumeSerializationProgressListener*)’: /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:98:3: error: need ‘typename’ before ‘VolumeType:: Sampler’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:98:23: error: expected ‘;’ before ‘volIter’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:112:6: error: ‘volIter’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:113:6: error: need ‘typename’ before ‘VolumeType:: VoxelType’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:113:28: error: expected ‘;’ before ‘value’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:114:44: error: ‘value’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl: In function ‘std::shared_ptr<_Tp> PolyVox::loadVolumeRle(std::istream&, PolyVox::VolumeSerializationProgressListener*)’: /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:146:47: error: expected type-specifier before ‘LargeVolume’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:146:47: error: expected ‘)’ before ‘LargeVolume’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:151:3: error: need ‘typename’ before ‘VolumeType:: VoxelType’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:151:25: error: expected ‘;’ before ‘value’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:152:40: error: ‘value’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl: In function ‘void PolyVox::saveVolumeRle(std::ostream&, VolumeType&, PolyVox::VolumeSerializationProgressListener*)’: /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:212:3: error: need ‘typename’ before ‘VolumeType:: Sampler’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:212:23: error: expected ‘;’ before ‘volIter’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:213:3: error: need ‘typename’ before ‘VolumeType:: VoxelType’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:213:25: error: expected ‘;’ before ‘current’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:229:6: error: ‘volIter’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:230:6: error: need ‘typename’ before ‘VolumeType:: VoxelType’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:230:28: error: expected ‘;’ before ‘value’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:233:7: error: ‘current’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:233:17: error: ‘value’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:239:10: error: ‘value’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:239:19: error: ‘current’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:254:41: error: ‘current’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl: In function ‘bool PolyVox::loadVersion0(std::istream&, VolumeType&, PolyVox::VolumeSerializationProgressListener*)’: /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:325:3: error: need ‘typename’ before ‘VolumeType:: VoxelType’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:325:25: error: expected ‘;’ before ‘value’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:326:40: error: ‘value’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl: In function ‘bool PolyVox::saveVersion0(std::ostream&, VolumeType&, PolyVox::VolumeSerializationProgressListener*)’: /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:380:3: error: need ‘typename’ before ‘VolumeType:: Sampler’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:380:23: error: expected ‘;’ before ‘volIter’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:381:3: error: need ‘typename’ before ‘VolumeType:: VoxelType’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:381:25: error: expected ‘;’ before ‘current’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:397:6: error: ‘volIter’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:398:6: error: need ‘typename’ before ‘VolumeType:: VoxelType’ because ‘VolumeType’ is a dependent scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:398:28: error: expected ‘;’ before ‘value’ /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:401:7: error: ‘current’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:401:17: error: ‘value’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:407:10: error: ‘value’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:407:19: error: ‘current’ was not declared in this scope /usr/local/share/PolyVox/cmake/../../../include/PolyVoxUtil/PolyVoxUtil/Serialization.inl:422:41: error: ‘current’ was not declared in this scope make[2]: *** [CMakeFiles/Thermite.dir/source/VolumeSerializationProgressListenerImpl.o] Errore 1 make[1]: *** [CMakeFiles/Thermite.dir/all] Errore 2 make: *** [all] Errore 2 Process terminated with status 2 (0 minutes, 0 seconds) 43 errors, 0 warnings polyvox works fine outside thermite3d.... it seems that the error is related to cmake but i have no idea how to solve it , someone has some clue for it? Thanks |
Author: | kalwalt [ Sat Oct 27, 2012 6:09 pm ] |
Post subject: | Re: thermite3d errors |
this post viewtopic.php?p=2297#p229 answer to my questions , i think.. i'm sorry for the post |
Author: | David Williams [ Sun Oct 28, 2012 9:22 pm ] |
Post subject: | Re: thermite3d errors |
Yeah, you probably wouldn't be able to make much use of Thermite3D anyway as it's a library not an executable, so you don't have any way to run it. The only real examples of using PolyVox are those which come with it (BasicExample, etc). Any others you find are likely to have become out of date as the API is a moving target at the moment. Are you still working on loading data into PolyVox? If so, you fmight ind it easier to look at something like the BasicExample to see how it just generates a sphere in code. That gives you enough to get the rendering up and running, and then you can come back to loading files later. |
Author: | kalwalt [ Mon Oct 29, 2012 12:42 am ] |
Post subject: | Re: thermite3d errors |
David Williams wrote: Yeah, you probably wouldn't be able to make much use of Thermite3D anyway as it's a library not an executable, so you don't have any way to run it. The only real examples of using PolyVox are those which come with it (BasicExample, etc). Any others you find are likely to have become out of date as the API is a moving target at the moment. Understood, i saw that the examples and test included in the distribution,they are the best reference. I was able to run all the examples inside Openframeworks with a bit of hack. Quote: Are you still working on loading data into PolyVox? If so, you fmight ind it easier to look at something like the BasicExample to see how it just generates a sphere in code. That gives you enough to get the rendering up and running, and then you can come back to loading files later. i decided to wait for the loading feature... because there is alot of things to understand and learn before. I found easyer to generate a mesh with a SimpleVolume and AccidentalNoise like noise generator then to load a .raw file! |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |