Qt를 빌드하려고하는데 'nmake'를 실행할 때 발생하는 오류를 해결할 수 없습니다. 이 구성을 사용했습니다.
configure -prefix %CD%\qtbase -debug-and-release -qt-sql-sqlite -no-audio-backend -no-declarative -mp -nomake examples
이 옵션은 MITK와 호환됩니다. 내 Python 버전은 2.7.9이고 Visual Studio 2013을 사용하고 있습니다.
오류는 다음과 같습니다.
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.
C:\qt-everywhere-opensource-src-5.4.1\qtwebengine\src\3rdparty\ninja\nin
ja.exe -C C:/qt-everywhere-opensource-src-5.4.1/qtwebengine/src/core/Debug
ninja: Entering directory `C:/qt-everywhere-opensource-src-5.4.1/qtwebengine/src
/core/Debug'
ninja: fatal: CreateProcess: %1 is not a valid Win32 application.eb4b7f6c079ef7
NMAKE : fatal error U1077: 'C:\qt-everywhere-opensource-src-5.4.1\qtwebengine\sr
c\3rdparty\ninja\ninja.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '(' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
당신의 도움에 미리 감사드립니다.
비슷한 문제가있었습니다. 어딘가에서 단서 (링크를 찾을 수 없음)를 찾은 후 해결했습니다.
들어가면
Qt\X.x\Src\qtwebengine\3rdparty\ninja
'bootstrap.py'를 찾을 수 있습니다.
수동으로 boostrap.py를 실행해야했습니다. 그런 다음 Src 트리의 루트에서 'nmake'를 다시 실행할 수 있어야합니다.
Daryl
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다