--- In "drex459" <> wrote:
>
> I'm still having issues in trying to access the GTK header files in my code
> through the #include line. I've moved the libraries to where my .c file is
> located, and I've tried moving my code to where the libraries are too, but it
> keeps complaining that the file or directory doesn't exist.
>
> Is there something special that I need to do to be able to access the
> appropriate headers within the code?
>
You may be having other problems, but in C,
#include <filename.h>
and
#include "filename.h"
look in different places. The first form < > is for system files (loosely) and
looks in defined include directories, typically /usr/include, /usr/include/sys
and so on. You can tell the compiler to look in other directories as well with
the -I flag to gcc.
The second form " " is for user headers and typically looks in the directory
where the existing C source code is. You can put this in your program:
#include "/full/path/to/gtk/header.c" (not literally of course).
This is very basic C language programming and not specific to the TS boards or
GTK.
Martin
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|