OpenCVVersions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
# Download the desired version of OpenCV from [http://opencv.org/downloads.html here] | # Download the desired version of OpenCV from [http://opencv.org/downloads.html here] | ||
# Double click the downloaded executable to install, and select <code> run</code> at the prompt | # Double click the downloaded executable to install, and select <code> run</code> at the prompt | ||
# Choose | # Choose a home directory as installation location home directory as shown below, where "username" is the actual username. | ||
# Click extract, to install opencv files | # Click extract, to install opencv files | ||
#* [[File: Install_location.png|400px]] | #* [[File: Install_location.png|400px]] | ||
Line 28: | Line 28: | ||
#** Executable Directories...add: '''{OPENCV}''\build\x64\vc10\bin;' | #** Executable Directories...add: '''{OPENCV}''\build\x64\vc10\bin;' | ||
#** Library Directories...add: '''{OPENCV}''\build\x64\vc10\lib;''{OPENCV}''\build\x64\vc10\staticlib;' | #** Library Directories...add: '''{OPENCV}''\build\x64\vc10\lib;''{OPENCV}''\build\x64\vc10\staticlib;' | ||
==== More Information ==== | |||
*http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation |
Revision as of 19:54, 5 August 2014
WIN32
These directions are for 64-bit systems First, we install opencv
- Download the desired version of OpenCV from here
- Double click the downloaded executable to install, and select
run
at the prompt - Choose a home directory as installation location home directory as shown below, where "username" is the actual username.
- Click extract, to install opencv files
Without CUDA
-
The path to the folder you extracted is from here on refered to as {OPENCV}
Next, we setup environmental variables
- Navigate to
Control Panel
->System and Security
->System
- Select
Advanced system settings
from the sidebar - In the
Advanced
tab click theEnvironment Variables...
button - Check if a Variable called
Path
exists in the list of user variables (the top variables)- If it exists, click edit to edit the variable, and add a semicolon, then the following to the end of the Path value
{OPENCV}\build\x64\vc10\bin
- If it does not, press the New button and set the variable name to
Path
and the value to the path to your opencv directory ({OPENCV})
- If it exists, click edit to edit the variable, and add a semicolon, then the following to the end of the Path value
Visual Studio Project Set-Up
- Go to Project -> Properties
- Configuration Properties -> C/C++ -> General
- Additional Include Directories...add: '{OPENCV}\build\include;'
- Configuration Properties -> VC++ Directories
- Executable Directories...add: '{OPENCV}\build\x64\vc10\bin;'
- Library Directories...add: '{OPENCV}\build\x64\vc10\lib;{OPENCV}\build\x64\vc10\staticlib;'
- Configuration Properties -> C/C++ -> General