I can't build with new updates:
make
[ 1%] Generating moc_settings.cxx
[ 3%] Generating moc_styleconfig.cxx
Scanning dependencies of target styleproject_config_lib
[ 4%] Building CXX object config/CMakeFiles/styleproject_config_lib.dir/styleconfig.cpp.o
In file included from /home/ema/Git/styleproject-code/config/styleconfig.cpp:1:0:
/home/ema/Git/styleproject-code/config/styleconfig.h:4:23: fatal error: ui_config.h: No such file or directory
#include "ui_config.h"
^
compilation terminated.
config/CMakeFiles/styleproject_config_lib.dir/build.make:64: recipe for target 'config/CMakeFiles/styleproject_config_lib.dir/styleconfig.cpp.o' failed
make[2]: [config/CMakeFiles/styleproject_config_lib.dir/styleconfig.cpp.o] Error 1
CMakeFiles/Makefile2:247: recipe for target 'config/CMakeFiles/styleproject_config_lib.dir/all' failed
make[1]: [config/CMakeFiles/styleproject_config_lib.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
code 2
https://paste.kde.org/popcmx0et
Anyway let me say thank you for this amazing project! :)
Cheers
Try with "make uninstall", then recompile
Same error.
seems you need to start w/ a clean build, however, I just pushed another update that requires that anyways.
Thanks Rob! Now it works!
With new commits I've some problem to build:
In file included from /home/ema/Git/a/styleproject-code/kwin/factory.cpp:10:0:
/home/ema/Git/a/styleproject-code/kwin/kwinclient.h:46:7: error: forward declaration of 'class WindowData'
class WindowData;
^
kwin/CMakeFiles/kwin3_styleproject.dir/build.make:77: recipe for target 'kwin/CMakeFiles/kwin3_styleproject.dir/factory.cpp.o' failed
make[2]: [kwin/CMakeFiles/kwin3_styleproject.dir/factory.cpp.o] Error 1
CMakeFiles/Makefile2:262: recipe for target 'kwin/CMakeFiles/kwin3_styleproject.dir/all' failed
make[1]: [kwin/CMakeFiles/kwin3_styleproject.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I started from a clean build :)
My steps:
$ cd styleproject-code
$ mkdir build && cd build
$ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
$ make
I'm on KDE4 v15.04.1.
Ye, I stopped supporting the kde4 deco since kde5 is out, maybe if enough ppl still want to use the kde4 deco I'll look into it.
Maybe upgrade to kde5 - its stable enough.
Enough ppl wanted it, its back.
Ok, thanks but the build fails again:
kwin/CMakeFiles/kwin3_styleproject.dir/build.make:105: recipe for target 'kwin/CMakeFiles/kwin3_styleproject.dir/kwinclient.cpp.o' failed
make[2]: [kwin/CMakeFiles/kwin3_styleproject.dir/kwinclient.cpp.o] Error 1
CMakeFiles/Makefile2:262: recipe for target 'kwin/CMakeFiles/kwin3_styleproject.dir/all' failed
make[1]: [kwin/CMakeFiles/kwin3_styleproject.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
OC I've used a clean and fresh build directory :)
ofc, ill look into it once I have a tester (no kde kwin4 here so flying blind coding it) and report back here!
had a quick look and had forgot to change the deco after changing the shared data API, might compile, try.
Works!! Thanks, as usual, ROb :)
p.s.
Sorry man, I have another problem :(.
Now "opacity" option works bad: even if I set "opacity=99", the deco becomes very transparent.
Look here (before and after with "opacity=88"): http://postimg.org/image/pfio44krt/
fixed, closing old bugs