LinuxQuestions.org
Review your favorite Linux distribution.
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-31-2006, 10:49 AM   #1
Sava
Member
 
Registered: Oct 2004
Location: Mie, Japan
Distribution: Gentoo, Suse, Ubuntu
Posts: 38

Rep: Reputation: 15
Glade producing broken code?


I was trying to write a few UI's with Glade, and producing C++ code.

Originally the configure would fail, as it was trying to find gtkmm-2-0 when I had 2.4 installed. By altering the configure.in file and rerunning the autogen.sh script the configure error disappeared. The code failed to compile giving errors such as:

Code:
slot is not a member of SigC
(I haven't got the exact errors on me now)

Normally problems like that are due to my own errors when coding, but I'm not sure how to fix it since this code is being produced by Glade?

Finally today, I'm getting configure errors again. I removed all the files in the project except for the .glade file, loaded it back up, and rewrote all the source code. After altering configure.in to update for gtkmm, the error I'm getting now is:

Code:
error: cannot find input file: Makefile.in
There *is* a Makefile.in in the src/ directory, but then it complains of other files missing. Shouldn't Glade automatically put these things in the correct place??!

Glade seems awkward enough at times anyway, since whenever I want to regenerate source code the files dont always update properly (instead of producing makefile.in, they will create makefile.in_new for example). I'm almost looking forward to putting it all into KDevelop and staying away from anything which produces UI code >.<
 
Old 08-31-2006, 01:48 PM   #2
Sava
Member
 
Registered: Oct 2004
Location: Mie, Japan
Distribution: Gentoo, Suse, Ubuntu
Posts: 38

Original Poster
Rep: Reputation: 15
Well, I guess I've found a solution - Compile it into C code instead.

No problems now, and I guess there is nothing stopping me from using C++ with the rest of the program.
 
  


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
Glade 1.1.3 cannot create C++ code... Gveto Programming 3 08-30-2005 07:49 AM
Glade 1.1.3 cannot create C++ code? Gveto Linux - Software 10 03-12-2005 05:26 PM
need C code to diplay text in Glade skie_knite007 Programming 1 02-13-2005 06:03 AM
I cannot compile my souce code created by Glade on redhat9 msramachandran Programming 0 06-02-2004 02:13 AM
i can't write C++ code in glade amr_azima Programming 1 03-21-2002 02:43 PM

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

All times are GMT -5. The time now is 03:34 PM.

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