[glade--]Re: Problems with glade--



Mark Jones wrote:

Hi,

I have attempted to convert a simple design from glade into c++ using glademm but have run into problems trying to compile it. It compiles and runs just fine before the conversion, but afterwards the makefile doesn't know how to compile the new c++ files. It also tries to compile them without the proper flags for include paths, etc. that it used before conversion. Can you help me understand better the process that is required after running glademm but before compilation? I think a more detailed step by step tutorial that is easily reproducible would be great to have on the glademm site at some point as well.


Take the foo.glade file into an empty directory, run glade-- foo.glade and then type make.

If this doesn't work for you, simply report your problems (with output attached, please). Perhaps gtk-- or gnome-- ist not correctly installed (did you install the *-dev packages?)



I am brand new to Gtk, but have been very impressed by Glade, and by the gtkmm wrapper as it seems much more like what I'm used to (java GUI development) than Gtk, so I really want to figure out how to use glademm.


I use it for my daily work, so I designed it to fulfill my needs and more. ;-)



Also, has there been any consideration to just adding the features directly to glade such that it can produce the c++ code automatically and fully ready to go as it does the C code?

simply switch to C++ in Language settings. The Code generation button will call glade-- after that.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]