How can I get GladeVCP?

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #226710 by yi2580
Replied by yi2580 on topic How can I get GladeVCP?
I have installed Linux CNC dev

Please Log in to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #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.

Please Log in to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 10 months ago #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 to join the conversation.

More
4 years 10 months ago #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.

Please Log in to join the conversation.

More
4 years 10 months ago #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.

Please Log in to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum