Difference between revisions of "Kameie on Windows for development"

From wiki.ferrari.mo.it
Jump to navigation Jump to search
 
Line 8: Line 8:
  
 
3. Run CMake GUI and click configure.
 
3. Run CMake GUI and click configure.
 +
 +
Cmake Gui
 +
C:\OpenCV\sources
 +
C:\OpenCV\opencv-build
 +
 +
C:/Qt/Tools/mingw730_64/bin/gcc.exe
 +
C:/Qt/Tools/mingw730_64/bin/g++.exe
 +
 +
Lui genera per la prima volta
 +
 +
with qt
 +
with opengl
 +
 +
riconfiguro
 +
 +
compare magicamente Qt5_DIR, setto a
 +
 +
C:/Qt/5.13.2/mingw73_64/lib/cmake/Qt5
 +
 +
riconfiguro
 +
 +
compaiono le 6 dir
 +
 +
Qt5Concurrent_DIR = C:\Qt\5.13.2\mingw73_64\lib\cmake\Qt5Concurrent
 +
Qt5Core_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5Core
 +
Qt5Gui_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5Gui
 +
Qt5Test_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5Test
 +
Qt5Widgets_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5Widgets
 +
Qt5OpenGL_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5OpenGL
 +
 +
aggiungo a mano
 +
 +
QT_MAKE_EXECUTABLE to C:\Qt\5.13.2\mingw73_32\bin\qmake.exe
 +
 +
CMAKE_BUILD_TYPE to Release or RelWithDebInfo
 +
OPENCV_VS_VERSIONINFO_SKIP=1
 +
ENABLE_PRECOMPILED_HEADERS=OFF
 +
 +
Questo lo faccio con la bash di git:
 +
 +
cd c:
 +
cd OpenCV\opencv-build 
 +
mingw32-make -j 8
 +
mingw32-make install
 +
 +
BUILD_opencv_imgproc true
 +
 +
Tolgo BUILD_opencv_highgui
 +
 +
COmpilo con il 32 uso il 64 in Qt
 +
 +
metto il -f e il -v, imposto le immagini
 +
 +
led.conf da copiare su desktop e scommentare riga in globals, tutto a 0 e senza enter

Latest revision as of 10:48, 6 December 2021

Installing Kameie on Windows for development purposes[edit]

Documentation is an update of this document: https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows

1. Download and install QT Creator.

2. Download and install CMake GUI.

3. Run CMake GUI and click configure.

Cmake Gui C:\OpenCV\sources C:\OpenCV\opencv-build

C:/Qt/Tools/mingw730_64/bin/gcc.exe C:/Qt/Tools/mingw730_64/bin/g++.exe

Lui genera per la prima volta

with qt with opengl

riconfiguro

compare magicamente Qt5_DIR, setto a

C:/Qt/5.13.2/mingw73_64/lib/cmake/Qt5

riconfiguro

compaiono le 6 dir

Qt5Concurrent_DIR = C:\Qt\5.13.2\mingw73_64\lib\cmake\Qt5Concurrent Qt5Core_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5Core Qt5Gui_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5Gui Qt5Test_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5Test Qt5Widgets_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5Widgets Qt5OpenGL_DIR = D:\Qt\5.9\mingw73_64\lib\cmake\Qt5OpenGL

aggiungo a mano

QT_MAKE_EXECUTABLE to C:\Qt\5.13.2\mingw73_32\bin\qmake.exe

CMAKE_BUILD_TYPE to Release or RelWithDebInfo OPENCV_VS_VERSIONINFO_SKIP=1 ENABLE_PRECOMPILED_HEADERS=OFF

Questo lo faccio con la bash di git:

cd c: cd OpenCV\opencv-build mingw32-make -j 8 mingw32-make install

BUILD_opencv_imgproc true

Tolgo BUILD_opencv_highgui

COmpilo con il 32 uso il 64 in Qt

metto il -f e il -v, imposto le immagini

led.conf da copiare su desktop e scommentare riga in globals, tutto a 0 e senza enter