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.
I have tried with the following CMakeLists.txt:
But I am getting the following error:
Can you please provide a working CMakeLists.txt or suggest how to correc this one for it to work?
Hello customer,
Queries related to CMake is not supported at present !
if you have question for makefile issues, let us know
Thankyou for understanding!
Mita
Hello 22imonreal,
I was able to build SNPE sample code with the following CMakeList.txt:
-----------------------------------------------CMakeLists.txt----------------------------------------
cmake_minimum_required(VERSION 3.10)
include_directories(${SNPE_ROOT}/include/zdl)
------------------------------------------------------------------------------------------------------
Hello,
Thanks for your reply.
What changes would I need to make to build it for the RB5 platform?
Thanks
Hello,
I tried editing the CMakeLists.txt code you shared above to build for the RB5 as follows:
But I am getting the following error:
This means it is not finding the DSP runtime.
Do I have to include or link any additional libraries in the CMakeListst.txt to get it to run on the DSP or AIP? And how would I do it?
My guess is it has something to do with linking the
$SNPE_ROOT/lib/dsp .so shared libraries, and I tried the following, which did not work:
so how would I do this in the CMakeLists.txt to make the sample-app for the RB5 find the DSP runtime?
Thank you in advance, I just need this last bit to work with your help, and I am sure it will help may other customers who are having similar issues, so I would be very grateful if you could come back to me with an answer and not just ignore this post as with the one above.
Kind regards,
A grateful customer.