[PyKDE] PyQt4-win-gpl-4-snapshot-20060719 error during compile

Tom Brown brown at esteem.com
Mon Sep 4 01:23:32 BST 2006


On Sunday 03 September 2006 16:22, Tom Brown wrote:
> I've installed PyQt4-win-gpl-4-snapshot-20060719 twice now on two different
> machines. The installations went fine without any problems. Now, I'm
> installing into a production machine and I get the make error below. The
> qt4 installation went fine and the sip installation went fine. Can anybody
> tell me where I went wrong that would cause this error?
>
> Thanks,
> Tom
>
> sipQtGuiQTreeWidget.cpp: In function `PyObject*
> meth_QTreeWidget_itemFromIndex(PyObject*, PyObject*)':
> sipQtGuiQTreeWidget.cpp:6043: error: stray '\229' in program
> sipQtGuiQTreeWidget.cpp:6043: error: `sipClass_QTreeWidg' was not declared
> in this scope
> sipQtGuiQTreeWidget.cpp:6043: warning: unused variable 'sipClass_QTreeWidg'
> mingw32-make[1]: *** [sipQtGuiQTreeWidget.o] Error 1
> mingw32-make[1]: Leaving directory `C:/Documents and Settings/cook/My
> Documents/installs/PyQt-win-gpl-4-snapshot-20060719/QtGui'
> mingw32-make: *** [all] Error 2

Well, looking into the file in question (sipQtGuiQTreeWidget.cpp), it had no 
sipClass_QTreeWidg variable. There also didn't seem to be any strange 
characters at line 6043. So, I just type in 'mingw32-make' again, and it 
compiled cleanly. This is a very strange error. Makes me wonder if there was 
a RAM error. This production machine is an emachine, so it wouldn't suprise 
me.

Thanks,
Tom




More information about the PyQt mailing list