ROCm / rocprofiler

ROC profiler library. Profiling with perf-counters and derived metrics.
https://rocm.docs.amd.com/projects/rocprofiler/en/latest/
Other
115 stars 43 forks source link

Build rocprof source code error #135

Closed wangjun-0 closed 5 months ago

wangjun-0 commented 5 months ago

Problem Description

When I build rocprof source code using build.sh script, the error is occured. The error message is as below:

CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find LibDw (missing: FIND_LIBDW_INCLUDES FIND_LIBDW_LIBRARIES) Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake_modules/FindLibDw.cmake:16 (find_package_handle_standard_args) samples/CMakeLists.txt:36 (find_package)

How can I fix the error?

Operating System

Ubuntu 22.04.3

CPU

12th Gen Intel(R) Core(TM) i7-12700

GPU

AMD Radeon RX 7900 XTX

ROCm Version

ROCm 5.7.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response