Hello, On Wed, Mar 19, 2014 at 3:12 AM, 郭晓新 <guo_xiao...@163.com> wrote: > I want to use vtk with scene graph, and I notice that opensg provides the > integration with vtk. I build the whole code of opensg including > contributing code of vtk. But when I tried the test code provided in opensg > package named testvtk, testvtkcluster and testvtkclusterconnect, they all > crashed. So I want to know if it is the problem of vtk version compatibility > that vtk version developer used is different from mine, which is vtk-5.10.0, > or any other reasen that I don't know and how to fix it.
I don't know for certain, but I *thought* VTK was not doing application breaking API changes unless the major version number changed. So unless you are in the unlucky situation of running into a bug that was introduced in 5.10.0 a different version should not be a big issue. > To be specific, the crash point is the line "file1->updateVolume();" in the > testvtk code. I thought it might be the vtk data didn't be loaded correctly. > But it didn't report any error or alert when I trace the whole code line by > line from the beginning. > A bit confused and depressed. > Thank you for your help and assistant in advance. Hmm, I've looked at the testVTK.cpp code, but could not spot anything obvious that could be the cause. I'll try to reproduce it this evening (CET timezone). Can you run any of the other (non-VTK related) OpenSG test/example programs? Cheers, Carsten ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users