如题,已经下载了iconv,放在cocos2d-x根目录中,
并且在Android.mk加入了
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \
        $(LOCAL_PATH)/../../cocos2dx \
$(LOCAL_PATH)/../../platform \
$(LOCAL_PATH)/../../include \
$(LOCAL_PATH)/../../CocosDenshion/include \
                                $(LOCAL_PATH)/../../cocos2dx/layers_scenes_transitions_nodes \
                                $(LOCAL_PATH)/../../../iconv \
                                $(LOCAL_PATH)/../../../iconv/include \
                                $(LOCAL_PATH)/../../../iconv/libcharset \
                                $(LOCAL_PATH)/../../../iconv/libcharset/lib \
                                $(LOCAL_PATH)/../../../iconv/libcharset/includeLOCAL_WHOLE_STATIC_LIBRARIES := iconv cocos2dx_static cocosdenshion_static cocos_extension_static
            
include $(BUILD_SHARED_LIBRARY)$(call import-module,CocosDenshion/android) \
$(call import-module,cocos2dx) \
$(call import-module,extensions) \
$(call import-module,iconv)
但是使用cygwin sh的时候,报错
iconv/lib/iconv_open1.h:167: error: undefined reference to 'locale_charset'请问是为什么啊?谢谢大家了。谢谢