小编Jay*_*y T的帖子

ITK:找不到ITKConfig.cmake

我\xe2\x80\x99一直在尝试在新PC上设置ITK,但当我在项目上运行CMake时遇到了问题。

\n\n

我下载了 ITK 4.8.2,将其解压,使用 CMake 配置并一如既往地生成。然而,这次 CMake 发出以下错误:

\n\n
CMake Error at CMakeLists.txt:4 (find_package):\n  By not providing "FindITK.cmake" in CMAKE_MODULE_PATH this project has\n  asked CMake to find a package configuration file provided by "ITK", but\n  CMake did not find one.\n\n  Could not find a package configuration file provided by "ITK" with any of\n  the following names:\n\n    ITKConfig.cmake\n    itk-config.cmake\n\n  Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"\n  to a directory containing one of the above files.  If …
Run Code Online (Sandbox Code Playgroud)

cmake itk

5
推荐指数
1
解决办法
8202
查看次数

标签 统计

cmake ×1

itk ×1