Ask Your Question
0

Unhandled Exception Continously Thrown

asked 2012-12-24 17:52:09 -0500

Tyler gravatar image

updated 2012-12-28 16:45:43 -0500

Capture.PNG Capture-2.PNG

I have been round and round with this issue with no luck. I have windows 7 (64 bit) bootcamped on Macbook Pro intel i7 chipset. Visual Studio 2012 Express For Desktop IDE (with latest update installed). C-Make file prep (chose x86 version for compatibility). Build was done in the x86 folder as an unshared project. Variable pointed to "install" file. Build completes fine (see below)...

$(OpenCv_Dir)\include

Multi-threaded Debug (/MTd)

$(OpenCv_Dir)\lib;$(OpenCv_Dir)\share\OpenCV\3rdparty\lib;%(AdditionalLibraryDirectories)

"Additional Dependencies"

opencv_calib3d243d.lib opencv_contrib243d.lib opencv_core243d.lib opencv_features2d243d.lib opencv_flann243d.lib opencv_gpu243d.lib opencv_highgui243d.lib opencv_imgproc243d.lib opencv_legacy243d.lib opencv_ml243d.lib opencv_nonfree243d.lib opencv_objdetect243d.lib opencv_photo243d.lib opencv_stitching243d.lib opencv_ts243d.lib opencv_video243d.lib opencv_videostab243d.lib IlmImfd.lib libjasperd.lib libjpegd.lib libpngd.lib libtiffd.lib zlibd.lib vfw32.lib comctl32.lib libcpmtd.lib

"Inherited Additional Dependencies"

kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

(see screen shot below)

Capture-3.PNG

Capture.PNG

I have removed and reinstalled all programs. No issues with the build. Debug has several issues with the OpenCv source code. (I have referenced these with the above screenshot). Source files are there, directory files are referenced. I am not sure where to go with this other than try on VS 2010 IDE.
Any Ideas Please Let Me Know??????????????? Last pictures shows unresolved problems still exists..

Capture.PNG

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-12-24 23:03:36 -0500

Please add the following items to the library list.

comctl32.lib
gdi32.lib
kernel32.lib
user32.lib
vfw32.lib
libcpmt.lib
Advapi32.lib

Please note the CPU model.

edit flag offensive delete link more

Comments

CPU is a Macbook pro with intel i7 chipset.
I had all the libs you suggested except the last 3. When I installed the last 3 the build failed due to the "libcpmt.lib object not found". I removed that .lib and the same original problem came up... Any other ideas???

Tyler gravatar imageTyler ( 2012-12-25 10:51:27 -0500 )edit

Changed libcpmt.lib to libcpmtd.lib and the build completed just fine (needed to be debug library). Still didn't help the issue. See my revised question above for the screen shot of output errors...

Tyler gravatar imageTyler ( 2012-12-25 11:19:01 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-12-24 17:52:09 -0500

Seen: 254 times

Last updated: Dec 28 '12