Hi there,
didn't manage to finish my post yesterday, but I corrected those 'nullptr' errors and two more, and got some new errors... This time they report to Qt library.
variable has incomplete type 'std::random_access_iterator_tag'
inline bool selectIteration(std::random_access_iterator_tag)
and a warning for mac os x compatibility.
Anyway, I managed to get the samples compiled.
The SmoothLOD crashes with a
Code:
Initialising GLEW...success
OpenGL Implementation Details:
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce GT 650M OpenGL Engine
GL_VERSION: 2.1 NVIDIA-8.26.28 310.40.55b01
GL_SHADING_LANGUAGE_VERSION: 1.20
Segmentation fault: 11
I'll be looking into the library and code in more detail. Great work, congrats!
Best,
FB
Code:
[ 16%] Built target PolyVoxCore
[ 18%] Built target PolyVoxUtil
[ 23%] Built target BasicExample
[ 29%] Built target PagingExample
[ 40%] Built target OpenGLExample
[ 44%] Built target SmoothLODExample
[ 46%] Building CXX object tests/CMakeFiles/TestAStarPathfinder.dir/TestAStarPathfinder.cpp.o
In file included from /Users/fbernardo/Documents/Development/_cppprojects/polyvox/tests/TestAStarPathfinder.cpp:24:
In file included from /Users/fbernardo/Documents/Development/_cppprojects/polyvox/tests/TestAStarPathfinder.h:27:
In file included from /Library/Frameworks/QtCore.framework/Headers/QObject:1:
In file included from /Library/Frameworks/QtCore.framework/Headers/qobject.h:47:
In file included from /Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45:
In file included from /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:320:6: warning: "This version of Mac OS X is unsupported" [-W#warnings]
# warning "This version of Mac OS X is unsupported"
^
In file included from /Users/fbernardo/Documents/Development/_cppprojects/polyvox/tests/TestAStarPathfinder.cpp:30:
In file included from /Library/Frameworks/QtTest.framework/Headers/QtTest:3:
In file included from /Library/Frameworks/QtCore.framework/Headers/QtCore:80:
In file included from /Library/Frameworks/QtCore.framework/Headers/qtconcurrentfilter.h:49:
In file included from /Library/Frameworks/QtCore.framework/Headers/qtconcurrentfilterkernel.h:49:
/Library/Frameworks/QtCore.framework/Headers/qtconcurrentiteratekernel.h:154:60: error: variable has incomplete type 'std::bidirectional_iterator_tag'
inline bool selectIteration(std::bidirectional_iterator_tag)
^
/Library/Frameworks/QtCore.framework/Headers/qiterator.h:50:12: note: forward declaration of 'std::bidirectional_iterator_tag'
struct bidirectional_iterator_tag;
^
In file included from /Users/fbernardo/Documents/Development/_cppprojects/polyvox/tests/TestAStarPathfinder.cpp:30:
In file included from /Library/Frameworks/QtTest.framework/Headers/QtTest:3:
In file included from /Library/Frameworks/QtCore.framework/Headers/QtCore:80:
In file included from /Library/Frameworks/QtCore.framework/Headers/qtconcurrentfilter.h:49:
In file included from /Library/Frameworks/QtCore.framework/Headers/qtconcurrentfilterkernel.h:49:
/Library/Frameworks/QtCore.framework/Headers/qtconcurrentiteratekernel.h:164:60: error: variable has incomplete type 'std::random_access_iterator_tag'
inline bool selectIteration(std::random_access_iterator_tag)
^
/Library/Frameworks/QtCore.framework/Headers/qiterator.h:51:12: note: forward declaration of 'std::random_access_iterator_tag'
struct random_access_iterator_tag;
^
1 warning and 2 errors generated.
make[2]: *** [tests/CMakeFiles/TestAStarPathfinder.dir/TestAStarPathfinder.cpp.o] Error 1
make[1]: *** [tests/CMakeFiles/TestAStarPathfinder.dir/all] Error 2
make: *** [all] Error 2