Environment Description:
Environment:
OS:WIN7 SP1
opencv:2.4.7
vs2012
Build process:
PS: The machine was originally installed vs2012
1.opencv
1.1 Download, directly double-click the installation can be.
Here my installation location for D:\\OPENCV, modify their own according to need, set up the installation location for OPENCV
1.2 Environment variable Configuration
Setting up procedures: Computer-> Properties-> advanced system settings-> environment variables
Under System variable, new: Opencv_dir
Here Opencv_dir address is: OPENCV\BUILD\X86\VC11
x86: Represents 32-bit systems (64-bit with x64)
VC11: Express vs2012 (vs2010 with VC10)
Ps:64 bit system recommended to use to x86, with x64 below may be their own stupid cry.
Under System variables, append in Path
%opencv_dir%\bin
PS: Remember to add '; '
Here you can test whether the OPENCV environment variable is in effect,
Win+r, then enter opencv_performance
See if a black box appears