Raconeisteron / kwaak3

Automatically exported from code.google.com/p/kwaak3
0 stars 0 forks source link

Compile errors when building ioquake3 for Android (using Cygwin bash shell) #159

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi 

I keep getting this error when trying to build ioquake3 for Android (in Cygwin 
bash cell).  

/cygdrive/c/Development/Android/android-ndk-r6b/platforms/android-4/arch-arm/usr
/include/GLES/gl.h:737: warning: data definition has no type or storage class
/cygdrive/c/Development/Android/android-ndk-r6b/platforms/android-4/arch-arm/usr
/include/GLES/gl.h:756: error: parse error before "glPointSizePointerOES"

I am using the following CFLAGS and LDFLAGS in my Makefile.
CFLAGS=$(ANDROID_CFLAGS) 
-I$(ANDROID_NDK_DIR)/platforms/android-4/arch-arm/usr/include -DANDROID 
-D__linux__ -D__MATH_NEON 

LDFLAGS=-nostdlib -L$(ANDROID_NDK_DIR)/platforms/android-4/arch-arm/usr/lib

Can someone let me know if I am missing anything here to get GL to compile?

Thank you,

Kim

Original issue reported on code.google.com by k...@itsaver.com on 30 Sep 2011 at 8:20