Ask Your Question
-1

OpenCV2.4.2 crash when calling solvePnP()

asked 2012-08-26 04:39:42 -0500

I'm using openCV 2.4.2 with Qt 4.8.0

when i use the solvePnP function ,i get a error when i start the program ,it says "can't not find the entry point" ,about the libstdc++-6.dll

if i don't use solvePnP ,everything work fine.

so i compile openCV2.4.2 from source ,use compiler minGW 4.4 from qt , and get the library of debug and release version

it work with the debug version ,but crash with release version

i try to change option of makefile(use CMake 2.8)

  1. use static library -- fail to link
  2. change optimize level from O3 to O2 --still crash
  3. disable SSE & SSE2 -- crash

any idea? thanks for reading.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-08-26 07:35:04 -0500

i find out how to make it work! i use TDM-minGW( v4.6.1) compile angain and problem solve ( cancel the cuda and eigen support) it seems like the version of mingw(4.4) in Qt is too old

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-08-26 04:39:42 -0500

Seen: 424 times

Last updated: Aug 26 '12