newb needs help compiling...
- From: Dan Joseph <djoseph74 earthlink net>
- To: gtk-app-devel-list gnome org
- Subject: newb needs help compiling...
- Date: Sat, 07 Feb 2004 15:34:54 -0500
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`
I have GTK installed at:
/usr/include/gtk-2.0
I haven't installed anything manually. I had it all installed upon
installing Fedora.
Here are the first errors I get:
Package pkg-config was not found in the pkg-config search path.
Perhaps you should add the directory containing `pkg-config.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pkg-config' found
Can someone point me in the right direction on how to fix this? I'm not
at all a linux expert, but am competent enough to get this fixed with
some guidance.
Thank you in advance.
-Dan Joseph
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]