LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-02-2007, 06:34 PM   #1
someone5345
LQ Newbie
 
Registered: Jun 2006
Posts: 10

Rep: Reputation: 0
Exclamation More GTK problems


I used this tutorial to install GTK:
http://developer.gnome.org/doc/API/2...-building.html

Except I used make -v instead of make, and installed every other requirement in the same directory, /opt/gtk

The problem is, in /opt/gtk, there is nothing. And when i compile using the line:
gcc -o main -Wall -g main.c `pkg-config gtk+-2.0 --cflags --libs `-I/usr/include/libglade-2.0 -lglade-2.0

or

gcc main.c -o main `pkg-config --cflags --libs gtk+-2.0`

I get this as an error message...

Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

Any help would be greatly appreciated
 
Old 08-02-2007, 08:05 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
What do you get if you do a echo $PKG_CONFIG_PATH
 
Old 08-03-2007, 07:23 PM   #3
someone5345
LQ Newbie
 
Registered: Jun 2006
Posts: 10

Original Poster
Rep: Reputation: 0
My PKG_CONFIG_PATH is /opt/gtk/lib/pkgconfig when I echo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK problems mickeyboa Fedora 1 07-30-2006 08:23 AM
GTK problems . . . lydgate Slackware 2 10-08-2005 10:24 PM
Problems with GTK davholla Linux - Software 4 04-07-2005 08:23 AM
gtk problems derfaust Linux - Software 2 06-19-2004 03:34 AM
GTK Problems natesch Linux - General 2 05-09-2002 04:35 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration