PCL Visualizer demo crashes in debug mode but works in release mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

PCL Visualizer demo crashes in debug mode but works in release mode

Mike6000
I have used the all in one installer from Una Nancy Owen and compiled VTK and
PCL1.8.1.
The demo application where I can drag the sliders etc works as this picture
shows:

<http://www.pcl-users.org/file/t498883/pcl_visualizer.jpg>

Problem: when I try to run the debugger on the debug version I get a crash:
Exception at 0x7fffff2e8238, code: 0xc0000005: read access violation at:
0x0, flags=0x0 (first chance)

The crash occurs in line 296 of the file pcl_visualizer.hpp
when this is reached: polydata->SetPoints (points);

I have read somewhere that this crash may be to some mixup between debug
version of libraries and release version of libraries but I am not sure. I
am a learner of both qt and PCL so I need help to sort out how to debug /
fix this.

The VTK library files have been copied to C:\Program Files\VTK\bin
Note: there are both vtkCommonCore-8.0.dll AND vtkCommonCore-8.0-gd.dll in
the same bin directory.
However the debug files have -gd extension.

HELP! :)






--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users