Re: [Anjuta-list] Can't get GTK or SDL examples to work



eric ha scritto lo scorso 07/01/2006 14:57:
HI

Newbie question.

I've installed Anjuta, gained a reasonable idea of C and C++ and decided
to have a look at GTK and SDL.  I've downloaded a basic example of SDL
and i've worked through the 'Starting off in Anjuta' tutorial.
Problem comes when i try to compile and i get a red strike through this
line;- #include <gtk/gtk.h>. This causes errors throughout the program.

I get the same thing when i try to compile my SDL example and this
line:-
 #include <sdl/sdl.h>.  Same problem.

I've checked that GTK and SDL are installed on my system (Ubuntu Breezy)
and i don't know how to set Anjuta up to use these libs.

Please help.


You need the development environment for gtk; try

# apt-get install libgtk2.0-dev

You could also install Glade for GUI design.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]