Not found headers
Closed this issue · 4 comments
GordonGgx commented
I use this project to create a C project to write GTK programs. The header is #inclued <gtk/gtk.h>
, but When I try to make run
got a error not found this header file. This is due to the hermit rule of makefile,so I added
%.o:%.c
$(CC) -c $(CFLAGS) $^ -o $@ $(LIBRARIES)
Problem solving.
I hope this template can be richer to avoid such mistakes
danielpinto8zz6 commented
Did you included gtk into libraries?
jensen199105 commented
danielpinto8zz6 commented
#include "add.h"
>> #include "utility/add.h"
GordonGgx commented
Did you included gtk into libraries?
No, My GTK library is in the system.