|
From: legend <zel...@16...> - 2012-10-22 09:47:20
|
yes, icu project like other posix project used posix named type, you may use msys+mingw to do this, msys+mingw compiler closed to posix type At 2012-10-22 13:15:22,helloworld5678 <hel...@16...> wrote: Dear all, I met a problem in my compilation under VS2010. The objs or libs generated by VS2010 calls for symbols with version, such as _udat_open_46, _udat_close_46, etc. But the ICU libs in ICU PATH provide symbols without version, such as _udat_open, _udat_close, etc. So I met "error LNK 2019, unresolved symbol" in my compilation. I found an solution on web: add "--disable-renaming" or define "#define U_DISABLE_RENAMING 1". My question is: how VS2010 knows the version of ICU is 4.6? Where is the version information? Is it in header files or configure files? The second one is: there is no "libicuin.lib" in package "icu4c-4_6_1-Win32-msvc10.zip". But many applications need "libicuin.lib". Just rename "icuin.lib" from the package to "libicuin.lib"? Thanks in advance! Apple |