[Kde-bindings] Building "assemblies" branch of assemblygen under Windows
Dimitar Dobrev
dpldobrev at yahoo.com
Mon Dec 12 08:13:16 UTC 2011
I guess you are using a 64-bit Windows, like me. The solution is to create a VS/MonoDevelop project, include all files of assemblygen but without the plugins, build for x86 and place the result in your CMake directory for "binaries",
________________________________
From: Steven Boswell II <ulatekh at yahoo.com>
To: KDE bindings <kde-bindings at kde.org>
Sent: Monday, December 12, 2011 2:30 AM
Subject: [Kde-bindings] Building "assemblies" branch of assemblygen under Windows
As I stated before, if Mono (i.e. what was installed using mono-2.10.6-gtksharp-2.12.11-win32.exe) is used to compile C# files, then assemblygen.exe produces gibberish for the Q_PROPERTY fields. But if I use Microsoft's C# compiler instead,and try to run the assemblygen.exe executable without the "mono" prefix (since .NET executables are supported directly by Windows), then assemblygen.exe crashes upon startup:
Unhandled Exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at MainClass.InitSmoke(String module)
at MainClass.Main(String[] args)
Note that I can run assemblygen.exe without arguments and it's fine -- it just prints a list of options.
I'm stuck again.
Steven Boswell
_______________________________________________
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/20111212/2802124a/attachment.html>
More information about the Kde-bindings
mailing list