crash - OpenCV crashes trying to read a video with RELEASE build -
using
videocapture vcc("somedir/somefile.avi");
as first line in code (opencv 2.x, win7, vs2010), execution release crashes debug works fine .. slow expected though. crashes when trying read video file means passing string constructor.
the error looks this:
unhandled exception @ 0x00905a4d in somename.exe: 0xc0000005: access violation.
what i've tried far:
- multiple opencv2.x versions svn
- different computer
- different video files
- with or without cuda, tbb, eigen, ...
i created new project single line in .. still crashes on release only.
alright .. solved own problem after 2 weeks.
i changed project option "with debugging information" yes in (sub)project opencv_ffmpeg (in solution opencv) release build.
interestingly works "with" , "without debugging" when running .. both didn't work before.
Comments
Post a Comment