diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 25b5487..ba46fee 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -47,6 +47,7 @@ "/usr/include/cairo", "/usr/include/freetype2", "/usr/include/atkmm-1.6", + "/usr/include/gconfmm-2.6", "/usr/include/glib-2.0", "/usr/lib/glib-2.0/include" ], @@ -79,6 +80,7 @@ "/usr/include/cairo", "/usr/include/freetype2", "/usr/include/atkmm-1.6", + "/usr/include/gconfmm-2.6", "/usr/include/glib-2.0", "/usr/lib/glib-2.0/include" ], diff --git a/src/Makefile b/src/Makefile index 44f0ddc..593110e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ NAME=Visor -GTKFLAGS=`pkg-config gtkmm-3.0 cairo --cflags --libs` +GTKFLAGS=`pkg-config gtkmm-3.0 cairo --cflags --libs gconfmm-2.6` MAGIC=-lstdc++fs SRC=main.cpp window.cpp device.cpp tree.cpp graph.cpp legend.cpp CFLAGS=-std=c++14 -g -Wall -o $(NAME) diff --git a/src/window.h b/src/window.h index 3731446..7845354 100644 --- a/src/window.h +++ b/src/window.h @@ -4,6 +4,7 @@ #include "graph.h" #include "legend.h" #include "tree.h" +#include #include #include #include