AnsweredAssumed Answered

running the example of hof , cannot find -lhsa-runtime-ext64

Question asked by bred on Jan 2, 2016
Latest reply on Jan 28, 2016 by bred

HI,


I have a question about running the example of hof
I run the "make " in the example  folder, it says cannot find -lhsa-runtime-ext64,


g++ -Wl,--unresolved-symbols=ignore-in-shared-libs main.o -L/opt/hsa/lib -lhsa-runtime64 -lhsa-runtime-ext64 -o hof_example
/usr/bin/ld: cannot find -lhsa-runtime-ext64
collect2: error: ld returned 1 exit status
make: *** [hof_example] Error 1

 

Then I check the lib, it seem there has libhsa-runtime64.so.1


CHOserver:~/HSAFoundation/HSA-HOF-AMD/example$ ls /opt/hsa/lib
libhsa-ext-finalize64.so libhsa-ext-image64.so libhsa-runtime64.so libhsa-runtime-tools64.so
libhsa-ext-finalize64.so.1 libhsa-ext-image64.so.1 libhsa-runtime64.so.1 libhsa-runtime-tools64.so.1

Is there something I should try with it ?

Outcomes