Install GladeVCP on Raspberry Pi 4

More
3 years 6 months ago #268620 by Stef
Hi everyone,

Since last week I am using a Raspberry Pi 4 Model B 4GB, and I am using the LinuxCNC distribution from  this post.

Unfortunately I have not yet succeeded in installing GladeVCP, does anyone perhaps have some advice for this?
I have tried to install glade-gtk2 and glade-3, but both resulted in an error message, see the attached screenshot.

Hopefully it is possible to solve this issue, as I would very much like to get started with building custom GUI's that are able to execute Python scripts.

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #268621 by HansU
Its not clear to me which Debian version you have installed and which LinuxCNC version. But that is important.

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #268627 by Stef
Hi HansU, thank you for the quick reply.

I am running Debian 12 with LinuxCNC version 2.10.0-pre0.
When I type "uname -a" in the terminal the response is: Linux raspbook 6.0.15-rt14-v8+ #1 SMP PREEMPT_RT

Would this information be sufficient?

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #268649 by elovalvo
I think the problem is related to the fact that the operating system is for arm64 while the libraries to install are for 32 bit (armhf)

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #268655 by HansU
Not sure if glade is available in the package sources for arm64.

However glade-gtk2 is not the right one for Linuxcnc 2.9 / Gtk 3.
Its just 'glade' now.  I guess you installed that when meaning 'glade-3' ?

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #268773 by Stef
Thank you Elovalvo and HansU for your comments.

As I got completely stuck with installing GladeVCP, I installed a different RPi image on my SD card. It’s Debian 12, I followed the instructions from this file:  docs.google.com/document/d/1S0K-UBlXnsYC...4BIzSBl7-o10b_0/edit

Instead of trying to install 'glade-gtk2' or 'glade-3', I just installed 'glade'. The version is 3.40.0.
After this, I copied all the files from /usr/share/glade3/ to /usr/share/glade/.

The first image below shows a very simple user interface that I tried to test, just a window with a HAL_LED.
When I try to execute the command
Code:
gladevcp testui.ui
, while LinuxCNC being opened (see second image), I get an error “AttributeError: ‘NoneType’ object has no attribute ‘set_title’”

If you have any suggestions that I could try in order to get this solved I would of course be very happy to hear them.


 

   

Please Log in or Create an account to join the conversation.

Moderators: HansU
Time to create page: 0.133 seconds
Powered by Kunena Forum