Re: newb needs help compiling...
- From: "John (J5) Palmieri" <johnp martianrock com>
- To: Dan Joseph <djoseph74 earthlink net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: newb needs help compiling...
- Date: Sat, 07 Feb 2004 16:10:57 -0500
On Sat, 2004-02-07 at 15:34, Dan Joseph wrote:
Hi Everyone,
I have a simple program that I am trying to compile. It does nothing
more than build an empty window. My code is below. I believe the
problem is in the #include <gtk/gtk.h> line. I don't think its
including it. I have Fedora setup, using GCC to compile. Here is my
compile:
gcc -Wall -g main.cc -o main `pkg-config --cflags gtk+-2.0 pkg-config
--libs gtk+2.0`
This is wrong it should read:
gcc -Wall -g main.cc -o main `pkg-config --cflags --libs gtk+-2.0`
--
J5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]