Ask Your Question
1

Opencv 3.0, visual studio 2013-

asked 2015-05-28 07:31:53 -0600

zenmonkeyfish gravatar image

Ok, basically I am trying to compile a test program to make sure that I installed and linked opencv and visual studio properly. I seems that I haven't although I have triple checked my system enviromental variable and path variable, as well as the linker and c/c++ properties for visual studio.

It builds, but when I try and debug, an error message associated with the executable pops up and tells me the program can't start b/c opencv_world300.dll is missing from my computer. I checked my opencv bin under the proper operating system and compiler and the file is most definitely there. I even shamefully copied the file into the lib and staticlib folders so that the it couldn't be missed, yet to no avail.

Also when I click ok, this error follows: "Unhandled exception at 0x00007FFE2016C180 (ntdll.dll) in ConsoleApplication1.exe: 0xC0000135: Unable to Locate DLL."

Any help would be great. I'm kind of stuck.

My operating system is windows 8 (if this matters).

Thanks Rowan

edit retag flag offensive close merge delete

Comments

May be you should installed source files and used CMake to create project file for visual studio 2013. after you can build all libs and sample for opencv. I think that's it's really the best way .

LBerger gravatar imageLBerger ( 2015-05-28 10:16:29 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-07-28 15:40:18 -0600

updated 2015-08-02 05:57:13 -0600

You are trying to build for x64 architecture? If so, It's because your application try to load the wrong version of dll. To check this, first of all try to copy all the *300.dll in your output dir (for Release) or *300d.dll (for Debug).

Run the .exe program and if now it works, all you have to do is to make a custom build in order to copy the right opencv dll in your outdir at every build. Or you must put on your path the opencv build\bin dir.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-05-28 07:31:53 -0600

Seen: 2,557 times

Last updated: Aug 02 '15