【CMake报错&解决】GDCM配置时报错

发布时间:2024年01月04日
Could not find a package configuration file provided by "GDCM" with any of
  the following names:

    GDCMConfig.cmake
    gdcm-config.cmake

  Add the installation prefix of "GDCM" to CMAKE_PREFIX_PATH or set
  "GDCM_DIR" to a directory containing one of the above files.  If "GDCM"
  provides a separate development package or SDK, be sure it has been
  installed.

在ITK配置中,必须提供GDCMconfig.cmake所在目录的路径。
(同理适用于其他配置中找不到.camke文件的问题)

参考:使用GDCM配置的ITK的Cmake错误

文章来源:https://blog.csdn.net/weixin_49347928/article/details/134665683
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。