LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   (GTK) included files in a program...Where? (https://www.linuxquestions.org/questions/programming-9/gtk-included-files-in-a-program-where-289495/)

ooagentbender 02-12-2005 08:33 PM

(GTK) included files in a program...Where?
 
Ok I am running mac os x and fink installs packages in a seperate directory, including the gtk toolkit libraries that i need to run to work on some x programming I wanted to do. The file is /sw and inside that looks like a typical hard drive on a linux computer. What I wanted to know is if I installed the gtk toolkit, where in the heck are the files that I will need, IE gtk.h so I can include a full path to them in my c files. thanks

Mara 02-13-2005 05:47 AM

In Linux the include files are in /usr/include/gtk-2.0/gtk/ (for GTK version 2). So in your case it should be /sw/usr/include/gtk-2.0/gtk/ . Libraries should be in /usr/lib (/sw/usr/lib in your case).

ooagentbender 02-13-2005 02:00 PM

thanks, it seems I don't have it anywhere in my system, ill get to installing it.


All times are GMT -5. The time now is 07:22 AM.