Re: Problem with compiling
- From: "Petr Hracek" <phracek terra cz>
- To: <Padraig Obriain Sun COM>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Problem with compiling
- Date: Wed, 8 Dec 2004 10:04:14 +0100
This really I don't know?
What I should write to the CFLAGS and libs?
Petr
----- Original Message -----
From: "Padraig O'Briain" <Padraig Obriain Sun COM>
To: "Petr Hracek" <phracek terra cz>
Cc: <gtk-app-devel-list gnome org>
Sent: Wednesday, December 08, 2004 9:35 AM
Subject: Re: Problem with compiling
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]