Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: grogdunn on July 29, 2008, 05:21:21 pm
-
i want to include the gtk libraries and i type
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 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?
-
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...
-
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:
-
gtk-config?
http://www.linuxtopia.org/online_books/gui_toolkit_guides/gtk+_gnome_application_development/cha-gtk_1.html