大佬求救!!
opencv吧
全部回复
仅看楼主
level 1
Qt+opencv3跟着网上教程安装
cmd执行:mingw32-install到36%时报错!
报错内容。。
D:\Qt\Tools\mingw530_32\bin\windres.exe: unknown option -- W
Usage: D:\Qt\Tools\mingw530_32\bin\windres.exe [option(s)] [input-file] [output-file]
The options are:
-i --input=<file> Name input file
-o --output=<file> Name output file
-J --input-format=<format> Specify input format
-O --output-format=<format> Specify output format
-F --target=<target> Specify COFF target
--preprocessor=<program> Program to use to preprocess rc file
--preprocessor-arg=<arg> Additional preprocessor argument
-I --include-dir=<dir> Include directory when preprocessing rc file
-D --define <sym>[=<val>] Define SYM when preprocessing rc file
-U --undefine <sym> Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-c --codepage=<codepage> Specify default codepage
-l --language=<val> Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to read
the preprocessor output
--no-use-temp-file Use popen (default)
-r Ignored for compatibility with rc
@<file> Read options from <file>
-h --help Print this help message
-V --version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default rc.
D:\Qt\Tools\mingw530_32\bin\windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex
modules\core\CMakeFiles\opencv_core.dir\build.make:1641: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj' failed
mingw32-make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj] Error 1
CMakeFiles\Makefile2:1550: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed
mingw32-make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
Makefile:161: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
到底咋回事。。
2017年11月24日 08点11分 1
level 1
已经解决,谢谢谷歌,百度垃圾玩意儿!!!https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows
2017年11月25日 04点11分 2
兄弟 这是什么问题?
2018年02月02日 14点02分
level 8
大佬,我也遇到这个问题,感谢[哈哈]
2018年01月15日 07点01分 3
level 1
[哈哈]
2019年04月20日 11点04分 4
level 1
我也遇到了这个问题 在WIN10下 CMAKE 只能完成31%, 按你说的 在下载mingw64,重新指定其环境变量,重新MAKE 过了这一关。
2021年04月04日 14点04分 5
1