在ubuntu下配置opencv,cmake成功了,而make时候报错 3C

1 [ 6%] Generating precomp.hpp.gch/opencv_core_Release.gch
2 In file included from /usr/include/c++/6/bits/stl_algo.h:59:0,
3 from /usr/include/c++/6/algorithm:62,
4 from /opt/opencv/opencv-3.1.0/modules/core/include/opencv2/core/base.hpp:53,
5 from /opt/opencv/opencv-3.1.0/modules/core/include/opencv2/core.hpp:54,
6 from /opt/opencv/opencv-3.1.0/modules/core/include/opencv2/core/utility.hpp:52,
7 from /opt/opencv/build/modules/core/precomp.hpp:49:
8 /usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: 没有那个文件或目录
9 #include_next
10 ^
11 compilation terminated.
12 modules/core/CMakeFiles/pch_Generate_opencv_core.dir/build.make:62: recipe for target 'modules/core/precomp.hpp.gch/opencv_core_Release.gch' failed
13 make[2]: *** [modules/core/precomp.hpp.gch/opencv_core_Release.gch] Error 1
14 CMakeFiles/Makefile2:1178: recipe for target 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all' failed
15 make[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2
16 Makefile:160: recipe for target 'all' failed
17 make: *** [all] Error 2
图片说明

3个回答

http://blog.csdn.net/yygydjkthh/article/details/41787049

/usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: 没有那个文件或目录

obviousYDC
obviousYDC 这个链接里面说的东西我都不缺呀
2 年多之前 回复

这是Gcc6的一个改动造成的,

解决方法:
Try by disabling pre-compiled headers, either from cmake-gui or using the command line parameter

-DENABLE_PRECOMPILED_HEADERS=OFF
参考这里:

https://stackoverflow.com/questions/40262928/error-compiling-opencv-fatal-error-stdlib-h-no-such-file-or-directory

应该是cmake的时候的依赖项没有安装全,当时提示没有找到的不一定会报错,可以看一下cmake的打印信息

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
cmake编译opencv报错
错误 CMakeFiles/opencv_example.dir/example.cpp.o:在函数‘main’中: example.cpp:(.text+0x12c):对‘cv::imshow(cv::String const&, cv::_InputArray const&)’未定义的引用 example.cpp:(.text+0x21d):对‘cv::imshow(cv::String
cmake配置opencv的时候出现的错误及解决方法
cmake 配置opencv的时候出现的错误: -- Detected version of GNU GCC: 54 (504) -- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3") -- Could NOT find TIFF (m...
ubuntu下make Qt4.4.3-x11报错
In file included from ../../include/QtGui/private/qt_x11_p.h:1,rn from kernel/qapplication.cpp:70:rn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:65:22: error: X11/Xlib.h: No such file or directoryrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:70:23: error: X11/Xutil.h: No such file or directoryrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:71:21: error: X11/Xos.h: No such file or directoryrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:78:23: error: X11/Xatom.h: No such file or directoryrnIn file included from ../../include/QtGui/private/qt_x11_p.h:1,rn from kernel/qapplication.cpp:70:rn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280: error: ‘Colormap’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:281: error: ISO C++ forbids declaration of ‘Visual’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:281: error: expected ‘;’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:290: error: ‘Time’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:291: error: ‘Window’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:292: error: ‘Window’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:315: error: ‘Window’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:318: error: ‘Window’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:319: error: ‘Window’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:319: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:320: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:321: error: ‘Window’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:321: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332: error: ISO C++ forbids declaration of ‘XSelectionRequestEvent’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332: error: expected ‘,’ or ‘...’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:334: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:335: error: ‘Atom’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:337: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:338: error: ‘Atom’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:339: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:340: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:340: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:341: error: ‘Atom’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:341: error: template argument 1 is invalidrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:342: error: ‘Atom’ has not been declaredrnIn file included from ../../include/QtGui/private/qt_x11_p.h:1,rn from kernel/qapplication.cpp:70:rn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:343: error: ‘Atom’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:404: error: ISO C++ forbids declaration of ‘Atom’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:404: error: expected ‘;’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:406: error: ISO C++ forbids declaration of ‘Window’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:406: error: expected ‘;’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:408: error: ‘Window’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:414: error: ‘Time’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:415: error: ‘Time’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:441: error: ISO C++ forbids declaration of ‘Visual’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:441: error: expected ‘;’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:442: error: ‘Colormap’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:620: error: ‘Atom’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:622: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:645: error: ‘FocusOut’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:646: error: ‘FocusIn’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:647: error: ‘KeyPress’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:648: error: ‘KeyRelease’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:649: error: ‘None’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:650: error: ‘RevertToParent’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:651: error: ‘GrayScale’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:652: error: ‘CursorShape’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:667: error: ‘XPoint’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:667: error: template argument 1 is invalidrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:668: error: ‘XRectangle’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:668: error: template argument 1 is invalidrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:669: error: ‘XChar2b’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:669: error: template argument 1 is invalidrnmake[1]: *** [.obj/release-shared/qapplication.o] Error 1rnmake[1]: Leaving directory `/software/qt-x11-opensource-src-4.4.3/src/gui'rnmake: *** [sub-gui-make_default-ordered] Error 2rn
Ubuntu下OpenCV的安装卸载与CMake编译
Ubuntu下OpenCV的安装卸载与CMake编译
UBUNTU cmake配置方法
1、下载安装VMware 2、下载安装ubuntu镜像文件 3、安装虚拟机 4、下载cmake压缩包 5、解压 6、安装gcc g++ make 命令:sudo apt-get install xxx(例如gcc /g++/make) 7、进入cmake目录,执行bootstrap ...
Ubuntu下cmake后,make时报错找不到自己写的头文件
首先要把main.cpp和xxx.h,xxx.c放在同一个文件夹下(方便起见)。 然后在cmakelists.txt如下(cmakelists不需要提及头文件,因为这里头文件和源文件在同一个路径) cmake_minimum_required(VERSION 2.8.3) project(3Dtest) ## Compile as C++11, supported in ROS Kinetic ...
解决opencv310 ffmpeg、ippicv_windows_20151201.zip无法下载问题
ffmpeg文件无法下载CMake错误CMake Warning at cmake/OpenCVUtils.cmake:872 (message): Download: Local copy of opencv_ffmpeg.dll has invalid MD5 hash: 3a56b0b26c0d56457a990eb00d87f889 (expected: 89c783eee1c4
Ubuntu运行OpenCV报错
错误提示如图:原因:没有安装libgtk2.0-dev和pkg-config  ,这两依赖项要先于opencv安装安装方式:sudo apt-get install libgtk2.0-dev                      sudo  apt-get install pkg-config安装完成后,再安装opencv即可...
opencv安装,cmake完成,make的时候,报错/usr/include/c++/6.2.1/cmath:45:23: 致命错误:math.h
错误代码如下:rn[ 16%] Generating precomp.hpp.gch/opencv_core_bulid.gchrnIn file included from /home/chenjianwen/opencv-3.0.0/modules/hal/include/opencv2/hal/defs.h:329:0,rn from /home/chenjianwen/opencv-3.0.0/modules/core/include/opencv2/core/cvdef.h:59,rn from /home/chenjianwen/opencv-3.0.0/modules/core/include/opencv2/core.hpp:52,rn from /home/chenjianwen/opencv-3.0.0/modules/core/include/opencv2/core/utility.hpp:52,rn from /home/chenjianwen/opencv-3.0.0/build/modules/core/precomp.hpp:49:rn/usr/include/c++/6.2.1/cmath:45:23: 致命错误:math.h:No such file or directoryrn #include_next rn ^rn编译中断。rnmodules/core/CMakeFiles/pch_Generate_opencv_core.dir/build.make:62: recipe for target 'modules/core/precomp.hpp.gch/opencv_core_bulid.gch' failedrnmake[2]: *** [modules/core/precomp.hpp.gch/opencv_core_bulid.gch] Error 1rnCMakeFiles/Makefile2:1525: recipe for target 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all' failedrnmake[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2rnMakefile:149: recipe for target 'all' failedrnmake: *** [all] Error 2rnrnrnrn我的环境是fedora24,使用qt5.7,gcc版本6.2.1,然后报了这个错,网上有查到说是因为gcc版本太高,换了低版本,还是不管用,求有经验的大神赐解决方案。rnrn去查看了/usr/include/c++/6.2.1/cmath:该路径下的文件,其中代码为rnrn#pragma GCC system_headerrnrn#include rn#include rn#include rn#define _GLIBCXX_INCLUDE_NEXT_C_HEADERSrn#include_next rn#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERSrnrn#ifndef _GLIBCXX_CMATHrn#define _GLIBCXX_CMATH 1rnrn不知道如何解决?
ubuntu系统使用opencv,make通过,但运行时报错
错误描述大致如下: ./guo-dbg.pio: error while loading shared libraries: libopencv_features2d.so.3.3: cannot open shared object file: No such file or directory 解决: 没有设置环境变量 // 一定要加sudo guo@ubuntu:~$ su
opencv2012,2.4.10配置成功
opencv2012,2.4.10配置成功
【学习OpenCV】ubuntu下通过cmake安装和配置opencv3.3.0
  Linux下使用OpenCV   参考官方教程 https://docs.opencv.org/3.3.1/d7/d9f/tutorial_linux_install.html   安装依赖   [compiler] sudo apt-get install build-essential [required] sudo apt-get install cmake git...
ubuntu opencv eclipse 配置
介绍ubuntu下opencv的eclipse工程配置
ubuntu下opencv的配置
安装OPENCV过程 参考网页: http://blog.csdn.net/a1429331875/article/details/31539129 http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html http://tutewall.com/package-mysql-serv
cmake,GNU make
学习Makefile的编写,希望能用得上,make是非常好用的自动化工具
cmake和make详解
解析 1、cmake可以简单的生成makefile文件给make用。 2、cmake根据什么生成makefile呢?它又要根据一个叫CMakeLists.txt文件 3、make工具可以看成是一个智能的批处理工具,比gcc更加的高级 注意 什么时候需要重新cmake 1、当工程加入新的文件时,只需使用cmake .命令,让CMake重新生成Makefile就一切OK 2、如果的工程的库文件发生变化...
Ubuntu下配置OpenCV开发环境
apt安装opencv 源码编译opencv
OpenCV的安装与配置(ubuntu)
本安装方法目前已在ubuntu 16.04进行测试,其他ubuntu版本应该也适用。 安装所需依赖项 在Linux下我们需要编译安装,而编译OpenCV需要必要的软件包。下面是必要的软件包: GCC 4.4.x或者更高 GTK+2.x或者更高,包括它的头文件(libgtk2.0-dev) pkg-config 带有开发包的Python 2.6或者更高和Numpy 1.5或者更高(pyt...
Ubuntu下QT使用CMake编译Opencv程序
今天搞opencv的环境配置学到了很多东西,这里主要记录Cmake编译Opencv过程中CMakeLists.txt的编写。 首先说明的是,这个是我从opencv的源码例程中摘出来的。 # cmake needs this line cmake_minimum_required(VERSION 2.8) # 不用改 # Define project name project(untitle...
make和cmake区别
gcc是C语言编译器,而g++则是C++语言编译器,虽然gcc命令也可以用来编译C++语言的源码,但是它最终是要调用g++的。 make工具通过你提供的一个名为Makefile的文件,根据Makefile的内容来决定如何编译源文件。而关于make和cmake的区别, 你可以理解为make需要使用Makefile,而cmake是产生Makefile的工具。 qmake是Qt提供的一个编译工具,他可以...
make和cmake小问题
一,编译libsgm的时候遇到: /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’: /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope    return (cha...
比较Make和CMake
 比较Make和CMake Make(或者说一个Makefile)是构建系统 - 它驱动编译器和其它构建工具来构建你的代码。“Make”是一个工具,它控制可执行文件和程序的源文件以及程序的其他非源文件的生成。 CMake的是构建系统的生成器,CMake代表跨平台Make。它可以产生Makefile文...
ubuntu cmake文件添加固定版本的opencv
CMake下指定Opencv版本关键文件:OpenCVConfig.cmake。在opencv编译好后,所在目录中一般会有一个叫OpenCVConfig.cmake的文件,只要让CMake找到这个文件,这个文件就指定了Opencv的所有路径,因此设置OpenCV_DIR为包含OpenCVConfig.cmake的目录,如在我的C++工程CMakeLists.txt中添加set(OpenCV_DIR...
ubuntu下安装opencv,cmake出错,解决方法
ubuntu opencv安装时,cmake -- Configuring incomplete, errors occurred!CMakeOutput.log
ubuntu使用cmake创建工程找不到opencv路径
要删除之前的build文件夹 CMakeLists.txt cmake_minimun_required(VERSION 3.5) project(image) set(CMAKE_CXX_FLAGS “-std=c++11”) //可能有多个版本的opencv,设置一个需要的 set(OpenCV_DIR /usr/local/share/OpenCV) //默认安装位置 set(Open...
Ubuntu上用cmake编译安装OpenCV
本文采用环境:Ubuntu14.04 + OpenCV-3.4.0兼容OpenCV-2.4.xxx   OpenCV-3.xx一、源码准备:opencv、cmake1、opencv官网 https://opencv.org/ 下载源码包:opencv-3.4.0.tar.gz2、cmake官网 https://cmake.org/ 下载源码包:cmake-3.10.2.tar.gz二、安装cmak...
Ubuntu 安装caffe make成功后报错解决
1.ImportError: No module named 'caffe._caffe' 尝试解决一:make pycaffe make pycaffe 过程中,出现报错fatal error: numpy/arrayobject.h: No such file or directory 解决办法sudo apt-get install python3-numpy 2.ImportE...
Cmake学习笔记(一):认识gcc、make、cmake
本人邮箱jinbo666888@qq.com,欢迎交流。 我们写的程序语言机器并不能理解,机器语言是010101这样的二进制语言,因此我们要将我们的代码编译为机器语言。编译过程分为四步: 1.预处理(Preprocessing)(文件格式变化:.c—.i) 预处理用于将所有的#include头文件以及宏定义替换成其真正的内容,预处理之后得到的仍然是文本文件,但文件体积会大很多。 2. 编译...
caffe学习笔记——安装成功后make报错
Caffe安装成功后make all 报错(1)fatal error:caffe/proto/caffe.pb.h:No such file or directory #include “caffe/proto/caffe.pb.h解决:进入caffe安装目录Protoc src/caffe/proto/caffe.proto --cpp_out=.Mkdir include/caffe/pro...
cmake ubuntu卸载源码安装的cmake
cmake的版本在ubuntu编译程序时至关重要,特别是编译他人的工程时,有时必须保证cmake的版本与工程所有者相同。对于cmake的卸载问题,现在一般博客中给的指导是:sudo apt-get remove cmake但是此句指令是针对于通过sudo apt-get install cmake 安装的用户。如果是从源码安装,以上删除方式则不能成功删除,因此对于源码安装的cmake,博主经过实践...
ubuntu下配置JDK1.8.0报错。
The program 'java' can be found in the following packages: * default-jre * gcj-4.8-jre-headless * openjdk-7-jre-headless * gcj-4.6-jre-headless * openjdk-6-jre-headlessTry: apt-get install <selecte...
ubuntu下安装cmake及cmake简单使用
前言最近突然想将开发环境转移到linux上,同时也准备阅读些github上的开源代码,发现现在开源项目一般都是用cmake管理的。所以就在自己的虚拟机上捣鼓了一天。一开始我也不知道cmake是啥,后来通过折腾也大概知道其作用,它所做的事其实就是告诉编译器如何去编译链接源代码。你也许想问不是有makefile吗,为什么还要它?这里就牵涉到跨平台问题。在windows平台下是通过project文件去管理
cuda安装 vs配置 opencv的cmake编译
(更新) D:\opencv\build\install\include D:\opencv\build\install\x64\vc14\lib cuda.lib cudadevrt.lib cudart.lib cudart_static.lib nvcuvid.lib OpenCL.lib opencv_aruco341d.lib opencv_bgsegm341d.lib...
OpenCV 交叉编译成功的配置小结
开发板为410c,交叉编译用aarch64-linux-gnu 用默认配置编译会大量报错,修改成如下配置后可以成功编译   进入build文件夹 make -j16 make install 完成以上后,在你设置的0803文件夹下拷贝所有文件,包括lib include share 分别复制到arm开发板usr/local 对应的lib include share 文件夹下。 ...
make 报错
  问题:执行make时出现如下报错:   原因:没有指定交叉编译工具链。   解决方法: 设置环境变量或者make时带上CROSS_COMPILE参数。如make CROSS_COMPILE=arm-xilinx-linux-gnueabi-...
make报错
makefile文件内容:rnASSEMBLY= MySharedAssembly.dllrnBIN=E:\work\Myapp\test\binrnSRC=E:\work\Myapp\testrnDEST=E:\work\Myapp\test\binrnrnCSC=csc /nologo /debug+ /d:DEBUG /d:TRACErnrnMODULETARGET=/t:modulernLIBTARGET=/t:libraryrnEXETARGET=/t:exernrnREFERENCES=System.dllrnrnMODULES=$(DEST)\Fraction.dll $(DEST)\Calc.dllrnMETADATA=$(SRC)\AssemblyInfo.csrnrnall: $(DEST)\MySharedAssembly.dllrnrn$(DEST)\$(ASSEMBLY): $(METADATA) $(MODULES) $(DEST) $(CSC) $(LIBTARGET) /addmodule:$(MODULES: =;) /out:$@ %srnrn$(DEST)\Calc.dll: Calc.cs $(DEST) $(CSC) $(MODULETARGET) /r:$(MODULES: =;) /out:$@ %srnrn$(DEST)\Fraction.dll: Fraction.cs $(DEST) $(CSC) $(MODULETARGET) /r:$(MODULES: =;) /out:$@ %srn$(DEST):: rn!if !EXISTS($(DEST))rn mkdir $(DEST)rn!endifrn_________________________________________________________________________________________rn报错信息:rnE:\work\MyApp\test>makernMAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.rnError makefile 26: Expression syntax error in !if statementrn*** 1 errors during make ***rn
ubuntu下opencv的配置和第一个opencv的运行
前些天在windows下学了下opencv,已经能够比较精确的识别出椭圆。现在要把它移植到ARM上,那么首先要移植到虚拟机上才能够进行交叉编译 系统:ubuntu10.0.4           opencv2.4.3 一、下载所需库 在终端输入如下命令: $sudo apt-get install libgtk2.0-dev pkg-config 无法显示
qt opencv cmake配置 单纯小白
网上有着很多的教程,这里就只指一下在mingw32-make 时报错,必须要学会自己找错,就算和教程完全一样也会报不同的错,具体改错的方法(取决于我的错的小总结)在报错开始往上找,找到一堆子文件然后写着(乱七八糟什么的错)一般是缺少什么啊或者什么不符合,然后就在网上找吧,蛮好找的。 还有在配置环境变量时只是编辑,不用新建。具体方法网上很多。 ...
openCV的cmake中配置QT5路径
执行cmake移植opencv时出错,报错信息如下: CMake Warning at cmake/OpenCVFindLibsGUI.cmake:18 (find_package): Could not find module FindQt5Core.cmake or a configuration file for package Qt5Core. 其中文翻译是: cmake / ...
cmake配置OpenCV时出错怎么解决?
Selecting Windows SDK version 10.0.15063.0 to target Windows 10.0.17134.rnThe CXX compiler identification is unknownrnThe C compiler identification is unknownrnCMake Error at CMakeLists.txt:127 (project):rn No CMAKE_CXX_COMPILER could be found.rnrnrnrnCMake Error at CMakeLists.txt:127 (project):rn No CMAKE_C_COMPILER could be found.rnrnrnrnConfiguring incomplete, errors occurred!rnSee also "D:/OpenCV/tool/CMakeFiles/CMakeOutput.log".rnSee also "D:/OpenCV/tool/CMakeFiles/CMakeError.log".rnrn
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池