Menu

#11 Build error

2.0
closed
nobody
None
2015-06-26
2015-04-03
UtG
No

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

Discussion

  • Hombremaledicto

    Hombremaledicto - 2015-04-03

    Try with "make uninstall", then recompile

     
    • UtG

      UtG - 2015-04-03

      Same error.

       
  • Robert

    Robert - 2015-04-04

    seems you need to start w/ a clean build, however, I just pushed another update that requires that anyways.

     
  • UtG

    UtG - 2015-04-04

    Thanks Rob! Now it works!

     
  • UtG

    UtG - 2015-05-24

    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.

     
  • Robert

    Robert - 2015-05-25

    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.

     
  • Robert

    Robert - 2015-05-29

    Enough ppl wanted it, its back.

     
    • UtG

      UtG - 2015-05-30

      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 :)

       
      • Robert

        Robert - 2015-05-31

        ofc, ill look into it once I have a tester (no kde kwin4 here so flying blind coding it) and report back here!

         
      • Robert

        Robert - 2015-05-31

        had a quick look and had forgot to change the deco after changing the shared data API, might compile, try.

         
        • UtG

          UtG - 2015-05-31

          Works!! Thanks, as usual, ROb :)

           
  • UtG

    UtG - 2015-05-31

    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/

     
  • Robert

    Robert - 2015-06-26
    • status: open --> closed
     
  • Robert

    Robert - 2015-06-26

    fixed, closing old bugs

     

Log in to post a comment.