Forums - snpe-net-run executable

4 posts / 0 new
Last post
snpe-net-run executable
PeterLee
Join Date: 14 Aug 17
Posts: 2
Posted: Thu, 2017-08-24 23:46

Hi, I am looking to understand more on the workings of the c++ executable 'snpe-net-run' under snpe-sdk. 

Is there a source file which shows how snpe-net-run is generated? Thank you!

  • Up0
  • Down0
moljaca moderator
Join Date: 25 Jul 17
Location: San Diego
Posts: 40
Posted: Fri, 2017-08-25 12:50

Hi,

Thank you for interest in Snapdragon NPE.

The source code for snpe-net-run is not available/provided in SDK. 

The examples/NativeCpp/SampeCode in SDK provides example C++ app code with similar functionality. Please refer to it. Is there some more specific info or functionality of snpe-net-run that you are interested in?

Best regards.

  • Up0
  • Down0
linnanbryant
Join Date: 2 Jan 19
Posts: 9
Posted: Sun, 2019-01-06 18:51

Hi,

i tried to compile the example in the SDK, and only the armeabi-v7a version can be built successfully, the arm64-v8a always comes out an error:

/home/bryan/workspace/android-ndk/android-ndk-r17c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: final link failed: Bad value
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [obj/local/arm64-v8a/snpe-sample] Error 1
 

could  you please help to comfirm the issue? and i already have tried different NDK(r16b,r17c,r18b).

  • Up0
  • Down0
gesqdn-forum
Join Date: 4 Nov 18
Posts: 184
Posted: Tue, 2019-02-19 05:51

Hi linnanbryant,
It is suggested to use Android-NDK r11 according to the documentation provided by Qualcomm.
Can refer below link for more info, https://developer.qualcomm.com/docs/snpe/setup.html#setup_platform_libs

  • Up0
  • Down0
or Register

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.