Re: Newbie desperated!
- From: Russell Keith-Magee <keithmag cs curtin edu au>
- To: Nicolas Raitman <new_world radar com ar>
- Cc: gtk app <gtk-app-devel-list gnome org>
- Subject: Re: Newbie desperated!
- Date: Tue, 14 Nov 2000 08:11:02 +0800
Nicolas Raitman wrote:
I am using Red Hat 7.0 and when I
try to compile I get the following message, but no executable file is made:
gcc test.1 -o test 'gtk-config -cflags'
I presume this is a typo - it should be "gcc test.c ..."
Please help!! What am I doing wrong? I tried executing only
gtk-config --cflags and I get the correct output, as well as with
gtk-config --libs, what is wrong??
To compile like this you will need both --cflags and --libs; in
addition, you need to put the gtk-config command in back quotes (`) not
forward quotes ('). Try:
gcc test.c -o test `gtk-config --cflags --libs`
That should do the job.
Russ Magee %-)
--
-----------------------------------------------------------
Russell Keith-Magee
PhD Research Student
School of Computing, Curtin University of Technology
email: keithmag cs curtin edu au OR russ magee computer org
WWW: http://www.cs.curtin.edu.au/~keithmag
Ph: +61 8 9266 2129 FAX +61 8 9266 2819
-----------------------------------------------------------
Nothing succeeds like the appearance of success.
-- Christopher Lascl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]