[PyKDE] C++ code generation problem: longlong is undefined
Vincent Jong
vjong at jandjgraphics.com
Mon Dec 19 03:03:47 GMT 2005
That was the last change. The configure step completed, make seemed to
complete with no errors, and after make install, the importTest.py ran
with no errors. I noticed that the sip generated files were installed into
/usr/share/sip/..., so when I did the build with python2.3, those files
got overwritten by the generated files when doing the build with
python2.4. There should be no problems if using python2.3 or python2.4,
correct?
Anyway, thanks a bunch for all your effort in helping get PyKDE installed.
It is very much appreciated. =)
Merry X-mas,
Vincent J.
On Sun, 18 Dec 2005 10:15:59 -0800, Jim Bublitz <jbublitz at nwinternet.com>
wrote:
> On Sunday 18 December 2005 09:24, Vincent Jong wrote:
>> Nevermind, I got the link as I remember about MARC, lol. Okay kdecore
>> generates with no problems now and it's getting farther down. Code
>> generation for kfile is erroring out with:
>>
>> sip: sip/kfile/kdirsize.sip:73: A function with the same Python
>> signature
>> has already been defined
>> Error: Unable to create the C++ code.
>>
>> Is it complaining about there being 2 '%If ( - KDE_3_0_1 )' code
>> blocks?
>
> No - the second one is commented out (//). The problem is filesize_t
> (which is
> an unsigned long long) wasn't defined in earlier KDE versions, so near
> the
> top of the class wrap dirSize:
>
> %If ( KDE_3_1_2 - )
> static KIO::filesize_t dirSize (const KURL&);
> %End
>
> Shouldn't be too many more problems, I hope.
>
> Jim
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the PyQt
mailing list