Hi, I want to build c++ example on this website.
https://developer.qualcomm.com/docs/snpe/cplus_plus_tutorial.html#cpp_tu...
I follow the tutorial set
1. export CXX=aarch-64-linux-gnu-g++
2.make -f Makefile.x86_64-linux-clang
But the error show that "/usr/bin/ld: cannot find -lSNPE"
Hi,
Please set CXX value according to your platform architecture and then use corresponding makefile.
TARGET CXX Value Makefile
Assuming your Target Platform as x86_64 architecture corresponding CXX value should be g++ and makefile to be used is Makefile.x86_64-linux-clang. Instead you choosed conflicting CXX value of aarch64-linux target and makefile of x86_64 linux.
Also make sure $(SNPE_ROOT) is set properly.
For CXX value and corresponding Makefile of other target architecures please refer table from Building and Running on x86 Linux and Embedded Linux section.