在为android编译ICU时,遇到以下错误:
/home/tim/icu49/icu/source/i18n/strmatch.cpp: In member function 'virtual icu/icu49/icu/source/i18n/strmatch.cpp:166: error: 'ICU_Utility'
我还更新了完整的icu版本。$NODE_ICU_DATA设置为/usr/lib/node_modules/full-icunode: could not initialize ICU (check NODE_ICU_DATAor --icu-data-dir parameters)
你知道怎么解决这个问题吗?
我正在做一个项目,该项目利用ICU的库来处理各种语言的日期信息。symbs.getMonths(count); // some code handling month names, no ICU;// more code that does not use ICU
count的值应该由getMonths()方法设置为获得的月数,例如,当语言为英语时为12。