Re: Doubts about gtk 2.0



On Tue, 15 Jul 2003, Paulo Ricardo Batista Mesquita wrote:

> I included the line
> 
> #include <gtk\gtk.h>

Use a forward slash instead of a backslash.

> 
> and I tried to compile this using 
> 
> gcc -g -s testeGTK.c -o testeGTK 'pkg-config --cflags --libs gtk+-2.0'.

Use the backtick (`) instead of single quotes ('). It's a common newbie
error. The backtick operator is special. It sends the command(s) it
encloses to the shell and returns the output in-line.

-Seth

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559




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