PDA

View Full Version : Please help me slove a very strange problem with Qt + OpenCV. Thanks !



diego
30th June 2009, 04:54
Hi all.
I am starting working with camera. I went to here and downloaded source code
http://www.qt-apps.org/content/show.php/Qt+Opencv+webcam+viewer?content=89995

Continued :
I installed Qt and OpenCV on my computer

I changed my.pro file


TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += "C:\OpenCV\cxcore\include" \
"C:\OpenCV\cv\include" \
"C:\OpenCV\cvaux\include"
win32 {
LIBS += -L"C:\OpenCV\lib"
}
LIBS += -lcv -lhighgui
SOURCES += main.cpp QOpenCVWidget.cpp MyCameraWindow.cpp
HEADERS += QOpenCVWidget.cpp MyCameraWindow.h


I builded my project. Done
I runs. It appears a very strange bugs


Starting C:/Documents and Settings/Mr. Diego/My Documents/QtOpenCV/debug/QtOpenCV.exe...
C:/Documents and Settings/Mr. Diego/My Documents/QtOpenCV/debug/QtOpenCV.exe exited with code -1072365566


What happens with me ? Please help me.

Thanks in advance.
Diego

nish
30th June 2009, 06:21
put a break point in the very first line of your main().. then debug step by step..

diego
30th June 2009, 10:18
Hi MrDeath.
I can not debug this problem.
Because it died at once i runs....
Cuold you help me understand my misstake ?

Thanks.
Diego

nish
30th June 2009, 10:28
how are u debuging?

diego
30th June 2009, 11:12
Hi MrDeath
I see on My screen

LDR: LdrpWalkImportDescriptor() failed to probe C:\\OpenCV\\bin\\highgui110.dll for its manifest, ntstatus 0xc0150002

Could you explain me ?