windows - libqxt编译-mingw32-make异常

我在编译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%

https://stackoverflow.com/questions/12090114/

相关文章:

compiler-construction - Flex编译错误

actionscript-3 - 在函数外部使用变量。错误-参数数目不正确。预期1

cocos2d-iphone - 在Xcode中禁用Apple Mach-o链接器错误

android - 编译应用程序时出现LogCat错误

compiler-errors - 未在此范围内声明“RUSAGE_THREAD”

c# - 较少严格的CodeDomProvider来编译DLL

matlab - 在matlab中创建一个exe文件的问题

c# - 第一次使用msbuild

visual-studio-2010 - USBView编译错误

c# - 简单的代理asp.net错误