User forums > Using Code::Blocks
search path problem
oBFusCATed:
Why don't you use copy and paste? It would have saved you lots of time.
Now try to press the key on the left of '1' and above the 'tab'...
See the difference ` not ' ...
http://en.wikipedia.org/wiki/Grave_accent#Use_in_programming
jose:
\pkg-config --cflags gtk+-2.0\
i think now is the one but no efect??
jose:
`pkg-config --cflags gtk+-2.0`
i also try this one but itś the same
-------------- Build: Debug in gtkapi ---------------
Compiling: gtkApi.cpp
g++: erro fatal: no input files
compilação terminada.
Process terminated with status 4 (0 minutes, 0 seconds)
0 errors, 0 warnings
jose:
I'm going crazy!
this time, compiled as before,
without the line pkg-config ...
and have something different!
this is what I get
-------------- Build: Debug in gtkapi ---------------
Compiling: gtkApi.cpp
In file included from / usr/include/glib-2.0/glib/galloca.h: 34:0,
from / usr/include/glib-2.0/glib.h: 32,
from / usr/include/glib-2.0/gobject/gbinding.h: 30,
from / usr/include/glib-2.0/glib-object.h: 25,
from / usr/include/glib-2.0/gio/gioenums.h: 30,
from / usr/include/glib-2.0/gio/giotypes.h: 30,
from / usr/include/glib-2.0/gio/gio.h: 28,
from / usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h: 30,
from / usr/include/gtk-2.0/gdk/gdk.h: 32,
from / usr/include/gtk-2.0/gtk/gtk.h: 32,
from / home / jose / Documents / program / GTK / gtkapi / gtkApi.cpp: 7:
/ usr/include/glib-2.0/glib/gtypes.h: 34:24: Fatal error: glibconfig.h: File or directory does not exist
finished building.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
oBFusCATed:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Navigation
[0] Message Index
[*] Previous page
Go to full version