From: Parthiban Marimuthu <66585214+partheee@users.noreply.github.com> Date: Thu, 15 Dec 2022 21:52:08 +0000 (+0530) Subject: Merge pull request #22907 from partheee:patch-1 X-Git-Tag: accepted/tizen/unified/20230127.161057~1^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50da209dc4e0357b0bf11c9c4c42454f8485abb3;p=platform%2Fupstream%2Fopencv.git Merge pull request #22907 from partheee:patch-1 * Update windows_install.markdown Fixing Issue - #22053 Inaccuracy in the tutorial for installation for Windows * Update windows_install.markdown #22907 Changed all changes mentioned in the comments * Update windows_install.markdown #22907 * fix whitespace, update configurations order (64-bit goes first) - x86 is optional and not available by default in packages --- diff --git a/doc/tutorials/introduction/windows_install/windows_install.markdown b/doc/tutorials/introduction/windows_install/windows_install.markdown index 87f2e51eb8..57a3c785c0 100644 --- a/doc/tutorials/introduction/windows_install/windows_install.markdown +++ b/doc/tutorials/introduction/windows_install/windows_install.markdown @@ -370,18 +370,18 @@ Set the OpenCV environment variable and add it to the systems path {#tutorial_wi First, we set an environment variable to make our work easier. This will hold the build directory of our OpenCV library that we use in our projects. Start up a command window and enter: @code - setx -m OPENCV_DIR D:\OpenCV\Build\x86\vc11 (suggested for Visual Studio 2012 - 32 bit Windows) - setx -m OPENCV_DIR D:\OpenCV\Build\x64\vc11 (suggested for Visual Studio 2012 - 64 bit Windows) + setx OpenCV_DIR D:\OpenCV\build\x64\vc14 (suggested for Visual Studio 2015 - 64 bit Windows) + setx OpenCV_DIR D:\OpenCV\build\x86\vc14 (suggested for Visual Studio 2015 - 32 bit Windows) - setx -m OPENCV_DIR D:\OpenCV\Build\x86\vc12 (suggested for Visual Studio 2013 - 32 bit Windows) - setx -m OPENCV_DIR D:\OpenCV\Build\x64\vc12 (suggested for Visual Studio 2013 - 64 bit Windows) + setx OpenCV_DIR D:\OpenCV\build\x64\vc15 (suggested for Visual Studio 2017 - 64 bit Windows) + setx OpenCV_DIR D:\OpenCV\build\x86\vc15 (suggested for Visual Studio 2017 - 32 bit Windows) - setx -m OPENCV_DIR D:\OpenCV\Build\x64\vc14 (suggested for Visual Studio 2015 - 64 bit Windows) + setx OpenCV_DIR D:\OpenCV\build\x64\vc16 (suggested for Visual Studio 2019 - 64 bit Windows) + setx OpenCV_DIR D:\OpenCV\build\x86\vc16 (suggested for Visual Studio 2019 - 32 bit Windows) @endcode Here the directory is where you have your OpenCV binaries (*extracted* or *built*). You can have different platform (e.g. x64 instead of x86) or compiler type, so substitute appropriate value. -Inside this, you should have two folders called *lib* and *bin*. The -m should be added if you wish -to make the settings computer wise, instead of user wise. +Inside this, you should have two folders called *lib* and *bin*. If you built static libraries then you are done. Otherwise, you need to add the *bin* folders path to the systems path. This is because you will use the OpenCV library in form of *"Dynamic-link