This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Another attempt to compile on Windows

Tags: None
(comma "," separated)
arcadessaboth
Registered Member
Posts
5
Karma
0
Hello forum,
I'm trying to compile the latest version of the KDE suit on Windows 7 x64. You can see it as a challenge but I would define it as "pain".

After reading around and using a lot of hacks (a lot of them, I don't remember everything) I managed to compile the base libraries, QT and frameworks using MinGW64 as compiler, I selected the RelWithDebugInfo target.

The first application that I want to compile now is Dolphin which has Baloo as dependency which needs LMDB. Now, LMDB is not included anywhere in portage so I tried to download it and compile it myself. I was able to do it and hack Baloo to compile (it had some problem with a missin QT_LSTAT define), but now it has linking problems.
Before I proceed with more hacks my question is:
Why LMDB is not included? Did someone, by chance, already managed to compile it?

And more important:
Is it possible to compile Dolphin without Baloo?

Thank you for your answers.
arcadessaboth
Registered Member
Posts
5
Karma
0
I was able to link that damn library. I was misconfigured it through CMake variables.

Anyway, passed the linking state compilation is not stuck in BalooMonitorPlugin which need these files:
<project dir>/src/dbus/schedulerinterface.cpp
<project dir>/src/dbus/fileindexerinterface.cpp

but they don't exists.
Also the header files are nowehere to be found. Compilation, of course, fails. I tried to look for these files in Baloo repository but I can't find it.

Any clues?
arcadessaboth
Registered Member
Posts
5
Karma
0
Well. The hell with that plugin, I removed it and I managed to compile Baloo.
Next step: Dolphin!

The pain goes on...
arcadessaboth
Registered Member
Posts
5
Karma
0
Hello again.
I wont stop until I will finally have an updated version of Dolphin, Amarok and KCalc!

Specifically for Dolphin when I try to compile it usinge Emerge it stops because Jom can't find the makefile. It seems it's not copied from the virtual Q drive to the %KDEROOT%/build/kde/dolphin/work path or, at least as I've seen so far, emerge launches Jom in %KDEROOT%/build/<path_of_app> for every application and it's failing in case of Dolphin. To be honest it failed also with Baloo (it didn't with Qt base and Frameworks).

Since Emerge was failing somehow I had to compile Baloo directly from it's folder (for me in a virtual Q: drive) and I managed to do it, however with Dolphin I have a dozillion of linking errors if I try to compile it from the download/git path.

So question is: in this environment where libraries, once compiled, should be copied? In %KDEROOT/libs or somewhere else?
(I realize this is more CMake specific but please bear with me): Also how can I check what directories CMake is including when he creates the Makefiles?

Thank you


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]