<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>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",<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven Boswell II <ulatekh@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> KDE bindings <kde-bindings@kde.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, December 12, 2011 2:30 AM<br> <b><span style="font-weight: bold;">Subject:</span></b>
 [Kde-bindings] Building "assemblies" branch of assemblygen under Windows<br> </font> <br>
<div id="yiv1885440342"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>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:</div><div><br></div><div>Unhandled Exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
<br>   at MainClass.InitSmoke(String module)
<br>   at MainClass.Main(String[] args)</div><div><br></div><div>Note that I can run assemblygen.exe without arguments and it's fine -- it just prints a list of
 options.</div><div><br></div><div>I'm stuck again.</div><div><br></div><div>Steven Boswell</div><div><br></div></div></div></div><br>_______________________________________________<br>Kde-bindings mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-bindings" target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div>  </div></body></html>