This is a cache of https://discuss.96boards.org/t/hexagon-dsp-sdk-on-ubuntu-host-to-build-shared-libs-for-845dsp/9764. It is a snapshot of the page at 2024-09-19T12:59:14.803+0000.
Hexagon DSP sdk on <strong>ubuntu</strong> host (to build shared libs for 845dsp) - 96Boards Forum

Hexagon DSP sdk on ubuntu host (to build shared libs for 845dsp)

Hello,
I am following the instructions from README - srinivas.kandagatla/ImagenetCv.git - [no description] to get hexagon DSP SDK on ubuntu host.
The part where I am stuck is Step 5 :
make tree V=ubuntuARM_Debug_aarch64 CDSP_FLAG=1 V65=1 GRAPHINIT=“iv3.c”
I get an error:
RERUNNING WITH ALTERED UMASK 0002
/mnt/local/workspace/DSPenv/Hexagon_SDK/3.4.2/build/make.d.ext/ubuntuARM/V_ubuntuARM.min:9: *** Cannot find Linaro Tools at /mnt/local/workspace/DSPenv/Hexagon_SDK/3.4.2/tools/linaro64.

Hexagon SDK does not provide ubuntu tools, Please install them yourself to /mnt/local/workspace/DSPenv/Hexagon_SDK/3.4.2/tools/linaro64. Stop.
Makefile:22: recipe for target ‘_all’ failed
make: *** [_all] Error 2

I have gcc linaro tools installed in /mnt/local/workspace/DSPenv/ and I softlinked them to /mnt/local/workspace/DSPenv/Hexagon_SDK/3.4.2/libs/hexagon_nn/2.5

I also added to path using : export PATH=$PATH:/mnt/local/workspace/DSPenv/gcc-linaro-7.1.1-2017.08-x86_64_aarch64-linux-gnu/bin/

When I run make tree V=ubuntuARM_Debug_aarch64 CDSP_FLAG=1 V65=1 GRAPHINIT=“iv3.c”, I still get the same error.
Can anyone please help me with this problem? Did I miss out on anything?
Thanks