Forums - Fail to run calculator exemple

1 post / 0 new
Fail to run calculator exemple
_jeremiel
Join Date: 21 May 21
Posts: 2
Posted: Thu, 2021-06-03 09:15

Hello,

I have problems running the calculator example available in Hexagon SDK.

Following {HEXAGON_SDK_ROOT}/docs/examples/calculator/index.html, everything's fine until "On-target testing" section.

After having executed all previous steps (with v66 arch), none of the following commands works:

# run example with 1000 array size on CPU
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator  1 3 1000

# run example with 1000 array size on aDSP
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator  0 0 1000

# run example with 1000 array size on sDSP
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator  0 2 1000

# run example with 1000 array size on cDSP
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator  0 3 1000

# run example with 1000 array size on cDSP Unsigned PD
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator  0 3 1000 1
 

Actually, they all fail with the same status:

$ adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator  0 0 1000
/bin/sh: calculator: not found

Actually from an adb session, it appears that trying generated always lead to the same status: /bin/sh: /vendor/bin/calculator: not found

Did I miss something ? Could you please help on this one ?

Environment:

- OS: Ubuntu 20.04

- Hexagon SDK: 4.3.0.0

- Board: Qcs405

 

Best regards

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.