- Posts: 41
- Thank you received: 0
How can I get GladeVCP?
5 years 9 months ago #196945
by probotix
Replied by probotix on topic How can I get GladeVCP?
Has the LED widget been removed?
Please Log in to join the conversation.
5 years 9 months ago #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 to join the conversation.
5 years 9 months ago #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 to join the conversation.
5 years 9 months ago #197002
by andypugh
Replied by andypugh on topic How can I get GladeVCP?
Try
sudo apt-get install linuxcnc-uspace-dev
(After installing Glade)
sudo apt-get install linuxcnc-uspace-dev
(After installing Glade)
Please Log in to join the conversation.
5 years 9 months ago #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 to join the conversation.
5 years 9 months ago #197013
by andypugh
Replied by andypugh on topic How can I get GladeVCP?
<clutching at straws>
apt-get reinstall?
apt-get reinstall?
Please Log in to join the conversation.
5 years 9 months ago #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.
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.
Please Log in to join the conversation.
5 years 9 months ago #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 to join the conversation.
5 years 8 months ago #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`
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 to join the conversation.
- robertspark
- Offline
- Platinum Member
-
Less
More
- Posts: 913
- Thank you received: 0
5 years 7 months ago #201313
by robertspark
any change of adding to master? {i installed from 2.8-preempt, but it may be of use going forward?}
Replied by robertspark on topic How can I get GladeVCP?
andypugh wrote:
newbynobi wrote: 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:For Raspbian on PiCode:sudo apt-get install glade-gtk2Code: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 to join the conversation.
Time to create page: 0.086 seconds
