Menu

#1 crash in debug mode

open
nobody
None
5
2007-02-07
2007-02-07
vdevin
No

Hi,

I use the MPT library with Visual Studio 2005 VC++

If I compile in release version it works fine and run fine.
in Debug, it compiles but stops at the initStream.

Here the code :

-----------------
MPEyeFinder *m_eyefinder;

m_eyefinder = new MPEyeFinderBinary();
m_eyefinder->setPixelMax(900);

m_eyefinder->initStream(imgWidth, imgHeight);
-> crash
----------------

it seems that some initialization are not done correctly
ex : m_roi.vmax_y.clear();
and, in debug mode, at the first pointer check, it crashes.

Could you please check if the piece of code works with your install
thanks.

Vincent

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.