LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-26-2004, 05:02 PM   #1
radiohead_rocks
LQ Newbie
 
Registered: Jan 2004
Distribution: SuSE Linux 9.0
Posts: 13

Rep: Reputation: 0
Glade can't compile interface when C++ is set as language


Hi, I'm trying to build a GTK+ user interface with glade. After I got pkg-config working (see other thread: GTK+ 2.0 / pkg-config / gcc), I can compile a GTK+ code with gcc but not with the Glade GTK+ Builder. Everytime I try to build something it says:

Error running glade-- to generate C++ source code.
Check that you have glade-- installed and that it is in your PATH.

I found out that I can build the interface whenever I use C or another language in the Options Menu. Only C++ won't work...

Why?

Thanks for answers!
 
Old 01-26-2004, 07:04 PM   #2
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
So do you have glade-- installed? And is it in your PATH?
 
Old 01-26-2004, 10:16 PM   #3
radiohead_rocks
LQ Newbie
 
Registered: Jan 2004
Distribution: SuSE Linux 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
How could I find that out?
 
Old 01-27-2004, 12:42 AM   #4
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Type "glade--" at a shell prompt. If it says it can't find it, you don't have it installed. If you don't have it installed, install it.
 
Old 01-27-2004, 10:21 AM   #5
radiohead_rocks
LQ Newbie
 
Registered: Jan 2004
Distribution: SuSE Linux 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
OK, I installed glade-- and it works. I didn't know that there is an additional package to create c++ code. Thanks for the help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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+(GLADE interface designer) santhosh.linux Programming 3 01-02-2006 12:42 PM
failing to compile a simple glade app florg Programming 1 08-06-2005 03:25 AM
glade/gtk tutorials for firewall interface Fatz Linux - Security 1 08-08-2004 01:17 AM
I cannot compile my souce code created by Glade on redhat9 msramachandran Programming 0 06-02-2004 02:13 AM
How to compile a C program in Glade which is included the <pcap.h> header file. swaviswa Programming 0 03-21-2004 07:47 AM

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

All times are GMT -5. The time now is 11:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration