Include GTK libs
Posted: Sun Mar 26, 2017 1:31 am
Hello,
I am more or less new to Codelite and I am having some trouble.
I just created a new C-project. I downloaded Homebrew and installed GTK3 and some other stuff.
Now, I try to include the gtk header file via , but the library is not found.
I already searched the whole Internet for an answer, but nothing really worked for me, f.ex. I tried to type the path to the header file to Linker and Compiler an Build options with no success.
If I build the project from the Terminal, its very easy, I just have to type and it works fine for me.
Now my question to you: is there any possibility to get this work within Codelite? Because I don't want to run and build my project from the Terminal, but just to click CMD/CTRL + R, this is much easier
Hope you can help me, if you have any further questions, please let me know!
Kind regards
I am more or less new to Codelite and I am having some trouble.
I just created a new C-project. I downloaded Homebrew and installed GTK3 and some other stuff.
Now, I try to include the gtk header file via
Code: Select all
#include <gtk/gtk.h>
I already searched the whole Internet for an answer, but nothing really worked for me, f.ex. I tried to type the path to the header file to Linker and Compiler an Build options with no success.
If I build the project from the Terminal, its very easy, I just have to type
Code: Select all
gcc -o main.c base 'pkg-config --cflags gtk+-3.0'
Now my question to you: is there any possibility to get this work within Codelite? Because I don't want to run and build my project from the Terminal, but just to click CMD/CTRL + R, this is much easier
Hope you can help me, if you have any further questions, please let me know!
Kind regards