Upload
others
View
58
Download
3
Embed Size (px)
Citation preview
You will need
● OpenCV-2.4.2.exe● QtSdk-offline-win-x86-v1_2_1.exe● mingw-get-inst-20120426.exe
– codeblocks-10.05mingw-setup.exe will also do
● cmake-2.8.9-win32-x86.exe● SetupPathEditor.msi will be helpful
Step 1
● Install open OpenCV into C:\ folder by double-clicking OpenCV-2.4.2.exe
● It will create C:\opencv folder and unzip everything there
Step 3
● Install MinGW compiler by running mingw-get-inst-20120426.exe or installing Code::blocks IDE (codeblocks-10.05mingw-setup.exe) which contains MinGW compiler
Step 4
● Add paths for MinGW and Qt to PATH– C:\MinGW\bin
● or C:\Program Files\CodeBlocks\MinGW\bin if you want MinGW that is supplied with Code::blocks
– C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin
Step 6 continue
● Select MinGW Makefiles● Select Specify native compilers● Choose compilers like shown below and press
Finish.
Step 6 still
● QT_MAKE_EXECUTABLE– C:/QtSDK/Desktop/Qt/4.7.4/mingw/bin/qmake.exe
● BUILD_EXAMPLES● CMAKE_BUILD_TYPE
– Debug
● Configure● Generate● Close Cmake