LinuxCNC on Raspberry, missing initool.hh

More
09 Mar 2022 07:54 #236741 by Guglielmi
Hello,
I installed LinuxCNC succesfully on Raspberry PI4 and now I'm playing a little bit configuring and customizing it.
I did some changes in the file "hal_gpio.c", the driver for GPIO control and I want to rebuild the software in order to apply my changes.
Well. in the directory "linuxcnc-dev/src" I call the command:

sudo make

and it works but after few seconds it stops with error:
"no rules to build object "../include/initool.hh", necessary for "headers".

What should I do to fix? Remove this file from a header? Create it.. but how? I'm not able to find the specific file on the web..

Thanks
Bye
Andrea

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

More
09 Mar 2022 23:37 #236792 by andypugh
initool.hh exists in 2.8 and not in Master.

Which version are you trying to build?

In Master it was removed as part of Dewey's tool table refactoring. (Which allows a database to be queried for tool data)
The following user(s) said Thank You: Guglielmi

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

More
10 Mar 2022 13:10 #236840 by Guglielmi
At the end I tried to create a mock file just to understand if it was the only issue.. and I got another error in the line after 

Finally, exaclty now.. I got the system built by myself following this video:
Install linuxcnc 2.8 on raspberry pi 3 B+ part3

Really cool because it is done step by step and at the contrary to some tutorial on a web page you can't face typing mistake,
sometime happens... 

Now I checkout again version 2.8 and it works!
Thanks a lot and hopefully this post could help someone else.

Bye
Andrea

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

Time to create page: 0.060 seconds
Powered by Kunena Forum