首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >quazip: windows ming32w-制造错误

quazip: windows ming32w-制造错误
EN

Stack Overflow用户
提问于 2015-02-05 04:14:09
回答 1查看 714关注 0票数 0

我正在用QT5.4在wdinwso 7下编译quazip源代码。

我试着编译unders 2013,但是找不到rc.exe文件。我确保rc.exe和dll都在vs2013和vs2010的工具包和SDK文件夹中。

所以我跟踪了这个:http://www.maefloresta.com/portal/quazip

当我这样做时,我会得到以下错误消息,并且不知道从哪里开始查找。

代码语言:javascript
复制
C:\development\QTCommon\quazip>mingw32-make
cd quazip\ && ( if not exist Makefile C:\development\QT\5.4\5.4\msvc2013_64\bin\
qmake.exe C:\development\QTCommon\quazip\quazip\quazip.pro -o Makefile ) && ming
w32-make -f Makefile
mingw32-make[1]: Entering directory 'C:/development/QTCommon/quazip/quazip'
mingw32-make -f Makefile.Release
mingw32-make[2]: Entering directory 'C:/development/QTCommon/quazip/quazip'
cl -c -nologo -Zm200 -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -W3 -w34100 -w341
89 -GR -EHsc -DUNICODE -DWIN32 -DQUAZIP_BUILD -DNOMINMAX -DQT_NO_DEBUG -DQT_CORE
_LIB -DNDEBUG -I"." -I"C:\development\QT\5.4\5.4\msvc2013_64\Src\qtbase\src\3rdp
arty\zlib" -I"C:\development\QT\5.4\5.4\msvc2013_64\include" -I"C:\development\Q
T\5.4\5.4\msvc2013_64\include\QtCore" -I"release" -I"C:\development\QT\5.4\5.4\m
svc2013_64\mkspecs\win32-msvc2013" -Forelease\ @<<
<< was unexpected at this time.
Makefile.Release:116: recipe for target '{release}.cpp{release\}.obj' failed
mingw32-make[2]: *** [{release}.cpp{release\}.obj] Error 255
mingw32-make[2]: Leaving directory 'C:/development/QTCommon/quazip/quazip'
Makefile:34: recipe for target 'release' failed
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory 'C:/development/QTCommon/quazip/quazip'
Makefile:41: recipe for target 'sub-quazip-make_first' failed
mingw32-make: *** [sub-quazip-make_first] Error 2

从quazip中找到的makefile.release线:

代码语言:javascript
复制
####### Implicit rules

.SUFFIXES: .c .cpp .cc .cxx

{release}.cpp{release\}.obj::
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
    $<
    <<

任何帮助将是伟大的,无论是制造或vs 2013年的问题。

干杯。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-02-05 12:04:15

如果您遵循提供的链接(http://www.maefloresta.com/portal/quazip)的说明,那么问题的根源可能是因为您没有正确构建QuaZIP库,或者因为您的包含路径或库路径是错误的。

如果您想要一个关于如何在Qt中使用QuaZIP的完整示例,我建议您查看我的博客:http://www.antonioborondo.com/2014/10/22/zipping-and-unzipping-files-with-qt/的这个条目。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28336111

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档