使用说明
Compiling-ICU-with-MinGW
我收到以下错误
digitlst.o:digitlst.cpp:(.text+0x11): undefined reference to `_free_locale'
digitlst.o:digitlst.cpp:(.text+0x8fe): undefined reference to `_create_locale'
digitlst.o:digitlst.cpp:(.text+0xa20): undefined reference to `_create_locale'
collect2.exe: error: ld returned 1 exit status
我的构建环境:
我做了
unzip icu4c-58_2-src.zip
cd icu/source
./runConfigureICU MinGW prefix=$PWD/../dist
make
有谁知道如何解决这个问题?
编辑:与 58.1 相同,但 57.1 工作正常。
最佳答案
我试图用最新版本的 ICU 构建 QT 5.8,但出现了这个问题......
我能够通过使用 x86_64-6.3.0-posix-seh-rt_v5-rev1 链接 libmsvcr100.a 来构建 icu4c-58_2
默认的 libmsvcrt.a 中似乎缺少这些函数
关于MSYS2/MinGW64 中的 ICU 58 undefined reference ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41844644/