Hi would like to take a look into it but i got these errors:
Quote:
-------------- Build: all in ogredemo ---------------
Using makefile: Makefile
[ 8%] Building CXX object CMakeFiles/ogredemo_a.dir/src/ogre_utility.cpp.o
[ 16%] Building CXX object CMakeFiles/ogredemo_a.dir/src/volume_renderer.cpp.o
In file included from /home/walter/polyvox-tva/./include/tree/tree.h:30:0,
from /home/walter/polyvox-tva/src/volume_renderer.h:33,
from /home/walter/polyvox-tva/src/volume_renderer.cpp:27:
/home/walter/polyvox-tva/./include/cube/cube.h:106:23: error: ‘enable_if’ in namespace ‘boost’ does not name a type
/home/walter/polyvox-tva/./include/cube/cube.h:106:32: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/walter/polyvox-tva/./include/cube/cube.h:188:29: error: ‘enable_if’ in namespace ‘boost’ does not name a type
/home/walter/polyvox-tva/./include/cube/cube.h:188:38: error: expected ‘,’ or ‘...’ before ‘<’ token
In file included from /home/walter/polyvox-tva/src/volume_renderer.h:45:0,
from /home/walter/polyvox-tva/src/volume_renderer.cpp:27:
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h: In static member function ‘static void demo_tva_traits_a::get_interpolated_transition_data(interpolated_type&, interpolated_position_type&, const cell_type&, const corner_type&, const density_type&, const corner_type&, const density_type&)’:
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1359:5: error: ‘getThreshold’ is not a member of ‘demo_tva_traits_a::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1359:5: error: ‘getThreshold’ is not a member of ‘demo_tva_traits_a::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1367:30: error: ‘getThreshold’ is not a member of ‘demo_tva_traits_a::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h: In static member function ‘static void demo_tva_traits_a::get_interpolated_data(interpolated_type&, interpolated_position_type&, const cell_type&, const corner_type&, const density_type&, const corner_type&, const density_type&)’:
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1404:5: error: ‘getThreshold’ is not a member of ‘demo_tva_traits_a::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1404:5: error: ‘getThreshold’ is not a member of ‘demo_tva_traits_a::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1414:42: error: ‘getThreshold’ is not a member of ‘demo_tva_traits_a::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1472:7: error: ‘getThreshold’ is not a member of ‘demo_tva_traits_a::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1477:7: error: ‘getThreshold’ is not a member of ‘demo_tva_traits_a::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
/home/walter/polyvox-tva/src/volume_renderer.cpp: In member function ‘virtual void test_volume_renderer::initialize_voxel_volume(volume_renderer::tree_type&) const’:
/home/walter/polyvox-tva/src/volume_renderer.cpp:404:48: error: ‘getThreshold’ is not a member of ‘volume_renderer::VoxelType {aka PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>}’
In file included from /home/walter/polyvox-tva/src/volume_renderer.h:45:0,
from /home/walter/polyvox-tva/src/volume_renderer.cpp:27:
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h: In member function ‘bool tva::polyvox_volume_deck_row_cell_range_t<traits, VolumeType, VoxelType>::voxel_t::solid() const [with traits = demo_tva_traits_a, VolumeType = PolyVox::RawVolume<PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> >, VoxelType = PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>]’:
/home/walter/polyvox-tva/./include/tva/surface_extractor.inl.h:298:9: instantiated from ‘static void tva::surface_extractor<traits>::extract_cell_triangles(foreach_triangle_t, const relative_position_type&, const cell_type&) [with foreach_triangle_t = boost::_bi::bind_t<void, void (*)(tva::deck_vertices<demo_tva_traits_a, tva::cell_vertex<demo_tva_traits_a>, cube::corner_t, boost::array<long unsigned int, 3ul> >&, tva::deck_vertices<demo_tva_traits_a, tva::cell_vertex<demo_tva_traits_a>, cube::corner_t, boost::array<long unsigned int, 3ul> >&, tva::deck_indices<tva::deck_vertices<demo_tva_traits_a, tva::cell_vertex<demo_tva_traits_a>, cube::corner_t, boost::array<long unsigned int, 3ul> > >&, const tva::cell_t<tva::polyvox_volume_deck_row_cell_range_t<demo_tva_traits_a, PolyVox::RawVolume<PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> >, PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> > >&, const boost::array<long unsigned int, 3ul>&, const boost::array<long unsigned int, 3ul>&, const boost::array<tva::surface_extractor<demo_tva_traits_a>::cell_vertex_data<tva::cell_t<tva::polyvox_volume_deck_row_cell_range_t<demo_tva_traits_a, PolyVox::RawVolume<PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> >, PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> > >, boost::array<long unsigned int, 3ul> >, 3ul>&), boost::_bi::list7<boost::reference_wrapper<tva::deck_vertices<demo_tva_traits_a, tva::cell_vertex<demo_tva_traits_a>, cube::corner_t, boost::array<long unsigned int, 3ul> > >, boost::reference_wrapper<tva::deck_vertices<demo_tva_traits_a, tva::cell_vertex<demo_tva_traits_a>, cube::corner_t, boost::array<long unsigned int, 3ul> > >, boost::reference_wrapper<tva::deck_indices<tva::deck_vertices<demo_tva_traits_a, tva::cell_vertex<demo_tva_traits_a>, cube::corner_t, boost::array<long unsigned int, 3ul> > > >, boost::arg<1>, boost::arg<2>, boost::reference_wrapper<const boost::array<long unsigned int, 3ul> >, boost::arg<3> > >, relative_position_type = boost::array<long unsigned int, 3ul>, cell_type = tva::cell_t<tva::polyvox_volume_deck_row_cell_range_t<demo_tva_traits_a, PolyVox::RawVolume<PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> >, PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> > >, traits = demo_tva_traits_a]’
/home/walter/polyvox-tva/./include/tva/surface_extractor.inl.h:139:9: instantiated from ‘static void tva::surface_extractor<traits>::execute(VertexOutputIterator, IndexOutputIterator, deck_range_t) [with VertexOutputIterator = std::back_insert_iterator<std::vector<tva::cell_vertex<demo_tva_traits_a> > >, IndexOutputIterator = std::back_insert_iterator<std::vector<unsigned int> >, deck_range_t = tva::polyvox_volume_deck_row_cell_range_t<demo_tva_traits_a, PolyVox::RawVolume<PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> >, PolyVox::MaterialDensityPair<unsigned int, 16u, 16u> >, traits = demo_tva_traits_a]’
/home/walter/polyvox-tva/src/volume_renderer.cpp:580:45: instantiated from here
/home/walter/polyvox-tva/./include/tva/polyvox_utils.h:1188:60: error: ‘getThreshold’ is not a member of ‘PolyVox::MaterialDensityPair<unsigned int, 16u, 16u>’
make[2]: *** [CMakeFiles/ogredemo_a.dir/src/volume_renderer.cpp.o] Errore 1
make[1]: *** [CMakeFiles/ogredemo_a.dir/all] Errore 2
make: *** [all] Errore 2
Process terminated with status 2 (0 minutes, 8 seconds)
14 errors, 0 warnings
Is it related to different version of polyvox or what?