Log in or register to post comments

Set Up the build path

August 26, 2013 - 9:51pm #1

So I've been trying to install the Vufoia SDK, so far i managed to unzip it and add the QCAR enviroment variable to the ADT(eclipse) but i got stuck in the step "Set up the build path" because it says to go into the package properties by right-clicking it but I dont know what the package is, i mean i don´t know what I should right-click.
I thought I could just skip that step but when I tried to build one of the sample apps (downloaded from here) using cygwn and the ndk-build the build gets stuck in:

 

/cygdrive/c/development/Android/vuforia-sdk-android-2-6-10/samples/MultiTargets-2-6-7
$ /cygdrive/c/Development/Android/android-ndk-r9/ndk-build
Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi-v7a/gdbserver
Gdbsetup : libs/armeabi-v7a/gdb.setup
Cygwin : Generating dependency file converter script
Compile++ arm : MultiTargets <= MultiTargets.cpp
Compile++ arm : MultiTargets <= SampleUtils.cpp
Compile++ arm : MultiTargets <= Texture.cpp
Prebuilt : libQCAR.so <= jni/../../../build/lib/armeabi/
StaticLibrary : libstdc++.a
SharedLibrary : libMultiTargets.so
C:/Development/Android/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot open ./obj/local/armeabi/libQCAR.so: Permission denied

 

"."directory been the root directory of the sample i´m trying to build. the libQCAR.so is created by the ndk-build script.

I would appreciate any kind of help thank you. 

Set Up the build path

August 28, 2013 - 12:02am #4

Sounds like a file permission issue;

you need to ensure full read-write access to all the files;

one way of doing it is to browse to the vuforia-sdk root and type at the cygwin console:

chmod -R 777 *

Note:

this is also explained in this thread:

https://developer.vuforia.com/forum/android/problem-cygwin

 

Set Up the build path

August 27, 2013 - 12:25pm #3

Thanks a lot,I already tried thath, but im still getting the same error:

 

C:/Development/Android/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot open ./obj/local/armeabi/libQCAR.so: Permission denied

What I make from this is that ld.exe cant open libQCAR.so, but I dot know how to fix it.

Set Up the build path

August 27, 2013 - 12:48am #2

Once you import a sample project, then right-click on the project itself.

 

Log in or register to post comments