环境 qt5.12.3  deepin15.10 cmake构建 由于之前使用的是仓库自带的qt环境,后来需要更高版本qt,于是从官网下载安装器自己安装,重新构建之后便出现这个问题,具体报错如下 CMake Warning at src/CMakeLists.txt:45 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a…
一.第一种解决方法 cd /usr/share/ ,cmake tab补全,可以找到两个版本的cmake(cmake2.8和cmake3.5) 把/usr/share/cmake2.8/Modules/ 下的FindEigen3.cmake文件复制到cmake3.5对应目录下,即可解决 二.第二种解决方法 1.找到FindEigen3.cmake文件,/usr/share/cmake2.8/Modules 2.复制到自己这个的工程下 3.在工程的CMakeLists.txt里面.添加这句话: s…
cmake -G"Visual Studio 9 2008 Win64" 以上命令得用cd命令切换到顶层CMakeLists.txt的当前目录,才能生效 以下是CMakeLists.txt的代码 cmake_minimum_required(VERSION 2.8) PROJECT(FFI) add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_LIB) #包含工程所需要的头文件路径 include_director…
问题: CMake Error at CMakeLists.txt:3 (find_package): By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OpenCV", but CMake did not find one. Could not…
因为项目需要使用到g2o,所以自己从git上面clone下来, git clone https://github.com/RainerKuemmerle/g2o.git 然后: cd g2o mkdir build cd build cmake .. make -j4 编译完成,并在CMakeLists.txt使用g2o: set(G2O_DIR ..) find_package(.... 但是后面报这个错误: CMake Error at CMakeLists.txt:11(find_pack…
CMake Error at CMakeLists.txt:5 (find_package): By not providing "FindSophus.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Sophus", but CMake did not find one. Could not find…
安装QT5.4后,需要编译一个C++程序. Cmakelist 有find_package(Qt5Widgets REQUIRED),cmake 报错如下: CMake Error at CMakeLists.txt:14 (find_package):  By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project  has asked CMake to find a package configu…
遇到的问题 find_package(lzb)出现错误如下: CMake Warning at CMakeLists.txt:37 (find_package): By not providing "Findlzb.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "lzb", but CMake did…
安装caffe2 预先准备.安装gflags及autoconf及GLOG https://github.com/caffe2/caffe2/issues/1810 一.下载源代码通过网盘 https://blog.csdn.net/Gpwner/article/details/80068251?tdsourcetag=s_pctim_aiomsg 二.解压文件,二次解压. $xz -d pytorch.tar.xz $tar -xvf  pytorch.tar 或者通过以下命令解压: tar x…
源地址:http://blog.csdn.net/sunshine_in_moon/article/details/49838245/ 3000FPS是人脸对齐算法,特点是速度快!我利用的是thinkface上一位大牛提供的代码http://www.thinkface.cn/thread-3136-1-1.html这里面提供了C++版代码,人脸数据库及大牛训练好的模型的连接,大家可以自行下载.下面介绍具体的配置过程以及遇到的问题和其解决方法. 安装分为4个步骤: 1.下载人脸数据库,获取Path…