[PyKDE] Syntax Errors With SIP Generated Files
Goran Spuzic
goran.spuzic at motorola.com
Tue Mar 19 17:58:26 GMT 2002
Phil,
Thanks, I just realised that there are two"sip.h" files in the SIP 3.0
distribution. One in the "sip" directory and the other in the "siplib"
directory. I was using the wrong one (i.e the one in the sip directory). Now
it works a treat !! I guess I have yet to master the art of decoding the
cryptic g++ compiler errors into something that makes sense.
Regards,
Goran
Phil Thompson wrote:
> Goran Spuzic wrote:
> >
> > Hi All,
> >
> > I am trying a very very very simple example with SIP. After I run SIP on
> > the .sip file I am getting syntax errors when I try to compile the
> > results with g++. I'm using SIP 3.0 on SunOS 5.5.1 with g++
> > egcs-2.91.66. The files and commands I use are listed below;
>
> The first error messages are refering to SIP_EXPORT which should be
> defined as being empty (for SunOS) in sip.h. Are you sure you have your
> include paths correct and are picking up the correct copies of sip.h and
> Python.h?
>
> Phil
More information about the PyQt
mailing list