簡體   English   中英

libqxt編譯-mingw32-make異常

[英]libqxt compilation - mingw32-make exception

我在編譯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=... ,例如,我清理過的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%

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM