From 73aa0e66b978e697063b8d9f7e80d1e5cff78a8c Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Fri, 13 Apr 2012 13:01:43 +0000 Subject: [PATCH] minor changes in windows install tutorial --- doc/tutorials/introduction/windows_install/windows_install.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorials/introduction/windows_install/windows_install.rst b/doc/tutorials/introduction/windows_install/windows_install.rst index 9b3a82d..86d73ed 100644 --- a/doc/tutorials/introduction/windows_install/windows_install.rst +++ b/doc/tutorials/introduction/windows_install/windows_install.rst @@ -347,7 +347,7 @@ Set the OpenCV enviroment variable and add it to the systems path First we set an enviroment variable to make easier our work. This will hold the install directory of our OpenCV library that we use in our projects. Start up a command window and enter: -.. code-block:: bash +:: setx -m OPENCV_DIR D:\OpenCV\Build\Install @@ -355,7 +355,7 @@ Here the directory is where you have your OpenCV binaries (*installed* or *built If you built static libraries then you are done. Otherwise, you need to add the *bin* folders path to the systems path.This is cause you will use the OpenCV library in form of *\"Dynamic-link libraries\"* (also known as **DLL**). Inside these are stored all the algorithms and information the OpenCV library contains. The operating system will load them only on demand, during runtime. However, to do this he needs to know where they are. The systems **PATH** contains a list of folders where DLLs can be found. Add the OpenCV library path to this and the OS will know where to look if he ever needs the OpenCV binaries. Otherwise, you will need to copy the used DLLs right beside the applications executable file (*exe*) for the OS to find it, which is highly unpleasent if you work on many projects. To do this start up again the |PathEditor|_ and add the following new entry (right click in the application to bring up the menu): -.. code-block:: bash +:: %OPENCV_DIR%\bin -- 2.7.4