I am trying to create a project using android ndk (on Windows) and I am having some problems with the source files ( LOCAL_SRC_FILES on Android.mk)
I am trying to use relative paths to the parent folder like
LOCAL_SRC_FILES := ../../../src/main.cpp
And when running ndk_build.cmd, it produces the following error:
Compile++ thumb : GTP <= main.cpp The system cannot find the file specified. make: *** [obj/local/armeabi/objs/GTP/__/__/__/src/.o] Error 1
So, I tried using absolute paths:
LOCAL_SRC_FILES := D:/Path/To/src/main.cpp
Unfortunately, this does not work, because : causes problems in windows .
Is it possible to specify the source files in a relative directory (or absolute)? The reason I'm asking is because I want to avoid a possible symbolic link to the src folder, if possible.
source share