RPI4 Raspbian 64 bit & LinuxCNC

More
3 years 1 month ago #280432 by rodw
Thanks Andy, after reading the link,  the build installs the gpiod-dev package but does not include the gpiod package So it can't be a dependency of linuxcnc-uspace 
Try: sudo apt install gpiod

Can the linuxcnc deb build include it as a dependency for ARM64 Architecture?

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

More
3 years 1 month ago #280434 by Cant do this anymore bye all
I was under the impression that if a deb package was built against a certain library dev package that the library package was automatically included as a dependency.

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

More
3 years 1 month ago #280436 by rodw

I was under the impression that if a deb package was built against a certain library dev package that the library package was automatically included as a dependency.
Only if the dependencies are listed in the debian control file by the developer of the .deb file
I'm not sure if dependencies can be specified for specific architectures
I think I did a bit of a package search on the debian site and decided to add gpiod-dev to the builder,  but left gpiod out. I'll add it back in.
There are probably a few more that will come to light.

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

More
3 years 1 month ago - 3 years 1 month ago #280452 by Donno
gpioinfo gives output i can read and write GPIO pins in terminal.

Code:
Did you remember to add the hal_gipo read and write functions to a thread?


Can you please show example ?
Last edit: 3 years 1 month ago by Donno.

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

More
3 years 1 month ago #280464 by andypugh

Only if the dependencies are listed in the debian control file by the developer of the .deb file

libgpiod-dev has libgpiod2 as a dependency:
packages.debian.org/stable/libdevel/libgpiod-dev
But that does not appear to have a dependency on gpiod.
This might not be a problem, as I think that goiod is just the package that includes the tools (like gpioinfo) and isn't necessary for the library code to work.
The following user(s) said Thank You: rodw

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

More
3 years 1 month ago #280465 by andypugh

Code:
Can you please show example ?
Code:
addf hal_gpio.read base-thread addf hal_gpio.write base-thread addf hal_gpio.reset base-thread
The following user(s) said Thank You: rodw

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

Time to create page: 0.276 seconds
Powered by Kunena Forum