PDA

View Full Version : How to Run Glade in C++ ?



kolichina_s_s
May 30th, 2006, 10:51 AM
Hi,

I am using Glade Interface Designer with anjuta. I am having a problem creating a Glade Project with C++ code. cause when i am trying to build from glade designer it shows following message.



Error running glade-- to generate the C++ source code.
Check that you have glade-- installed and that it is in your PATH.
Then try running 'glade-- <project_file.glade>' in a terminal.


While i am able to create and Run a C project i'm not able to run a c++ project. also when i am trying it through anjuta i am getting only the main.cc file in the source directory.

I could not find anyother file as i am not able to design and Build through Glade first.

I am new to Linux Please Help

Thanks in advance

Engnome
May 30th, 2006, 12:25 PM
I made a thread about it yesterday here: http://ubuntuforums.org/showthread.php?t=183768

Long story short: The preferred way is not to generate code with glade.

goodfella
July 23rd, 2006, 11:42 AM
I had the same problem, so I installed the glademm package from synaptic and was able to generate the c++ code; however, when I try to run autogen.sh I get the following error:

**Error**: You must have `glib' installed.
You can get it from: ftp://ftp.gtk.org/pub/gtk

Hopefully this helps you at least build the c++ source and you don't have the same problem I do.