Hey,
I checked out polyvox from svn last night, built and installed it. However, the example applications are segfaulting on my system. (polyvox itself is fine i think). In particular, it is segfaulting on PolyVox/examples/Basic/OpenGLWidget.cpp:22 and PolyVox/examples/OpenGL/OpenGLVertexBufferObjectSupport.cpp:48. (stupid segv on glGenBuffers)
This probably has more to do with my linking or system setup than polyvox, but if you have any suggestions as to how I can resolve this issue, I would be glad to hear them. (I usually work with java and php these days, so my c++ has rusted into oblivion)
I am running the 64bit build of OpenSUSE 11.3. A coredump from the opengl example is available at
http://aphyre.com/~elyzion/core.tar.gzgdb stack info:
Code:
#0 0x0000000000000000 in ?? ()
#1 0x000000000043c55b in OpenGLWidget::setSurfaceMeshToRender (this=0x7fffffffdb60, surfaceMesh=...) at /home/elyzion/projects/PolyVox/examples/Basic/OpenGLWidget.cpp:22
#2 0x000000000043725c in main (argc=1, argv=<value optimized out>) at /home/elyzion/projects/PolyVox/examples/Basic/main.cpp:90
Code:
#0 0x0000000000000000 in ?? ()
#1 0x000000000043fa74 in BuildOpenGLSurfaceMesh (mesh=...) at /home/elyzion/projects/PolyVox/examples/OpenGL/OpenGLVertexBufferObjectSupport.cpp:48
#2 0x0000000000440914 in OpenGLWidget::setVolume (this=0x7fffffffd970, volData=0x7fffffffda40) at /home/elyzion/projects/PolyVox/examples/OpenGL/OpenGLWidget.cpp:142
#3 0x000000000043b2ce in main (argc=1, argv=<value optimized out>) at /home/elyzion/projects/PolyVox/examples/OpenGL/main.cpp:120