News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Codeblocks and Glades

Started by thorn, May 04, 2007, 03:16:13 AM

Previous topic - Next topic

thorn

I am  using Codeblocks with Ubuntu Linux and would also like to include Glade as well. If any of you Linux users have done this already, would you mind sharing what approach you used and what problems you encountered?

Thanbks,

Thorn

okonkole

Hello every body!

I'm like Thorn, I'm also using C::B on Linux and I want to use glade to make my interface. I've been looking some help on google, developpers's websites... nothing...

Is that possible to include a glade into C::B? What do i do with my xml file ??  :shock:

Can someone have a link of a tutorial or something like that...

Thanks

darthdespotism

Quote from: okonkole on July 11, 2007, 10:38:56 PM
What do i do with my xml file ??  :shock:

There are two posibilities. First jou can translate the XML to cpp-Source via glade-- or you can include the file via the Glib:: interface.

The second ist very well documented at www.gtkmm.org and it's the way I use it. Why would you like to include Glade in Codeblocks directly?

okonkole

I don't want to include glade into C::B, i just want the .glade file.
I found a third way, using the libglade library : http://www.jamesh.id.au/software/libglade/ that's what I was looking for!!

Now i've got a compilation problem :(

/home/joda/DEVELOPPEMENT/cpp/testGlade_01/main.cpp:18: undefined reference to `glade_xml_new'
/home/joda/DEVELOPPEMENT/cpp/testGlade_01/main.cpp:24: undefined reference to `glade_xml_signal_autoconnect'
:: === Build finished: 2 errors, 0 warnings ===


But that's not the right place to post this problem!!

So thx