Forums - snpe 1.62(1.63) failed to build on android

4 posts / 0 new
Last post
snpe 1.62(1.63) failed to build on android
xinyu391
Join Date: 8 Mar 18
Posts: 3
Posted: Tue, 2022-07-19 00:12
what is libstd?  c++ library?
1.62,and 1.63 will cause this error.
1.61 doesn't, but thre inference  result is not good.
platform : android 9,  device 835.
 
code:
Quote:
 
static zdl::DlSystem::RuntimeList runtimeList;
 
checkRuntime(runtimeList);
std::unique_ptr<zdl::DlContainer::IDlContainer> container;
container = zdl::DlContainer::IDlContainer::open(model_path);
bool useUserSuppliedBuffers = true;
zdl::DlSystem::PlatformConfig platformConfig;
zdl::SNPE::SNPEBuilder snpeBuilder(container.get());
snpe = snpeBuilder.setOutputLayers({})
.setRuntimeProcessorOrder(runtimeList)
.setUseUserSuppliedBuffers(useUserSuppliedBuffers)
.setPlatformConfig(platformConfig)
.build();
 
-------------------------
 
Quote:
 
SNPE Version: 1.63.0.3523
 
use CPU Runtime
 
SNPE build failed error_code=1200; error_message=libstd error. error_code=1200; error_message=libstd error. QnnBackend_initialize failed: 1006; error_component=Dependent library; line_no=646; thread_id=518627624176; error_component=Dependent library; line_no=342; thread_id=518660498760
 
 
 
  • Up0
  • Down0
ss.pandiri
Join Date: 29 May 18
Posts: 58
Posted: Thu, 2022-07-28 07:42

'can you please search for libstd on your device and add that path to LD_LIBRARY_PATH environment variable?

  • Up0
  • Down0
harshal.dhir
Join Date: 12 Jul 22
Posts: 1
Posted: Thu, 2022-08-04 09:51

Thanks a ton for this.

Do we know what exactly is the issue?

And how do we make is future proof, i.e. upgradeable?

  • Up0
  • Down0
gal.safra1
Join Date: 5 Sep 22
Posts: 6
Posted: Wed, 2022-09-21 03:59

Hi, I have the exact same issue with SNPE 1.65.0.3676 .
But, I dont have libstd on the device (I have libstdc++).

Any idea how to solve this?

 

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