Summary: | dev-util/geany-0.15: When building the example for gtk writes base.c: 1:21: error: gtk / gtk.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexsandr Pavlov <kidoz> |
Component: | [OLD] Development | Assignee: | Samuli Suominen (RETIRED) <ssuominen> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexsandr Pavlov
2009-02-27 19:31:05 UTC
*** Bug 260541 has been marked as a duplicate of this bug. *** If gcc -Wall -o "%e" "%f" add `pkg-config --libs --cflags gtk+-2.0` Then the works. Huh? http://www.geany.org/manual/current/index.html#generating-a-global-tags-file Quoting some text for example: <quote> For C/C++ files, the environment variable CFLAGS should be set with appropriate -I/path include paths. The following example works with the bash shell, generating tags for the GnomeUI library: CFLAGS=`pkg-config --cflags libgnomeui-2.0` geany -g gnomeui.c.tags \ /usr/include/libgnomeui-2.0/gnome.h </quote> This is not a help forum, please read the manual. |