Re: Problem with compiling
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: Petr Hracek <phracek terra cz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Problem with compiling
- Date: Wed, 08 Dec 2004 08:35:42 +0000
Petr Hracek wrote:
Hi all,
I tried do some examples from gtk-demo
and my very simple program were:
#include <gtk/gtk.h>
int main (int argc, char argv[])
{
return 0;
}
But when I want compile this source code compiler show me that he can't find gtk/gtk.h
Makefile is:
CC=gcc
CFLAGS='pkg-config --cflags gtk+-20'
Is that ' or `?
LIBS='pkg-config --lib gtk+-2.0'
hello: hello.o
$(CC) -o hello $(LIBS) hello.o
hello.o: hello.c
$(CC) $(CFLAGS) -c hello.c
Can you help me anybody with this problem?
I think that I have not path to gtk.
What I have to do?
Bets regards
Petr
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]