How can I get GladeVCP?

More
12 Nov 2021 07:47 #226199 by yi2580
Replied by yi2580 on topic How can I get GladeVCP?

This isn't a good answer, but it is the simplest solution for me. I have one of the older Wheezy based Linuxcnc ISO installed in a VM on the PC I develop my configs on. It has the right version of Glade installed by default. I set up the UI files there then copy them over to the machine where I want to use them.

There may be a solution for installing the GTK2 version of Glade on Buster, but I don't know it.
 

Hello, I am programming in the VM virtual machine, but when I transplant the. Galde file and py code to my industrial computer, it cannot run. It can run well in the virtual machine. I don't know what to do. The error he reported to me was that I couldn't find the library import gladevcp.makepins

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

More
16 Nov 2021 16:51 #226662 by andypugh
Replied by andypugh on topic How can I get GladeVCP?
You might need to install the linuxcnc-dev package

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

More
17 Nov 2021 08:28 #226710 by yi2580
Replied by yi2580 on topic How can I get GladeVCP?
I have installed Linux CNC dev

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

More
17 Nov 2021 10:00 #226719 by andypugh
Replied by andypugh on topic How can I get GladeVCP?
What OS is the problem PC running?
Which version of LinuxCNC is it running?

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

More
18 Nov 2021 00:50 #226815 by yi2580
Replied by yi2580 on topic How can I get GladeVCP?
Both PC and controller are Ubuntu systems, and PC is Linux CNC
2.8 controller is 2.9

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

More
21 Nov 2021 17:25 #227204 by andypugh
Replied by andypugh on topic How can I get GladeVCP?
LinuxCNC 2.9 is in the middle of converting to Python3, so there might be some issues there.
It might be best to run 2.8 on both machines.
The following user(s) said Thank You: DPFlex

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

More
24 Nov 2021 01:04 #227463 by yi2580
Replied by yi2580 on topic How can I get GladeVCP?
OK, I'll try to change it back to Linux CNC 2.8. Thank you very much for your suggestion

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

More
20 Dec 2021 04:29 #229538 by lrak
Replied by lrak on topic How can I get GladeVCP?
For some reason, I decided to shoot myself in the foot and upgrade to bullseye without thinking -- I think I need to build the glade-gtk2 package - perhaps  - but I can't find the sources?

glade-gtk2
The following packages have unmet dependencies:
 libglib2.0-0 : Breaks: libgladeui-2-6 (< 3.22.2) but 3.22.1-4 is to be installed

 

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

More
21 Dec 2021 20:50 #229653 by andypugh
Replied by andypugh on topic How can I get GladeVCP?
You can try installing glade-gtk2 using the deb package here:
www.linuxcnc.org/dists/buster/base/binary-amd64/

Download the file and then sudo apt-get install ./path-to-downlaoded-file.deb

The ./ is important, it tells apt to install from a file, not from a repository.
The following user(s) said Thank You: lrak

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

More
29 Dec 2021 02:13 - 29 Dec 2021 02:15 #230190 by lrak
Replied by lrak on topic How can I get GladeVCP?
Andy - I was looking for the sources - never did find them. I ended up going back to 'buster' for now.

There is a way to change dependencies using /etc/apt/preferences and update-alternatives, but I'm going to wait for things to end up on build-bot first.

Really appreciate all the bits you have worked on here.
Last edit: 29 Dec 2021 02:15 by lrak.

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

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