When VS2010 compile a piece of code: openni_grabber. Exe of 0 x75ea812f in untreated exception: Microsoft c + + exceptions: memory location 0 x0012f348 PCLS: : PCLIOException,
Compilation is successful, but the emergence of a window, the above problems, please everyone a great god help me solve the passing time, grateful
The source code is
# include
# include
#include
#include
# ifdef _WIN32
# define sleep sleep (x) (x) (* 1000)
# endif
The class SimpleOpenNIViewer
{
Public:
SimpleOpenNIViewer () : the viewer (PCLS "OpenNI viewer") {}
Void cloud_cb_ (const PCLS: : PointCloud
{
if (! Viewer. WasStopped ())
Viewer. ShowCloud (cloud);
}
Void the run ()
{
Photo: : Grabber * interface=new photo: : OpenNIGrabber ();
Boost: : function
Boost: : bind (& amp; SimpleOpenNIViewer: : cloud_cb_, this, _1);
Interface - & gt; RegisterCallback (f);
Interface - & gt; Start ().
while (! Viewer. WasStopped ())
{
//boost: : this_thread: : sleep (boost: : posix_time: : seconds (1));
}
Interface - & gt; Stop ();
}
Photo: the visualization: : CloudViewer viewer;
};
Int main ()
{
SimpleOpenNIViewer v.
V.r UN ();
return 0;
}
CodePudding user response:
I also met, could you tell me you have had this problem solve? How to solve? thank youCodePudding user response:
I also met, could you tell me you have had this problem solve? How to solve? thank youCodePudding user response:
Could you tell me how to solve the original poster?CodePudding user response:
I never met upstairs elder people how to solveCodePudding user response:
Met the same problem, want to solve theCodePudding user response:
With beg to solve!!!!!!CodePudding user response:
I also met the same problem, seek solutions, the building Lord guyCodePudding user response:
Collapsed in the pop-up dialog box, press the corresponding button to enter debugging press Alt + 7 key to view the Call Stack, namely "the Call Stack" from the inside to the following out of from the inner to outer function Call history, double-click a row to the cursor to the Call of the source code or assembly instruction, don't understand when double click on the next line, until we can read ,