opencv 安裝 in win8.1 參數設定

作者: dhtsai (tsai dzeng-han)   2021-01-18 15:32:00
Opencv installation note
original file: opencv-4.5.0-vc14_vc15.exe
self extracttion file
其他原始檔安裝失敗
when executing this exe file two path set fro user:
c:\opencv\build
c:\opencv\source
source>cmake>build
compiler c:\mingw\mingw64
installation directing
c compiler x86_64-w64-mingw32-gcc.exe
c++ compiler x86_64-w64-mingw32-g++.exe
linker for dynamic lib
x86_64-w64-ming32-g++.exe
linker for static lib
ar.exe
Debugger
GDB/CDB default
Resource compiler
Windres.exe
Make program
mingw32-make.exe
setting-compiler
>search directories
>compiler
>c:\opencv\build\install\include(for some file include \opencv2\…)
c:\opencv\build\install\include\opencv2
(above from medium Sourabh Jigjinni)
c:\mingw\mingw64\lib
for *.a c:\mingw\mingw64\include
*.h c:\mingw\mingw64\x86_64-w64-mingw32\include
(20m20s youtuber Kazi Shaheb)
for *.hpp >header I suppose
c:opencv\build\include\opencv2
c:opencv\build\include
Search directories
linker
c:\opencv\build\install\x64\mingw\lib
(sourabh)
c:\mingw\mingw64\lib
c:\mingw\mingw64\x86_64-w64-mingw32\lib
c:\mingw\mingw64\lib\gcc\x86_64-w64-mingw32\8.1.0
(21m55s youtuber) *.a
c:\opencv\build\lib
linker setting
c:\opencv\build\lib
(youtuber18:30)
c:\opencv\build\install\x64\mingw\lib
(sourabh)
compiler setting
c++ 11 GNU(iso+GNU)
libopencv_core450.dll
c:\opencv\build\bin > environment variable
c:\opencv\build\install\x64\mingw\bin > environment variable
libopencv_core450.dll.a

Links booklink

Contact Us: admin [ a t ] ucptt.com