CMake Warning at CMakeLists.txt:16 (find_package):
By not providing "FindFLANN.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "FLANN", but
CMake did not find one.
Could not find a package configuration file provided by "FLANN" with any of
the following names:
FLANNConfig.cmake
flann-config.cmake
Add the installation prefix of "FLANN" to CMAKE_PREFIX_PATH or set
"FLANN_DIR" to a directory containing one of the above files. If "FLANN"
provides a separate development package or SDK, be sure it has been installed.
这是因为缺少FindFLANN.cmake文件,下载地址http://pan.baidu.com/s/1o6Br5Ei,将其添加在Cmake的安装目录下,比如我的添加目录为D:\opencv\PCL\PCL 1.6.0\cmake,将其添加进去即可,然后需要将文件名进行重新命名 FLANNConfig.cmake或者是flann-config.cmake即可。
By not providing "FindFLANN.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "FLANN", but
CMake did not find one.
Could not find a package configuration file provided by "FLANN" with any of
the following names:
FLANNConfig.cmake
flann-config.cmake
Add the installation prefix of "FLANN" to CMAKE_PREFIX_PATH or set
"FLANN_DIR" to a directory containing one of the above files. If "FLANN"
provides a separate development package or SDK, be sure it has been installed.
这是因为缺少FindFLANN.cmake文件,下载地址http://pan.baidu.com/s/1o6Br5Ei,将其添加在Cmake的安装目录下,比如我的添加目录为D:\opencv\PCL\PCL 1.6.0\cmake,将其添加进去即可,然后需要将文件名进行重新命名 FLANNConfig.cmake或者是flann-config.cmake即可。