Emerge adventure with mingw - 11 issues 10 solutions

Antton Tapani antton.tapani at gmail.com
Thu Aug 6 20:10:24 UTC 2015

Hey. I have not posted anything to the Krita forums, as far as I know. Or
maybe I've forgotten, which tends to happen. It's Antton btw (double t), in
case someone has a similar name. As may be apparent, I'm doing this rather
haphazardly at the moment due to lack of time. I've been building
everything because I don't know what the Krita dependencies actually are
:). Thanks for the listing. MinGW is essential for my purposes, so that's
what I'm going with, whether it's currently a good idea or not. Maybe in
the process I can contribute to making it work properly.

More about kross:
I think I found the culprit yesterday. The metafunction simply isn't
getting compiled into the krosscore dll, so the test obviously cannot link
to it. I included metafunction.h in manager.h, and now it at least compiles
fine. Ad hoc Patch:

I don't quite understand how it is even supposed to work without this. It
doesn't seem like any of the source files depend on metafunction.h (apart
from the test), so it would seem logical to omit it from the dll. Is cmake
supposed to do some magic to make sure it's included? Metafunction is
mentioned in the core's CMakeLists, but after that, it seems to be mostly

On Wed, Aug 5, 2015 at 1:49 PM, Michael Abrahams <miabraha at gmail.com> wrote:

> Hello Anton:
> I saw your post in the Krita forums.  I already posted a short reply
> to you there, I just recently noticed this list.
> https://forum.kde.org/viewtopic.php?f=281&t=125861
> For anyone else who has not seen that thread: I have been working on a
> large set of updates to Emerge, but sorting the ad-hoc alterations
> from the true solutions is a large amount of work.  If anyone is
> interested in inspecting the large patch I have posted and helping me
> carve it up into smaller pieces I would be very grateful.
> There are many issues with Emerge using both MSVC and MinGW.  Now that
> Sourceforge is stabilized, it should be possible to solidify
> everything again.  Right now I would recommend starting with MSVC
> 2013.  One of the issues with MinGW right now is that not only do you
> have to port packages to Windows, but you may also have to port from
> GCC4 to GCC5, since MSYS just switched.  For example the GPG error you
> posted is caused by this bug, which was not yet ported to the CMake
> version of the buildfile in Emerge.
> https://lists.gnutls.org/pipermail/gnupg-devel/2015-March/029588.html
> (The solution is to add an extra -P in the CMakeLists.txt as described
> above.)
> I also recommend you avoid trying to build Frameworks components you
> do not need for the time being.  KDEWebkit is not used in Krita, so
> luckily you do not have to solve this bug to get what you need out of
> Emerge.
> Finally I would like to suggest you give Powershell another try.  Like
> Zsh, it is a full-featured shell that just needs some tweaking to get
> set up.  (Look into Posh-Git and PSReadLine.  You can also type "dir
> alias:" to see a list of cmd- and posix-inspired shortcuts to the
> shell commands.)
> Michael Abrahams
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20150806/a67d6aff/attachment.html>

More information about the Kde-windows mailing list