Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error Building OpenCV + Contribute with CMake Release mode

Hi, i'm a newbie to OpenCV and i was following this tutorial on youtube link text

In debug mode it works but not in release mode. I'm on Visual Studio 2017 and Win10 OS. Basically the problem is on project ade. I saw it's a dll but ade project generates ade.dll in Debug mode (it's inside \lib\Debug) but it doesn't generate -dll in Release mode so when i try to build OpenCV Solution in Release mode i have a missing dll in another project. The weird thing is that if i click on project proprierties of Ade project i see this: image description

I'm not sure if ade project has two different .dll like other projects (opencv_aruco400d.lib and opencv_aruco400.lib for example), probably not as i see ade.lib in Debug folder without "d" of Debug mode. I could prolly copy ade.lib inside Release folder and maybe it works but i'm not happy. Probably i missed something on cmake??? Thanks in advance

click to hide/show revision 2
None

updated 2018-11-06 06:11:51 -0600

berak gravatar image

Error Building OpenCV + Contribute with CMake Release mode

Hi, i'm a newbie to OpenCV and i was following this tutorial on youtube link text

In debug mode it works but not in release mode. I'm on Visual Studio 2017 and Win10 OS. Basically the problem is on project ade. I saw it's a dll but ade project generates ade.dll in Debug mode (it's inside \lib\Debug) but it doesn't generate -dll in Release mode so when i try to build OpenCV Solution in Release mode i have a missing dll in another project. The weird thing is that if i click on project proprierties of Ade project i see this: image description

I'm not sure if ade project has two different .dll like other projects (opencv_aruco400d.lib and opencv_aruco400.lib for example), probably not as i see ade.lib in Debug folder without "d" of Debug mode. I could prolly copy ade.lib inside Release folder and maybe it works but i'm not happy. Probably i missed something on cmake??? Thanks in advance

Error Building OpenCV + Contribute with CMake Release mode

Hi, i'm a newbie to OpenCV and i was following this tutorial on youtube link text

When i build "ALL_BUILD" CmakeTargets In debug mode it works but not in release mode. I'm on Visual Studio 2017 and Win10 OS. Basically the problem is on project ade. "ade". I saw it's a dll but ade project generates ade.dll in Debug mode (it's inside \lib\Debug) but it doesn't generate -dll .dll in Release mode so when i try to build OpenCV Solution "ALL_BUILD" CmakeTargets in Release mode i have a missing dll in another project. The weird thing is that if i click on project proprierties of Ade project i see this: image description

I'm not sure if ade project has two different .dll like other projects (opencv_aruco400d.lib and opencv_aruco400.lib for example), probably not as i see ade.lib in Debug folder without "d" of Debug mode. I could prolly copy ade.lib inside Release folder and maybe it works but i'm not happy. Probably i missed something on cmake??? Thanks in advance