问题描述
我尝试在Powershell中使用mingw编译pugixml(https://github.com/zeux/pugixml)。静态库运行良好,但是当我尝试使用命令编译dll时
cmake -G "MinGW Makefiles" -DBUILD_SHARED_LIBS=ON ..
mingw32-make.exe
,我收到以下消息:
C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin\windres.exe: C:\\Users\\kafka\\Desktop\\project\\pugixml\\scripts\\pugixml_dll.rc:11: Syntax error
C:\Users\kafka\Desktop\project\pugixml\scripts\pugixml_dll.rc:2: Fatal error: when writing output to : broken pipe
cmake版本:3.18 mingw32-make:
GNU Make 4.2.1
Built for x86_64-w64-mingw32
copyright (C) 1988-2016 Free Software Foundation,Inc.
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)