It is currently Sat Aug 22, 2020 1:34 pm


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: thermite3d errors
PostPosted: Sat Oct 27, 2012 9:11 am 

Joined: Mon Oct 15, 2012 4:33 pm
Posts: 52
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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: thermite3d errors
PostPosted: Sat Oct 27, 2012 6:09 pm 

Joined: Mon Oct 15, 2012 4:33 pm
Posts: 52
this post viewtopic.php?p=2297#p229 answer to my questions , i think..
i'm sorry for the post


Top
Offline Profile  
Reply with quote  
 Post subject: Re: thermite3d errors
PostPosted: Sun Oct 28, 2012 9:22 pm 
Developer
User avatar

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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: thermite3d errors
PostPosted: Mon Oct 29, 2012 12:42 am 

Joined: Mon Oct 15, 2012 4:33 pm
Posts: 52
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!


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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