How can I get GladeVCP?

More
28 Jan 2021 14:52 #196945 by probotix
Replied by probotix on topic How can I get GladeVCP?
Has the LED widget been removed?

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

More
28 Jan 2021 16:01 #196957 by probotix
Replied by probotix on topic How can I get GladeVCP?
So, I had followed someone else's advise and compiled my own 3.8.6 from source, and that works, but none of the HAL widgets are there. I removed that install and re-installed using apt, and it also works, but still no HAL widgets. I tried to set the GLADE_CATALOG_PATH to /usr/lib/python2.7/dist-packages/, and still no HAL widgets. Any ideas?

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

More
28 Jan 2021 16:21 #196959 by probotix
Replied by probotix on topic How can I get GladeVCP?
Ok, one step closer... found the catalogs and set the path to GLADE_CATALOG_PATH=/usr/share/glade3/catalogs/, now it throws all kinds of "Tried to include undefined widget class EMC_*****" errors.

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

More
28 Jan 2021 23:59 #197002 by andypugh
Replied by andypugh on topic How can I get GladeVCP?
Try

sudo apt-get install linuxcnc-uspace-dev

(After installing Glade)

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

More
29 Jan 2021 00:13 #197008 by probotix
Replied by probotix on topic How can I get GladeVCP?
actually, I had already done that *before I got to this point. But then I tried apt-get remove, then apt-get install, and still no widgets

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

More
29 Jan 2021 00:35 #197013 by andypugh
Replied by andypugh on topic How can I get GladeVCP?
<clutching at straws>

apt-get reinstall?

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

More
29 Jan 2021 16:09 - 29 Jan 2021 16:10 #197067 by joekline9
Replied by joekline9 on topic How can I get GladeVCP?
In a stand alone '.c' program using gtk2
my only problem now is I get error when using sin() or cos().
I have:
#include math.h
it will compile on wheezy OK but not buster.
Last edit: 29 Jan 2021 16:10 by joekline9.

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

More
29 Jan 2021 23:59 #197103 by andypugh
Replied by andypugh on topic How can I get GladeVCP?
You could try rtapi_math.h. Though there should be no reason to in userspace code (rtapi_math.h is the LinuxCNC threadsafe maths library, for realtime code)

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

More
31 Jan 2021 20:25 #197244 by joekline9
Replied by joekline9 on topic How can I get GladeVCP?
OK. I found that you need -lm option in the gcc command. I didn't need that in wheezy.
This is a stand alone program not a Linuxcnc comp.
gcc -Wall -g GraphA2-tty.c -o graphA2-tty -lm `pkg-config --cflags --libs gtk+-2.0`

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

More
07 Mar 2021 16:54 #201313 by robertspark
Replied by robertspark on topic How can I get GladeVCP?

you will need to compile glade 3.8.6 from source code.


Not any more :-)

For Buster / amd64 I have put a package "glade-gtk2" on the LinuxCNC repository.
And there is a pre-existing package for Raspbian.

For Buster with the LinuxCNC 64-bit kernel:
sudo apt-get install glade-gtk2
For Raspbian on Pi
sudo apt-get install glade-3


any change of adding to master? {i installed from 2.8-preempt, but it may be of use going forward?}

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

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