Home > Software engineering >  Openni_grabber. Exe of 0 x75ea812f in untreated exception: Microsoft C exception: memory location 0
Openni_grabber. Exe of 0 x75ea812f in untreated exception: Microsoft C exception: memory location 0

Time:10-05

[img=https://img-bbs.csdn.net/upload/201404/22/1398162597_655846.jpg] [/img
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 : : ConstPtr & amp; Cloud)
{
if (! Viewer. WasStopped ())
Viewer. ShowCloud (cloud);
}

Void the run ()
{
Photo: : Grabber * interface=new photo: : OpenNIGrabber ();

Boost: : function : : ConstPtr&)> F=
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 you

CodePudding user response:

I also met, could you tell me you have had this problem solve? How to solve? thank you

CodePudding user response:

Could you tell me how to solve the original poster?

CodePudding user response:

I never met upstairs elder people how to solve

CodePudding user response:

Met the same problem, want to solve the

CodePudding user response:

With beg to solve!!!!!!

CodePudding user response:

I also met the same problem, seek solutions, the building Lord guy

CodePudding 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 ,
  • Related