tsujan / BreezeEnhanced

A fork of KDE Breeze decoration with additional options
GNU General Public License v3.0
162 stars 13 forks source link

Not Working after compiling; Cannot load library #34

Closed aragubas closed 2 years ago

aragubas commented 2 years ago

Not working after compiling

I just compiled BreezeEnchanced, no build errors; I logged in and out and the theme didn't appered. I tried to open BreezeEnhanced on the menu and this window appers:

image

My system is Fedora 34

Some output files:

CMakeOutput.log 34

tsujan commented 2 years ago

I just compiled BreezeEnchanced

Against which version of KWin and which version of Qt?

aragubas commented 2 years ago

I just compiled BreezeEnchanced

Against which version of KWin and which version of Qt?

kwin version is 5.22.4 qt version is 5.15.2

btw, i copied the file build/libbreezecommon/libbreezeenhancedcommon5.so.0.1 to /usr/lib64/usr/lib64/libbreezeenhancedcommon5.so.0 and its working now

tsujan commented 2 years ago

OK, the versions are good.

Fedora uses lib64, not lib. So, the generic cmake command in "README.md" should be modified for it.

I'll add a warning to "README.md" like this:

"KDE_INSTALL_LIBDIR may be different in some distros. Please consult your distro doc to find the correct directory or, preferably, do the compilation in the way that is done in your distro, by making an installable package."

Thanks for the report!

tsujan commented 2 years ago

BTW, with lib, the installed files are only these:

/usr/lib/libbreezeenhancedcommon5.so.0.1
/usr/lib/libbreezeenhancedcommon5.so.0 (symlink to libbreezeenhancedcommon5.so.0.1)
/usr/lib/qt/plugins/org.kde.kdecoration2/breezeenhanced.so
/usr/share/kservices5/breezeenhancedconfig.desktop

If you want to recompile it correctly, first remove them (after switching back to Breeze).

In all distros, making installable packages is highly preferable (rpm for Fedora) to a direct installation from the source because, only with the former, the package manager could control everything.