There is a .bat script that is supposed to copy the QCAR libs from into the Shared workspace, unfortunately this doesn't work well under MacOS and Linux.
under
copyQCARLibs.sh
#!/bin/bash if [ ! -d libs ]; then mkdir libs fi cd libs if [ ! -d ./armeabi ]; then mkdir armeabi fi if [ ! -d ./armeabi-v7a ]; then mkdir armeabi-v7a fi cd .. cp ../../build/lib/armeabi/libQCAR.so libs/armeabi/ cp ../../build/lib/armeabi-v7a/libQCAR.so libs/armeabi-v7a/ if [ ! -e libs/armeabi/libQCAR.so ] || [ ! -e libs/armeabi-v7a/libQCAR.so ]; then echo ======================================================================== echo ERROR: libQCAR.so could not be copied! Check your QCAR-SDK installation! echo ======================================================================== else echo ===================================================================== echo QCAR-SDK: libQCAR.so succesfully copied into Shared\libs directories! echo ===================================================================== fi
In Eclipse with the Shared project selected, under Project -> Properties -> Builders, remove the first builder which is something like "Import QCAR Libs", and add a new one with the following settings:
Location :${workspace_loc:/com_qualcomm_QCARSamples_Shared/.externalToolBuilders/copyQCARLibs.sh}
Working Directory:${workspace_loc:/com_qualcomm_QCARSamples_Shared}
Huh that is weird... but as long as its working! :)