目标配方' main.o'失败

时间:2016-09-18 09:22:27

标签: gcc pyqt4 mingw32 python-sip

我正在尝试安装SIP以便能够在我的Windows系统上安装PyQt。我正在按照指南" https://riverbankcomputing.com/pipermail/pyqt/2010-May/026642.html"但是@步骤8

Then launch : C:\MinGW\bin\mingw32-make.exe

我收到以下错误。由于对C的经验不足,我不知道该做什么。经过研究我发现了类似的错误Cygwin - Makefile-error: recipe for target `main.o' failed,但显然原因应该是不同的,因为那里的解决方案并不适用于我的情况。

C:\Users\timpi\Downloads\sip-4.18.1\sip-4.18.1>"C:\MinGW\bin\mingw32-make.exe"
mingw32-make[1]: Entering directory 'C:/Users/timpi/Downloads/sip-4.18.1/sip-4.18.1/sipgen'
gcc -c -O2 -Wall -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o main.o main.c
process_begin: CreateProcess(NULL, gcc -c -O2 -Wall -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o main.o main.c, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:29: recipe for target 'main.o' failed
mingw32-make[1]: *** [main.o] Error 2
mingw32-make[1]: Leaving directory 'C:/Users/timpi/Downloads/sip-4.18.1/sip-4.18.1/sipgen'
Makefile:3: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

有什么想法?

0 个答案:

没有答案