[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] PyKE and KDE 3.4.0
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2005-04-11 16:54:48
Message-ID: 200504110954.48372.jbublitz () nwinternet ! com
[Download RAW message or body]

On Wednesday 06 April 2005 05:30, C Ginger wrote:

> Generating the C++ source for the kdecore module...
> sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope
> with th                     e same Python name
> Error: Unable to create the C++ code.

In the file indicated, delete the following lines around line 85, then re-run 
configure.py and make. Change:

public:
//force

    enum Other
    {

    };

//end

public:
//force

//    enum Other
//    {

//    };

//end

The other alternative is to download the snapshot which already has this 
fixed. Snapshots are at 

http://www.riverbankcomputing.co.uk/download/snapshots/PyKDE

If you're using gcc >= 3.4, you might want to use the kde-bindings version or 
KDE CVS version of PyKDE. gcc 3.4 and greater will produce "missing symbols" 
errors with the snapshot.

There duplicate enum error above is a problem with more recent sip versions - 
earlier sip versions ignored it.

Jim

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic