Friday, March 28, 2014

cocos2d-x ported Android. iconv error


As stated already downloaded iconv, on cocos2d-x root directory,
And Android.mk joined
 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 / include

LOCAL_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)


However, when using cygwin sh, error
iconv/lib/iconv_open1.h: 167: error: undefined reference to 'locale_charset'

May I ask why ah? Thank you. Thank
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
LOCAL_WHOLE_STATIC_LIBRARIES: = iconv cocos2dx_static cocosdenshion_static cocos_extension_static

This code is redundant iconv

No comments:

Post a Comment