gpt4 book ai didi

windows - libqxt编译-mingw32-make异常

转载 作者:行者123 更新时间:2023-12-02 10:55:23 25 4
gpt4 key购买 nike

我在编译libqxt时遇到以下问题。

configure.bat生成文件,但显示一些警告:

c:\Users\Lukasz\Downloads\libqxt-libqxt-7e0d3396b765>configure.bat
Testing for qmake...
Testing for mingw32-make...
Using mingw32-make.
Testing for optional external libraries.
If tests fail, some features will not be available.
Testing for Berkeley DB...
Berkeley DB disabled.
Testing for Zero Conf...
Zero Conf disabled.
Configuration successful.
Generating makefiles...
Project MESSAGE: building docs
Project MESSAGE: building core module
Project MESSAGE: building widgets module
Project MESSAGE: building network module
Project MESSAGE: building sql module
Project MESSAGE: building web module
Reading C:/Users/Lukasz/Downloads/libqxt-libqxt-7e0d3396b765/tools/3rdparty/qdoc
3/qdoc3.pro
Reading C:/Users/Lukasz/Downloads/libqxt-libqxt-7e0d3396b765/src/core/core.pro
Reading C:/Users/Lukasz/Downloads/libqxt-libqxt-7e0d3396b765/src/widgets/widgets
.pro
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Reading C:/Users/Lukasz/Downloads/libqxt-libqxt-7e0d3396b765/src/designer/design
er.pro
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Reading C:/Users/Lukasz/Downloads/libqxt-libqxt-7e0d3396b765/src/network/network
.pro
Reading C:/Users/Lukasz/Downloads/libqxt-libqxt-7e0d3396b765/tools/jsonrpcclient
/jsonrpcclient.pro
Reading C:/Users/Lukasz/Downloads/libqxt-libqxt-7e0d3396b765/src/sql/sql.pro
Reading C:/Users/Lukasz/Downloads/libqxt-libqxt-7e0d3396b765/src/web/web.pro
Makefiles generated. Run mingw32-make now.

mingw32-make几乎立即中断,但有异常:
c:\Users\Lukasz\Downloads\libqxt-libqxt-7e0d3396b765>mingw32-make
mingw32-make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x421963)

来源是从官方网站下载的。运行configure和mingw32-make是自述文件中描述的编译方式。怎么了

最佳答案

答案很简单而且出乎意料-mingw32-make在PATH环境变量中带有括号(“(”符号)时存在很大问题。解决方案是从PATH中删除所有包含“(”)的目录。

可以使用以下语法在命令行中本地更改PATH(而不对其他任何程序进行更改):set PATH=...,例如我清理过的路径是:

set PATH=C:\QtSDK\mingw\bin;C:\QtSDK\Desktop\Qt\4.8.0\mingw\lib;C:\QtSDK\Desktop\Qt\4.8.0\mingw\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;

至于获取当前PATH值,请使用语法: echo %PATH%

关于windows - libqxt编译-mingw32-make异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12090114/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com