I want to import a test GUI I made in glade into a project in code::blocks
.
I followed a guide to import it as an xml into the project, whether that works or not, I bumped into a problem, code::blocks
can't find the header file <glade/glade.h>
, which is located at /usr/include/libglade-2.0/glade/glade.h
.
If I set the include path to that absolute path, I get the same problem with other files which glade.h
needs to include.
Do I need to export glade into the environment variable, if so how do I do it?
You'll have to add /usr/include/libglade-2.0
into your list of include directories; this is an option in Code::Blocks somewhere.
You then write #include <glade/glade.h>
.