"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Fix for bug in Eclipse Shared workspace for MacOS (and most likely *nix)

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 /samples/Shared/.externalToolBuilders, add the following script: copyQCARLibs.sh [CODE]#!/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 [/CODE] 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 : [CODE]${workspace_loc:/com_qualcomm_QCARSamples_Shared/.externalToolBuilders/copyQCARLibs.sh}[/CODE] Working Directory: [CODE]${workspace_loc:/com_qualcomm_QCARSamples_Shared}[/CODE]

muuusiiik

Wed, 10/13/2010 - 08:42

The problem was fixed!!! My friend, @javakung, suggest me to simply rename folder ".externalToolBuilders" to "externalToolBuilders", to make Eclipse can see the copyQCARLibs.sh file. Then everything work fine :D Dont know this is an OS's or Eclipse's problem.