DTK开发
make find_package(hip) 报错
2022-06-23 09:07:37
44

在 cmake 中使用 find_package(hip),报错信息如下:

CMake Error at /public/software/compiler/rocm/dtk-21.10.1/lib/cmake/hip/hip-targets.cmake:82 (message):
The imported target "hip::galaxyhip" references the file

 "/public/software/compiler/rocm/dtk-22.04.1/hip/lib/libgalaxyhip.so.4.3.22042.877-eb6bfe3"

but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and contained

    "/public/software/compiler/rocm/dtk-21.10.1/lib/cmake/hip/hip-targets.cmake"

but not all the files it references.

Call Stack (most recent call first):
/public/software/compiler/rocm/dtk-21.10.1/lib/cmake/hip/hip-config.cmake:138 (include)
CMakeLists.txt:34 (find_package)

另外, dtk-22也是有报错,请问如何解决。

全部评论(1)
只看楼主
T
tianlh
1楼

您好,可以换一个低版本的cmake试一下,或者不用cmake

2022/6/23
没有更多内容了
--
楼主
Level.4
0 帖子
楼主热帖
暂无数据