Author Topic: libraries!  (Read 4156 times)

Offline grogdunn

  • Single posting newcomer
  • *
  • Posts: 5
libraries!
« on: July 29, 2008, 05:21:21 pm »
i want to include the gtk libraries and i type
Code
#include <gtk/gtk.h>
like some example in internet for gtk programming... but the GCC tell me no file or directory... ok!
i go to Setting->Compiler & Debugger, Search dir tab and add the path to libs
Code
/usr/include/gtk-2.0
yea i press compile & run but... a few time later in gdkcolor.h there is an error gcc don't find cairo.h!!!
i add like gtk libs cairo libs...
recompile and now gcc don't find glib.h!!!
there is a method to add all path in /usr/include?
hihi sorry for bad english but at school I have bad marks in Eng :cry:

Offline Wavesonics

  • Multiple posting newcomer
  • *
  • Posts: 43
Re: libraries!
« Reply #1 on: July 29, 2008, 10:11:08 pm »
I know some one who is trying to set up C::B to use SFML with global search directories, and it keeps telling him that the directory can't be found, we've quadruple checked the path and the lib names, and its exact.

Even tried moving the search linker dir to the project level, no good.

Wounder if this is a similar problem...

Offline grogdunn

  • Single posting newcomer
  • *
  • Posts: 5
Re: libraries!
« Reply #2 on: July 29, 2008, 10:19:55 pm »
no problem i have found a solution i use wxWidgets  :wink:
for some reasons:
1. cross-platform gui
2. i have found a free book "Cross-Platform GUI Programming with wxWidgets"
3. wx use GTK on linux platform
4. wx gui works well with no libraries problem  :lol:
hihi sorry for bad english but at school I have bad marks in Eng :cry:

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576