Hi,
I’m using the Android port of SDL 1.3, but when I try to compile my project
with ndk-build I get errors of the following type:
In file included from /home/afeder/myproject/jni/src/source/main.cpp:32:
/home/afeder/myproject/jni/src/source/lib/precompiled.h:39:78: error:
lib/config.h: No such file or directory.
The file lib/config.h does exist under
/home/afeder/myproject/jni/src/source. What can I do to make the compiler
find it?
I’m sure this is a pretty basic question, but I didn’t know where else to
ask it. Thanks.
Anders Feder
Hi,
try
ndk-build V=1
this will show you the compiler options. make sure that your include
paths are complete. If not add your pathes to LOCAL_C_INCLUDES in the
Android.mk
MartinAm 08.01.2012 14:20, schrieb Anders Feder:
Hi,
I’m using the Android port of SDL 1.3, but when I try to compile my
project with ndk-build I get errors of the following type:
In file included from
/home/afeder/myproject/jni/src/source/main.cpp:32:
/home/afeder/myproject/jni/src/source/lib/precompiled.h:39:78:
error: lib/config.h: No such file or directory.
The file lib/config.h does exist under
/home/afeder/myproject/jni/src/source. What can I do to make the
compiler find it?
I’m sure this is a pretty basic question, but I didn’t know where else
to ask it. Thanks.
Anders Feder
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
That did the trick - thanks.
Anders Feder
2012/1/8 Martin Gerhardy <martin.gerhardy at gmail.com>> Hi,
try
ndk-build V=1
this will show you the compiler options. make sure that your include paths
are complete. If not add your pathes to LOCAL_C_INCLUDES in the Android.mk
Martin
Am 08.01.2012 14:20, schrieb Anders Feder:
Hi,
I’m using the Android port of SDL 1.3, but when I try to compile my
project with ndk-build I get errors of the following type:
In file included from /home/afeder/myproject/jni/**
src/source/main.cpp:32:
/home/afeder/myproject/jni/**src/source/lib/precompiled.h:**39:78:
error: lib/config.h: No such file or directory.
The file lib/config.h does exist under /home/afeder/myproject/jni/**src/source.
What can I do to make the compiler find it?
I’m sure this is a pretty basic question, but I didn’t know where else to
ask it. Thanks.
Anders Feder
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org