[Kde-bindings] Building assemblygen on Windows/Linux

Dimitar Dobrev dpldobrev at yahoo.com
Sat Dec 10 05:12:49 UTC 2011


Make sure you checked out the "assemlies" branch (as I already said), not "master" (or sth else). These "GL" errors are a result of an incorrectly applied patch of mine but that was fixed quite some time ago.



________________________________
 From: Steven Boswell II <ulatekh at yahoo.com>
To: KDE bindings for other programming languages <kde-bindings at kde.org> 
Sent: Saturday, December 10, 2011 4:09 AM
Subject: [Kde-bindings] Building assemblygen on Windows/Linux
 

I noticed that smokegen contains the following near the top of CMakeLists.txt:

if (NOT LIB_INSTALL_DIR)
    set (LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
endif (NOT LIB_INSTALL_DIR)


Would putting that into the top-level smokeqt CMakeLists.txt file be sufficient?  What I had builds fine under both Windows and Fedora Core 16.


Also, I tried building assemblygen tonight, and I'm completely lost.  It appears to produce a .NET assembly called QyotoGenerator, but it seems to depend on another .NET assembly called assemblygen, and that doesn't get built, even under Linux (i.e. Fedora Core 16).  Here's a list of all the files it wanted to install under Linux:

/usr/local/bin/assemblygen
/usr/local/lib/assemblygen/assemblygen.exe
/usr/local/lib/assemblygen/libassemblygen-native.so
/usr/local/lib/assemblygen/plugins/libqyotogenerator-native.so
/usr/local/lib/assemblygen/plugins/QyotoGenerator.dll
/usr/local/lib/assemblygen/plugins/KimonoGenerator.dll

So how does one get Qyoto out of the assemblygen project?

Also, unless my "git clone" somehow went bad,in src/plugins/qyoto/QyotoTranslator.cs, lines 61 and 63 are broken.  They look like they got truncated.  Here's what I have for lines 61-63:

      { "GL
      { "GLfloat", typeof(float) },
      { "GLenum",
 t


Steven Boswell



________________________________
 From: Arno Rehn <arno at arnorehn.de>
To: KDE bindings for other programming languages <kde-bindings at kde.org> 
Sent: Friday, December 9, 2011 2:45 AM
Subject: Re: [Kde-bindings] Patches for Qyoto on Windows (final)
 
On Thursday 08 December 2011 16:07:40 Steven Boswell II wrote:
> smokeqt:
> Put quotes around the reference to SMOKE_CMAKE_MODULE_DIR, so that spaces
> can appear in the installation path. Added ARCHIVE DESTINATION and RUNTIME
> DESTINATION to the install line of all the DLLs.  (No apparent effect under
> Linux.) Got rid of the "lib" prefix on Windows DLLs/archives.
Your patch uses ${LIB_INSTALL_DIR} in quite some places. However this macro is 
not defined at all for smokeqt (it's a KDE one and we want to keep smokeqt 
clean of KDE stuff). I don't know why this even works on Windows.
Anyway, in some places a seperate code path for non windows platforms is 
missing (phonon, qsci, ...), so on linux ${LIB_INSTALL_DIR} evaluates to "" 
and then it complains about a missing argument for LIBRARY DESTINATION.

-- 
Arno Rehn
_______________________________________________
Kde-bindings mailing
 list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings



_______________________________________________
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/20111209/20dbe499/attachment-0001.html>


More information about the Kde-bindings mailing list