how include libcurl..??

Greetings :slight_smile:
i’m developer from Korea , and i’m studying Cocos2d-x.
i wanna know about using external C*+ library in Cocox2d-x which using android NDK.
i’m using Windows7 , Visual studio 2010 , Eclipse indigo , Cygwin
i tried to compile c*+ sources which generated by Cocos2d-x in Cygwin. but that’s not worked.

the error message is following :
E:/cocos2dx/SeriousDungeonTest/android/jni/SeriousDungeonTest/…/…/…/Classes/AppDeletegate/…/Header/…/curl/curlrules.h:80: error: ‘Error’ does not name a type
E:/cocos2dx/SeriousDungeonTest/android/jni/SeriousDungeonTest/…/…/…/Classes/AppDeletegate/…/Header/…/curl/curlrules.h:153: error: ‘curl_off_t’ was not declared in this scope
E:/cocos2dx/SeriousDungeonTest/android/jni/SeriousDungeonTest/…/…/…/Classes/AppDeletegate/…/Header/…/curl/curlrules.h:153: error: ‘CURL_SIZEOF_CURL_OFF_T’ was not declared in this scope

… etc….

so … how i use external libraries in android NDK ?
please help …

Excuse me, I didn’t quite catch your meaning.
Are you running tests/test.android/build_native.sh to compile “Tests” project on android ndk?

of course!

i running to “myproject/android/build_native.sh”…