我正在尝试交叉编译iPhone的icu库。我从http://sites.google.com/site/michaelsafyan/coding/articles/iphone下载了一个配置脚本包装器 当我执行它时,我收到以下错误消息:
checking wchar.h usability... no
checking wchar.h presence... yes
configure: WARNING: wchar.h: present but cannot be compiled
configure: WARNING: wchar.h: check for missing prerequisite headers?
configure: WARNING: wchar.h: see the Autoconf documentation
configure: WARNING: wchar.h: section "Present But Cannot Be Compiled"
configure: WARNING: wchar.h: proceeding with the preprocessor's result
configure: WARNING: wchar.h: in the future, the compiler will take precedence
checking for wchar.h... yes
checking for library containing wcscpy... none required
checking size of wchar_t... 0
configure: error: There is wchar.h but the size of wchar_t is 0
有没有人知道如何解决这个问题?
提前致谢
答案 0 :(得分:0)
我做了一个非常脏的黑客来解决问题:我刚刚在配置脚本中删除了这个检查。然后,icu编译。现在希望,它也能正常工作......
答案 1 :(得分:0)
曼弗雷德