Skip to content

Instantly share code, notes, and snippets.

@saghul
Created July 11, 2014 10:07
Show Gist options
  • Save saghul/0a7b4bd3dc813d8405cc to your computer and use it in GitHub Desktop.
Save saghul/0a7b4bd3dc813d8405cc to your computer and use it in GitHub Desktop.
saghul@foxtrot /c/Users/saghul/work/pyqt4/sip-4.16.2/sip-4.16.2
$ python configure.py --platform win32-g++
This is SIP 4.16.2 for Python 2.7.7 on win32.
The SIP code generator will be installed in C:/msys32/mingw32.
The sip module will be installed in
C:/msys32/mingw32/lib/python2.7/site-packages.
The sip.h header file will be installed in C:/msys32/mingw32/include/python2.7.
The default directory to install .sip files in is C:/msys32/mingw32\sip.
Creating siplib/sip.h...
Creating siplib/siplib.c...
Creating siplib/siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
saghul@foxtrot /c/Users/saghul/work/pyqt4/sip-4.16.2/sip-4.16.2
$ make
make[1]: Entering directory '/c/Users/saghul/work/pyqt4/sip-4.16.2/sip-4.16.2/sipgen'
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o main.o main.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o transform.o transform.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o gencode.o gencode.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o extracts.o extracts.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o export.o export.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o heap.o heap.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o parser.o parser.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o lexer.o lexer.c
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,console -Wl,-s -o sip.exe main.o transform.o gencode.o extracts.o export.o heap.o parser.o lexer.o
make[1]: Leaving directory '/c/Users/saghul/work/pyqt4/sip-4.16.2/sip-4.16.2/sipgen'
make[1]: Entering directory '/c/Users/saghul/work/pyqt4/sip-4.16.2/sip-4.16.2/siplib'
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o siplib.o siplib.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o apiversions.o apiversions.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o descriptors.o descriptors.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o qtlib.o qtlib.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o threads.o threads.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o objmap.o objmap.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o voidptr.o voidptr.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o array.o array.c
g++ -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\msys32\mingw32\include\python2.7 -o bool.o bool.cpp
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -shared -Wl,-subsystem,console -Wl,-s -o sip.pyd siplib.o apiversions.o descriptors.o qtlib.o threads.o objmap.o voidptr.o array.o bool.o -LC:\msys32\mingw32\libs -lpython27
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lpython27
collect2.exe: error: ld returned 1 exit status
Makefile:36: recipe for target 'sip.pyd' failed
make[1]: *** [sip.pyd] Error 1
make[1]: Leaving directory '/c/Users/saghul/work/pyqt4/sip-4.16.2/sip-4.16.2/siplib'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
saghul@foxtrot /c/Users/saghul/work/pyqt4/sip-4.16.2/sip-4.16.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment