- Posts: 310
- Thank you received: 0
gladevcp catalog, and other questions
3 years 9 months ago #261926
by JetForMe
gladevcp catalog, and other questions was created by JetForMe
After a fair bit of pain getting Glade 3.8 installed so I can edit GladeVCP plugins (I don't remember having this much trouble on my actual machine, but on this uspace simulator, it was a lot of work), it's running into an issue finding the gladvcp catalog:
I've been searching through the sources, but I can't find anything that looks like a catalog file.
Despite running sudo make install after building glade3.8, it didn't work to execute it from there. It does work to execute it from my local source dir. Given that, where should I put the catalog file(s) once I find them?
Also, is there a difference between .ui and .glade files?
Failed to load /home/rmann/linuxcnc/configs/sim/axis/gladevcp/manual-example.ui.
The following required catalogs are unavailable: gladevcp"
I've been searching through the sources, but I can't find anything that looks like a catalog file.
Despite running sudo make install after building glade3.8, it didn't work to execute it from there. It does work to execute it from my local source dir. Given that, where should I put the catalog file(s) once I find them?
Also, is there a difference between .ui and .glade files?
Please Log in to join the conversation.
3 years 9 months ago #261938
by HansU
Replied by HansU on topic gladevcp catalog, and other questions
Try with
www.linuxcnc.org/dists/buster/base/binar...k2_3.8.6-1_amd64.deb
if you are using Buster
and: forum.linuxcnc.org/gmoccapy/45856-spindl...capy?start=10#258756
.ui and .glade files are the same AFAIK.
and: forum.linuxcnc.org/gmoccapy/45856-spindl...capy?start=10#258756
.ui and .glade files are the same AFAIK.
Please Log in to join the conversation.
3 years 9 months ago #262001
by JetForMe
Replied by JetForMe on topic gladevcp catalog, and other questions
Alas, I'm on aarch64 (Debian 11 on ARM, my M1 Mac). I tried copying the lib/python/gladvcp contents to `pkg-config --variable=catalogdir gladeui-1.0` (/usr/local/share/glade3/catalogs), but it still can't find the catalog. I don't see anything in that directory that looks like a "gladvcp" catalog.
Please Log in to join the conversation.
3 years 9 months ago #262004
by JetForMe
Replied by JetForMe on topic gladevcp catalog, and other questions
Actually, it's a little better. It no longer gives me the error about not finding the gladevcp catalog, but things still don't show up properly. Now it can't find the 'gladepython', and I'm not sure where to find that.
Code:
(glade-3:491771): GladeUI-CRITICAL **: 17:11:00.098: Unable to load module 'gladepython' from any search paths
GladeUI-Message: 17:11:00.195: 3 missing displayable value for GtkCellRendererText::underline
(glade-3:491771): GladeUI-CRITICAL **: 17:11:00.202: Unable to load module 'gladepython' from any search paths
(glade-3:491771): GladeUI-WARNING **: 17:11:00.202: Failed to load external library 'gladepython'
(glade-3:491771): GladeUI-WARNING **: 17:11:00.202: We could not find the symbol "h_al__hide_table_get_type"
(glade-3:491771): GladeUI-WARNING **: 17:11:00.202: Could not get the type from "HAL_HideTable"
(glade-3:491771): GladeUI-WARNING **: 17:11:00.202: Failed to load the GType for 'HAL_HideTable'
(glade-3:491771): GladeUI-WARNING **: 17:11:00.202: We could not find the symbol "h_al__hbox_get_type"
Please Log in to join the conversation.
3 years 9 months ago #262005
by JetForMe
Replied by JetForMe on topic gladevcp catalog, and other questions
I'm also having trouble with gtksourceview. I've got the catalog there, but I think I have v3 & v4 installed, not v2. Gonna try to find sources for that.
Please Log in to join the conversation.
3 years 9 months ago #262006
by JetForMe
Replied by JetForMe on topic gladevcp catalog, and other questions
Aaaand, that was a colossal fail. The gtksourceview 2.91.9 (latest v2) configure script can't figure out the target tuple, so I gave it some help. Then it tried to compile source that fails because my system has GTK+3 headers installed.
Please Log in to join the conversation.
3 years 9 months ago #262016
by HansU
Replied by HansU on topic gladevcp catalog, and other questions
As you was talking about Glade 3.8 I was assuming you would like to have the catalogs for LinuxCNC 2.8 / Gtk2.
For LinuxCNC 2.9 you need Glade 3.22.
For LinuxCNC 2.9 you need Glade 3.22.
Please Log in to join the conversation.
3 years 9 months ago #262018
by JetForMe
Replied by JetForMe on topic gladevcp catalog, and other questions
Oh really? That’s great! But what I understand is that v3.8 was the last one that could work with gtk2, and it seemed like Axis and VCP still used GTK+2. If that’s not the case I need to amend my other post.
Please Log in to join the conversation.
3 years 9 months ago #262020
by HansU
But 2.9 is using Python3/Gtk3 and will be released soon.
Replied by HansU on topic gladevcp catalog, and other questions
That's correct if you are talking about the latest released version, 2.8.But what I understand is that v3.8 was the last one that could work with gtk2, and it seemed like Axis and VCP still used GTK+2. If that’s not the case I need to amend my other post.
But 2.9 is using Python3/Gtk3 and will be released soon.
Please Log in to join the conversation.
3 years 9 months ago #262082
by JetForMe
Replied by JetForMe on topic gladevcp catalog, and other questions
When I look at configs/sim/axis/gladevcp/manual-example.ui, it shows at the top
Code:
<?xml version="1.0"?>
<interface>
<!-- interface-requires gladevcp 0.0 -->
<requires lib="gtk+" version="2.16"/>
...
Isn't version 2.16 GTK+2, which would need Glade 3.8 (or earlier) to examine?
Also, can I use Glade 3.40?
Please Log in to join the conversation.
Time to create page: 0.345 seconds
