Forums - SampleCode application in RB5

2 posts / 0 new
Last post
SampleCode application in RB5
22imonreal
Join Date: 10 Feb 21
Posts: 80
Posted: Tue, 2021-06-29 05:13

To whom it may concern:

I have successfully built and run the sample C++ application on a x86_64-linux-clang Ubuntu 20.04 system. However, when builing and running it on the RB5 with

aarch64-linux (gcc 4.9)Makefile.aarch64-linux-gcc4.9aarch64-linux-gnu-g++aarch64-linux-gcc4.9

I run snpe-sample but the executable yields a Segmentation fault (core dumped) error on line:

opts.LogFileDirectory = OutputDir;

of main.cpp in /snpe-1.50.0.2622/examples/NativeCpp/SampleCode/jni/main.cpp

Why would this be?

Thanks in advance.

 

  • Up0
  • Down0
kpoliset
Join Date: 28 Aug 19
Posts: 8
Posted: Wed, 2021-07-14 18:56

Hello,

Can you please provide the  Android NDK and the Python versions you are using?  

Thankyou

 

  • 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.