Quote:
Originally Posted by norobro
@zeshanuk - from the command line use the following:
Code:
$ g++ -o window gtkwindow.cpp $(pkg-config --libs --cflags gtk-3.0)
That's shell command substitution.
I can't help you with eclipse. Never used it.
|
ok, after running your cmd i get:
Code:
zeshan@Debian:~/workspace/chat client$ g++ -o window gtkwindow.cpp $(pkg-config --libs --cflags gtk-3.0)
Package gtk-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-3.0' found
gtkwindow.cpp:7:21: fatal error: gtk/gtk.h: No such file or directory
#include <gtk/gtk.h>
^
compilation terminated.
zeshan@Debian:~/workspace/chat client$