Create Aruco Marker in Visual Studio 2012 : opencv_aruco320.dll is missing from your computer
I followed the entire steps from OpenCV Basics - 15 - Aruco Markers tutorial video : youtube.com/watch?v=ZI9uZ9EEeYQ about how to create aruco marker using OpenCV in Visual Studio(by George Lecakes). However after build the markers were not generated, and when I run the application I encountered error :
The program can't start because opencv_aruco320.dll is missing from your computer. Try reinstalling to fix this problem
What I have done ?
- VC++ Directories Include Dirctory : Specified. OK
- C\C++ Additional Include Directory : Specified. OK
- Linker Additional Library Directories : Specified. OK
- Use Library Dependency Input : Checked
- Linker Input Additional Dependencies : opencv_aruco320.lib, opencv_calib3d320.lib, opencv_ccalib320.lib, opencv_core320.lib, opencv_highgui320.lib, opencv_imgcodecs320.lib, opencv_imgproc320.lib, opencv_video320.lib, opencv_videoio320.lib (Here, I'm using Release)
- Opencv bin & lib Path in Windows Environment : Specified. OK
- Restart both of VS2012 or Windows.
Any advice ? Thanks in advance.
can you find opencv_aruco320.dll in your computer? Have you build with success aruco module in opencv_contrib?
Yes, I can find it inside the exact same folder that I have specified. Of couse.. I have build aruco module using CMake.
Check if you are in debug or release (x320d.dll or x320.dll). If you have stil problem copy all dll where is your exe file. Of course it will not solve your problem for next project...
Yes, I actually also did the dirty trick by copying all the .dll files I need in my Release executable folder (contained .exe file). I just wonder if there's a more decent way to fix this error.
Yes you have to add in Path variable (systeme varaible) folder where all release dll are and all debug dll too.