when I use the OPENGL library-functions in the codes, it can cross-compiling on win32 platform, but some errors on cygwin,
ERRORS LIKE THIS (while used `glColor4f' and `glEnable' ):
SharedLibrary : libgame_logic.so
./obj/local/armeabi/objs-debug/game_logic/Character.o: In function `CCharacter::drawHitTestBoxLayer()‘:
E:/jni/../../Classes/Character.cpp:160: undefined reference to `glColor4f’
E:/jni/../../Classes/Character.cpp:161: undefined reference to `glEnable’
collect2: ld returned 1 exit status
/cygdrive/d/Android/android-ndk-r7/build/core/build-binary.mk:312: recipe for target `obj/local/armeabi/libgame_logic.so
make: \* [obj/local/armeabi/libgame_logic.so] Error 1
make: Leaving directory `/cygdrive/e/APKMAKE/ko/android’
oh, I think the one cant find some library-files somewhere, and it is so sad.
so how should I configured the OPENGL to save the man?
(Im sorry, my english is not good)