c++dllflycapture

dll error flycapture


I'm using Visual studio 2010 and I use a point gray camera. I use the flycapture libs and dll's to capture the video stream in my application. I use the FlyCapture2.dll, FlyCapture2d.dll and libiomp5md.dll (all 32 bit). My application compiles and links with the static libraries perfectly and in release mode it also runs perfectly. However, in debug mode I get the following error: The application was unable to start correctly (0xc0150002). click OK to close the application.

I think that there is a problem with the dynamic libraries of flycapture. I use the lastest version of flycapture but I am unable to fix this problem.

Thanks


Solution

  • I had the same problem, it seems that the .pdb file is missing in the flycapture sdk for Flycapture2d.dll. My quick solution was to use the FlyCapture2.dll even under the debug mode.