<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Many thanks for answer.</span></div><div style="color: rgb(0, 0, 0); font-size: 15.555556297302246px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>I did not install Mingw as I thought my existing windows7  win32-msvc2010 would work. Obviously it's opengl,  no good without C++.</span></div><div style="color: rgb(0, 0, 0); font-size: 15.555556297302246px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>I installed Mingw, reconfigure SIP to win32-g++ and compile with GnuWin32 make.</span></div><div style="color: rgb(0, 0, 0); font-size: 15.555556297302246px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style:
 normal;"><span>All's good. My SIP.exe  and ...all other compiles are copied into their respective directories.</span></div><div style="color: rgb(0, 0, 0); font-size: 15.555556297302246px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Thanks again, and now my fun starts. I move on to PyQt4</span></div><div style="color: rgb(0, 0, 0); font-size: 15.555556297302246px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Thank You, Thank you, Thank you.</span></div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Phil Thompson <phil@riverbankcomputing.com><br>
 <b><span style="font-weight: bold;">To:</span></b> Richard Lang <r1lang@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> PyQt@riverbankcomputing.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, 28 February 2013 7:06 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [PyQt] Problem Installing SIP-4.14.3<br> </font> </div> <br>On Wed, 27 Feb 2013 20:48:33 -0800 (PST), Richard Lang <<a ymailto="mailto:r1lang@yahoo.com" href="mailto:r1lang@yahoo.com">r1lang@yahoo.com</a>><br>wrote:<br>> Help! <br>> <br>> I'm trying to create GUI applications using Python v3.3.0,<br>> PyQt4 v4.9.6 on my windows 7 SP1 64bit OS laptop using SIP v4.14.3 and<br>> GnuWin32<br>> Make v3.81 for compiling bindings. <br>> I am not sure if they are 32bit compatible and what else to<br>> download in-order to build the development environment?<br><br>Why not use one of the binary
 installers?<br><br>You don't say what flags you passed to SIP's configure.py. Make sure you<br>specify the right --platform flag as described in the "Configuring for<br>MinGW" section of the docs.<br><br>Phil<br><br>> Set my environment PATH variables accordingly and started to<br>> install. <br>>  <br>> <a href="http://www.python.org/download/releases/3.3.0/%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0" target="_blank">http://www.python.org/download/releases/3.3.0/     </a> Windowsx86<br>> MSIInstaller(3.3.0)(sig)<br>> <a href="http://www.riverbankcomputing.com/software/pyqt/download%C2%A0%C2%A0%C2%A0" target="_blank">http://www.riverbankcomputing.com/software/pyqt/download   </a><br>> PyQt-win-gpl-4.9.6.zip Windows source<br>> <a href="http://www.riverbankcomputing.com/software/sip/download%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0"
 target="_blank">http://www.riverbankcomputing.com/software/sip/download     </a><br>ip-4.14.3.zip<br>> Windows source<br>> <a href="http://gnuwin32.sourceforge.net/packages/make.htm%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0" target="_blank">http://gnuwin32.sourceforge.net/packages/make.htm        </a> Complete<br>> package, except sources   Setup<br>> <br>> <br>> C:\Python33> python runs with no problems - installed<br>> successfully <br>>  <br>> I'm having trouble compiling and installing the SIP.exe<br>> file. <br>> <br>> When I run make,<br>> it goes into a loop as follows:-<br>>     C:\Users\PingYu><br>>     C:\Users\PingYu> cd C:\Python33\Pysip\sip-4.14.3<br>>     C:\Python33\PYSIP\sip-4.14.3><br>>    
 C:\Python33\PYSIP\sip-4.14.3>make<br>>     cd sipgen<br>>     make<br>>     make[1]: Entering<br>> directory C:/Python33/PYSIP/sip-4.14.3'<br>>     cd sipgen<br>>     .... <br>>     .... goes into a<br>> loop... <br>>     .... <br>>     Cmd.exe-Application The application was unable to start correctly<br>> (0xc0000142).<br>>     Click OK to close<br>> the application <br>>     make[409]: ***<br>> [all] ′í?ó -1073741502 make[409]: Leaving DirectoryC:/Python33/PYSIP<br>>            /sip-4.14.3'<br>>     ....<br>>     .... continue to<br>> loop...<br>>     ....<br>>     make[1]: [all] ′í?ó 2<br>>     make[1]:
 Leaving<br>> directory `C:/Python33/PYSIP/sip-4.14.3'<br>>     make: [all] ′í?ó 2<br>>     C:\Python33\PYSIP\sip-4.14.3><br>>  <br>> ----------<br>>  I renamed C:\Python33\PYSIP\sip-4.14.3\Makefile to zMakefile<br>> so that it will not be read. (I think this was the caused of the loop.<br>> There<br>> are 3 Makefiles in the directory hierarchy)<br>>  ----------<br>>  Then I changed the<br>> dir to run make again as follows....<br>>     C:\Python33\PYSIP\sip-4.14.3> cd sipgen<br>>     C:\Python33\PYSIP\sip-4.14.3\sipgen> make<br>>     makefile:19: *** ò???·???·? ?£í£?1?£<br>>     <br>> I get the above error !!<br>> It's the same if I run with 'Make all' and 'Make Install'<br>> I also changed directory to make from siplib as follows...<br>>  <br>>
     C:\Python33\PYSIP\sip-4.14.3\siplib> make<br>>     makefile:19: *** ò???·???·? ?£í£?1?£,<br>>  <br>> The same errors with 'Make all' and 'Make Install' <br>>  ----------<br>> I suspect the coding in the Makefiles are not compatible<br>> with GnuWin32 Make<br>> <br>>  ----------<br>> <br>> Files and folders in directory ….<br>>  <br>> ## C:\Python33\PYSIP\sip-4.14.3 ##<br>>     __pycache__     Folder<br>>     Custom             Folder       <br>>     Doc                  Folder<br>>     Sipgen              Folder<br>>     Siplib             
   Folder<br>>     Specs               Folder<br>>     Sphinx              Folder<br>>     configure.py<br>>     LICENSE<br>>     LICENSE-GPL2<br>>     LICENSE-GPL3<br>>     Makefile<br>>     NEWS<br>>     README<br>>     sipconfig.py<br>>     sipdistutils.py<br>>     siputils.py<br>>  <br>> <br>> The Makefile is ...<br>>      all:<br>>                   cd sipgen<br>>                   $(MAKE)<br>>
                   @cd ..<br>>                   cd siplib<br>>                   $(MAKE)<br>>                   @cd ..<br>>     <br>>     install:<br>>                   cd sipgen<br>>                   $(MAKE) install<br>>                   @cd ..<br>>                
   cd siplib<br>>                   $(MAKE) install<br>>                   @cd ..<br>>                   @if not exist C:\Python33\Lib\site-packages<br>> mkdir C:\Python33\Lib\site-packages<br>>                   copy /y sipconfig.py<br>> C:\Python33\Lib\site-packages\sipconfig.py<br>>                   copy /y<br>> C:\Python33\PYSIP\sip-4.14.3\sipdistutils.py C:\Python33\Lib\site-<br>>           packages\sipdistutils.py<br>>  <br>>     clean:<br>>
                   cd sipgen<br>>                   $(MAKE) clean<br>>                   @cd ..<br>>                   cd siplib<br>>                   $(MAKE) clean<br>>                   @cd ..<br>>  <br>>  <br>> ----------<br>>  C:\Python33\PYSIP\sip-4.14.3\sipgen  <br>> <br>>     export.c<br>>     extracts.c<br>>     gencode.c<br>>     heap.c<br>>
     lexer.c<br>>     lexer.l<br>>     main.c<br>>     Makefile<br>>     parser.c<br>>     parser.h<br>>     parser.y<br>>     sip.h<br>>     sipgen.sbf<br>>     transform.c<br>>  <br>> The make file is ...<br>>  <br>>     TARGET = sip.exe<br>>     OFILES = main.obj<br>> transform.obj gencode.obj extracts.obj export.obj heap.obj parser.obj<br>>     lexer.obj<br>>     HFILES = sip.h<br>> parser.h<br>>  <br>>     CC = cl<br>>     CXX = cl<br>>     LINK = link<br>>     CPPFLAGS =<br>> -DNDEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -I.<br>>     CFLAGS = -nologo<br>> -Zm200
 -Zc:wchar_t- -O2 -MD -W0<br>>     CXXFLAGS = -nologo<br>> -Zm200 -Zc:wchar_t- -O2 -MD -W0<br>>     LFLAGS = /NOLOGO<br>> /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /MANIFEST<br>>     /MANIFESTFILE:$(TARGET).manifest /SUBSYSTEM:CONSOLE<br>>     LIBS = <br>>     .SUFFIXES: .c .cpp<br>> .cc .cxx .C<br>>  <br>>  <br>>     {.}.cpp{}.obj::<br>>                   $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -Fo<br>> @<<<br>>                   $<<br>>     <<<br>>  <br>>     {.}.cc{}.obj::<br>>                   $<<br>>
     <<<br>>  <br>>     {.}.cxx{}.obj::<br>>                   $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -Fo<br>> @<<<br>>                   $<<br>>     <<<br>>  <br>>     {.}.C{}.obj::<br>>                   $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -Fo<br>> @<<<br>>                   $<<br>>     <<<br>>  <br>>     {.}.c{}.obj::<br>>                   $(CC) -c $(CFLAGS) $(CPPFLAGS) -Fo
 @<<<br>>                   $<<br>>     <<<br>>  <br>>     all: $(TARGET)<br>>  <br>>     $(OFILES):<br>> $(HFILES)<br>>  <br>>     $(TARGET):<br>> $(OFILES)<br>>                   $(LINK) $(LFLAGS) /OUT:$(TARGET) @<<<br>>     $(TARGET):<br>> $(OFILES)<br>>                   $(LINK) $(LFLAGS) /OUT:$(TARGET) @<<<br>>                   $(OFILES) $(LIBS)<br>>     <<<br>>
                   mt -nologo -manifest $(TARGET).manifest<br>> -outputresource:$(TARGET);1<br>>  <br>>     install: $(TARGET)<br>>                   @if not exist C:\Python33 mkdir C:\Python33<br>>                   copy /y $(TARGET) C:\Python33\$(TARGET)<br>>  <br>>     clean:<br>>                   -del $(TARGET)<br>>                   -del main.obj<br>>                   -del transform.obj<br>>
                   -del gencode.obj<br>>                   -del extracts.obj<br>>                   -del export.obj<br>>                   -del heap.obj<br>>                   -del parser.obj<br>>                   -del lexer.obj<br>>                   -del $(TARGET).manifest<br>>  <br>> ----------<br>> <br>>  C:\Python33\PYSIP\sip-4.14.3\siplib  <br>>
 <br>>     parser.h<br>>     ool.cpp<br>>     descriptors.c<br>>     Makefile<br>>     objmap.c<br>>     qtlib.c<br>>     sip.h<br>>     sip.h.in<br>>     sipint.h<br>>     siplib.c<br>>     siplib.c.in<br>>     siplib.sbf<br>>     siplib.sbf.in<br>>     hreads.c<br>>     voidptr.c<br>>  <br>> The Make file is ...<br>>  <br>>     TARGET = sip.pyd<br>>     OFILES =<br>> siplib.obj apiversions.obj descriptors.obj qtlib.obj threads.obj<br>objmap.obj<br>>     voidptr.obj<br>> bool.obj<br>>     HFILES = sip.h<br>> sipint.h <br>>  <br>>     CC = cl<br>>
     CXX = cl<br>>     LINK = link<br>>     CPPFLAGS =<br>> -DNDEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -I.<br>-IC:\Python33\include<br>>     CFLAGS = -nologo<br>> -Zm200 -Zc:wchar_t- -O2 -MD -W0<br>>     CXXFLAGS = -nologo<br>> -Zm200 -Zc:wchar_t- -O2 -MD -W0<br>>     LFLAGS = /NOLOGO<br>> /DYNAMICBASE /NXCOMPAT /DLL /MANIFEST /MANIFESTFILE:$(TARGET).manifest<br>>     /SUBSYSTEM:CONSOLE<br>> /INCREMENTAL:NO<br>>     LIBS =<br>> /LIBPATH:C:\Python33\libs python33.lib<br>>     .SUFFIXES: .c .cpp<br>> .cc .cxx .C<br>>  <br>>  <br>>     {.}.cpp{}.obj::<br>>                   $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -Fo<br>> @<<<br>>
                   $<<br>>     <<<br>>  <br>>     {.}.cc{}.obj::<br>>                   $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -Fo<br>> @<<<br>>                   $<<br>>     <<<br>>  <br>>     {.}.cxx{}.obj::<br>>                   $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -Fo<br>> @<<<br>>                   $<<br>>     <<<br>>  <br>>     {.}.C{}.obj::<br>>
                   $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -Fo<br>> @<<<br>>                   $<<br>>     <<<br>>  <br>>     {.}.c{}.obj::<br>>                   $(CC) -c $(CFLAGS) $(CPPFLAGS) -Fo @<<<br>>                   $<<br>>     <<<br>>  <br>>     all: $(TARGET)<br>>  <br>>     $(OFILES):<br>> $(HFILES)<br>>  <br>>     $(TARGET):<br>> $(OFILES)<br>>                  
 $(LINK) $(LFLAGS) /OUT:$(TARGET) @<<<br>>                     $(OFILES) $(LIBS)<br>>     <<<br>>                   mt -nologo -manifest $(TARGET).manifest<br>> -outputresource:$(TARGET);2<br>>  <br>>     install: $(TARGET)<br>>                   @if not exist C:\Python33\Lib\site-packages<br>> mkdir C:\Python33\Lib\site-packages<br>>                   copy /y $(TARGET)<br>> C:\Python33\Lib\site-packages\$(TARGET)<br>>                   @if not exist C:\Python33\include
 mkdir<br>> C:\Python33\include<br>>                   copy /y C:\Python33\PYSIP\sip-4.14.3\siplib\sip.h<br>> C:\Python33\include\sip.h<br>>  <br>>     clean:<br>>                   -del $(TARGET)<br>>                   -del siplib.obj<br>>                   -del apiversions.obj<br>>                   -del descriptors.obj<br>>                   -del qtlib.obj<br>>
                   -del threads.obj<br>>                   -del objmap.obj<br>>                   -del voidptr.obj<br>>                   -del bool.obj<br>>                   -del $(TARGET).manifest<br>>  <br>><br>____________________________________________________________________________________<br><br><br> </div> </div>  </div></body></html>