Hi Marty, On 04/09/2017 08:20 AM,
Marty Moore <pl8swash gmail com> wrote:
Hi all, I'm trying to update from gtkmm-2.24 to gtkmm-3.18. As a dinosaur of a previous age, I'm trying to move from manual menus to Gtk::Builder and Gio::Resources. I've been through section 12 of the tutorial several times, and have looked at the 3.18 source /demo/Makefile as a reference. I'm using the example_builder.cc to learn how to load resources int an app.? So far, the program compiles, but I'm getting a runtime error: marty@builder$./x main 0: Error loading example_builder.ui: The resource at '/builder/example_builder.ui' does not exist I'm obvioysly mis-understanding something about resources, and would appreciate any help you can provide. I've been stewing over this for weeks. Thanks, Marty Please, can you attach the link to the example? I can't find it in the gnome development tutorial: https://developer.gnome.org/gtkmm-tutorial/stable/index-info.html.en Maybe, i can help you using CMake... Have a look at this example: https://git.devuan.org/aitor_czr/simple-netaid-gtk/tree/master I use a singleton class defining all the global variables, including the paths to the executables, output files, pixmaps, etc... Cheers, Aitor. |