Glade 3.20.will not work with LinuxCNC , please follow this for 3.8.6

More
19 Sep 2017 02:20 - 30 Sep 2017 18:18 #99103 by scubawarm
I'm sure I missed something somewhere in all the docs I've read but...

Trying to pull up some of the sample gmoccapy demo screens and not getting anywhere.

Says can't find gladevcp libraries and get a bunch of errors the HAL libraries are depreciated and I need to run 3.8 first.

So is 3.18 not supported which is what is in the package installer?

I need to uninstall it, and look for old code and build from scratch again?
Boy no wonder LinuxCNC is not for the faint of heart. LOL
Last edit: 30 Sep 2017 18:18 by scubawarm. Reason: Changed thread title.

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

More
19 Sep 2017 02:41 #99105 by Todd Zuercher
The custom Glade widgets for Linuxcnc are GTK2 based, and support for GTK2 in Glade ended with version 3.8. This is why you can't edit Linuxcnc Glade screens with versions of Glade > 3.8. This dependency is documented here.
linuxcnc.org/docs/html/gui/gladevcp.html#gladevcp:prerequisites

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

More
19 Sep 2017 03:36 #99109 by scubawarm

Todd Zuercher wrote: The custom Glade widgets for Linuxcnc are GTK2 based, and support for GTK2 in Glade ended with version 3.8. This is why you can't edit Linuxcnc Glade screens with versions of Glade > 3.8. This dependency is documented here.
linuxcnc.org/docs/html/gui/gladevcp.html#gladevcp:prerequisites


On my Mint install I get Unable to locate package glade-gtk2

Trying to compile it but errors on the dependencies which appear to be met already.

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

More
19 Sep 2017 06:57 #99114 by cmorley
linuxcnc has debs for glade-gtk2:
linuxcnc.org/dists/wheezy/base/binary-i386/
You can see the deb in the list.
This is based on wheezy - there are others:
linuxcnc.org/dists/

You may be able to get it that way.
What version of Mint are you using?

Chris M

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

More
19 Sep 2017 09:39 - 26 Sep 2017 10:13 #99117 by scubawarm

cmorley wrote: This is based on wheezy - there are others:
linuxcnc.org/dists/

You may be able to get it that way.
What version of Mint are you using?


18.1 386

Thanks for the distro link! Plenty of things to try. Going to try the Glade first. Not against starting over. My laptop has issues with the wheezy distro RIP thou.... That's why I resorted to building from source.
Last edit: 26 Sep 2017 10:13 by scubawarm.

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

More
19 Sep 2017 11:55 #99119 by rodw
I tried a number of things to get glade installed on Mint 17.3 and eventually I got it going. Great to know there is a Linuxcnc specific deb for it.

the executable is called glade-gtk2 and if you are running Linuxcnc from the command prompt as run in place, you need to run the rip-environment script as advised in the documentation otherwise the hal components are not found and will be deleted from your screen designs.

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

More
19 Sep 2017 21:01 #99141 by scubawarm
Hey progress! That deb worked for my Mint! I got missing libgladeui, but some thoughtful person had that there too. So installed that first then the glade-gtk2 and presto.

When I fire it off, I get all sorts of warning about missing icons... but none seem to be in the GUI so I don't know. Keep plugging away for now.

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

More
19 Sep 2017 21:18 #99142 by rodw
You may need to install the rip-environment in your terminal window as I mentioned earlier
www.wiki.eusurplus.com/index.php?title=L...c_.28run_in_place.29

Pay careful attention to the three leading dots. required exactly as shown (space in between . and ..)

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

More
22 Sep 2017 23:43 #99294 by scubawarm
I went back and started over...
Installed Mint 18.2 AMD64 with 4.11.12 rt13 patch
linuxcnc-dev
the two DEBS as discussed before.

All seemed well.

BUT now, if I start a new project in glade-gtk2
Add a main window to the project
Add an about window (actually any type of additional window frame)

The application closes promptly, and the terminal window simply shows.
Segmentation fault

Any ideas at all anyone? Bad kernel selection? Or related to glade-gtk2?

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

More
23 Sep 2017 21:39 #99362 by scubawarm
Well spent a large amount of time on this.
Started over again on two completely different machines, built kernel 4.8.15-rt10 as 4.8.0.55 is what comes with Mint 18.2 64
Tried it with the DEB
Tried it compiling 3.8.6

All with exactly the same result add two window types and crash. Haven't really tried working with the program, as I can't do the 2nd tutorial on using it for LinuxCNC. :)

The only thing different is the first time when it worked before the rebuild I was on i386. Guess I will have to try i386 on one of them to see if it behaves any differently.

Guess I have to go back and try

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

Moderators: mhaberler
Time to create page: 0.199 seconds
Powered by Kunena Forum