[Kde-bindings] error CS0102: The type `Qyoto.QAbstractAnimation' already contains a definition for `direction'

Dimitar Dobrev dpldobrev at yahoo.com
Sun Sep 16 14:54:50 UTC 2012


Hi,

Where have you got the SMOKE libraries from? If you installed them thorough the package manager, try removing them and compiling them from source, the ones in the package manager are probably obsolete.
If this doesn't work, please send here the cs file with the error (you can see its location in the error report - /tmp/<temp>/<temp>.cs). If you can't find it, go to assemblygen/src/main.cs, find the line "CompilerParameters cp = new CompilerParameters();", add "cp.TempFiles.KeepFiles = true;" after it and try to make assemblygen again.



________________________________
 From: Eduard Nicodei <omega2youall at gmail.com>
To: kde-bindings at kde.org 
Sent: Sunday, September 16, 2012 5:36 PM
Subject: [Kde-bindings] error CS0102: The type `Qyoto.QAbstractAnimation' already contains a definition for `direction'
 

Hello guys, I'm trying to compile the latest qyoto (assemblygen) on Kubuntu 12.04, qt4.8.1. I get the following error after issuing make:

$ make
[  1%] Built target assemblygen
[  2%] Built target assemblygen-native
[  4%] Built target QyotoGenerator
[  5%] Built target qyotogenerator-native
[  7%] Generating ../../bin/qyoto-qtcore.dll
Registered Qyoto hooks.
Generating CodeCompileUnit...
Generating code...
Compiling assembly...
/tmp/202fb24e/4a3a06a8.25.cs(179,49) : error CS0102: The type `Qyoto.QAbstractAnimation' already contains a definition for `direction'
(0,0) : error : /tmp/202fb24e/4a3a06a8.25.cs(127,30): (Location of the symbol related to previous error)
/tmp/202fb24e/4a3a06a8.25.cs(280,45) : error CS0102: The type `Qyoto.QAbstractAnimation' already contains a definition for `state'
(0,0) : error : /tmp/202fb24e/4a3a06a8.25.cs(93,26): (Location of the symbol related to previous error)
/tmp/202fb24e/4a3a06a8.25.cs(19086,46) : error CS0102: The type `Qyoto.QHistoryState' already contains a definition for `historyType'
(0,0) : error : /tmp/202fb24e/4a3a06a8.25.cs(19046,32): (Location of the symbol related to previous error)
/tmp/202fb24e/4a3a06a8.25.cs(35555,37) : error CS0102: The type `Qyoto.QState' already contains a definition for `childMode'
(0,0) : error : /tmp/202fb24e/4a3a06a8.25.cs(35489,30): (Location of the symbol related to previous error)
/tmp/202fb24e/4a3a06a8.25.cs(40322,41) : error CS0102: The type `Qyoto.QTimeLine' already contains a definition for `curveShape'
(0,0) : error : /tmp/202fb24e/4a3a06a8.25.cs(40268,31): (Location of the symbol related to previous error)
/tmp/202fb24e/4a3a06a8.25.cs(40328,40) : error CS0102: The type `Qyoto.QTimeLine' already contains a definition for `direction'
(0,0) : error : /tmp/202fb24e/4a3a06a8.25.cs(40248,30): (Location of the symbol related to previous error)
Errors occured. No assembly was generated.
make[2]: *** [bin/qyoto-qtcore.dll] Error 2
make[1]: *** [assemblies/qyoto-qtcore/CMakeFiles/qyoto-qtcore.dir/all] Error 2
make: *** [all] Error 2

Does anybody know how to fix this? cmake doesn't report any errors.

Regards,
Eduard Nicodei
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120916/b88e0b66/attachment.html>


More information about the Kde-bindings mailing list