[vtkusers] Program crashes at return EXIT_SUCCESS in QT Creator
Alex Liu
tehsunnliu at yahoo.com
Tue Dec 20 04:29:59 EST 2016
Hi all.
I build vtk using mingw32 in windows 7-64bit. When I run any VTK program it
runs fine till it hits the line return EXIT_SUCCESS or return 0, even the
simplest example VTK Hello World Example
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Rendering/Cylinder>
I tried adding
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkInteractionStyle)
VTK_MODULE_INIT(vtkRenderingFreeType)
VTK_MODULE_INIT(vtkRenderingOpenGL2)
//VTK_MODULE_INIT(vtkDomainsChemistryOpenGL2)
//VTK_MODULE_INIT(vtkRenderingContextOpenGL2)
//VTK_MODULE_INIT(vtkRenderingVolumeOpenGL2)
but nothing helps.
I don't get any error message from vtk. All i get is
Error - RtlWerpReportException failed with status code :-1073741823. Will
try to launch the process directly
from QT error window.
I noticed one thing, that is, the program only crashes if i render window
and display it.
Please help me with this problem.
Thank you all.
Alex.
-----
Alex Liu
+15574855474
--
View this message in context: http://vtk.1045678.n5.nabble.com/Program-crashes-at-return-EXIT-SUCCESS-in-QT-Creator-tp5741607.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list