Log in or register to post comments

#include doesn't work

July 12, 2012 - 2:43am #1

Hello,

I get some issues while trying to make my own ImageTarget. Based on ImageTarget sample, I tried to make my own app, but i have issues with the android.mk file.

When i put the " #include <QCAR/xxxx.h> " in my .cpp file and when i put " LOCAL_SHARED_LIBRARIES := QCAR-prebuilt " in android.mk file, the ndk-build works but the app closes with the following error : the library libndkmain.so could not be loaded.

However, when i remove the #include <QCAR.xxxx.h> and the lane of the android.mk, it works fine (but i can't use QCAR library this way..)

Thanks in advance for help.

#include doesn't work

July 18, 2012 - 1:02am #3

Hey Peter,

I missed two lanes from the Android.mk, it finally works !

Thanks.

#include doesn't work

July 17, 2012 - 10:44am #2

Hello,

It appears you are missing a few lines from the Android.mk file. See the ImageTargets sample Android.mk file. At the top you will see where the QCAR-prebuilt module is defined. Without these lines the local_shared_libraries definition won't work.

Please let me know if that works for you,

-Peter

Log in or register to post comments