arcan1s / awesome-widgets

Minimalistic Plasmoid set
https://arcanis.me/projects/awesome-widgets/
GNU General Public License v3.0
74 stars 4 forks source link

Issue compiling Widget #135

Closed Grimblee closed 6 years ago

Grimblee commented 6 years ago

Hello,

I'm trying to compile you're widget, I'm aiming for the i3/KDE combo.

But while compiling I found quite a bunch of issues, like a lot of additional packages where needed (I'm on Ubuntu 18.04, maybe that change things) and now some files seems to be missing:

# thomas @ ntmy in ~/.local/src/awesome-widgets/build on git:development o [11:55:46] 
$ make                                                                                                     
[  1%] Automatic MOC for target awesomewidgets
[  1%] Built target awesomewidgets_autogen
[ 35%] Built target awesomewidgets
[ 36%] Automatic MOC for target extsysmonsources
[ 36%] Built target extsysmonsources_autogen
[ 51%] Built target extsysmonsources
[ 52%] Automatic MOC for target plasma_dataengine_extsysmon
[ 53%] Built target plasma_dataengine_extsysmon_autogen
[ 58%] Built target plasma_dataengine_extsysmon
[ 59%] Built target org.kde.plasma.awesomewidget-plasmoids-metadata-json
[ 60%] Automatic MOC for target awplugin
[ 60%] Built target awplugin_autogen
[ 60%] Building CXX object awesome-widget/plugin/CMakeFiles/awplugin.dir/awactions.cpp.o
/home/thomas/.local/src/awesome-widgets/sources/awesome-widget/plugin/awactions.cpp:28:10: fatal error: fontdialog/fontdialog.h: No such file or directory
 #include <fontdialog/fontdialog.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
awesome-widget/plugin/CMakeFiles/awplugin.dir/build.make:142: recipe for target 'awesome-widget/plugin/CMakeFiles/awplugin.dir/awactions.cpp.o' failed
make[2]: *** [awesome-widget/plugin/CMakeFiles/awplugin.dir/awactions.cpp.o] Error 1
CMakeFiles/Makefile2:622: recipe for target 'awesome-widget/plugin/CMakeFiles/awplugin.dir/all' failed
make[1]: *** [awesome-widget/plugin/CMakeFiles/awplugin.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Now I tried searching for it:

# thomas @ ntmy in ~/.local/src/awesome-widgets on git:development o [12:04:04]
$ find ./ -name fontdialog.h

# thomas @ ntmy in ~/.local/src/awesome-widgets on git:development o [12:04:06] 
$ sudo find / -name fontdialog.h 

Any idea ?

Thank you,

arcan1s commented 6 years ago

hi,

sorry for delayed answer, missed notification. If you are going to compile from git you need to init submodules like git submodule update --init --recursive.

arcan1s commented 6 years ago

pushed note to readme

Grimblee commented 6 years ago

Works now, thank you !