rcpy for beaglebone blue

51 views
Skip to first unread message

ryansel...@gmail.com

unread,
Sep 21, 2020, 9:46:44 PM9/21/20
to BeagleBoard
Hello,

I'm just getting into beaglebone and working with linux in general. I have the robotics controller library loaded and up to date. I would like to use rcpy. The first step on the rcpy documentation is to install libgpiod. I can git that fine, but when I go to do the autogen step, it gives me an error saying "libgpiod needs linux headers version >= v5.5.0". The kernel I have is 4.19 from the most recent flashed image. Is there anyway around this?

Thanks in advance

Tarmo

unread,
Sep 22, 2020, 4:11:53 AM9/22/20
to BeagleBoard
Try installing libgpiod from the debian package repository - with luck you might find an older version which supports the available kernel version. 
Run "apt search libgpiod" and see if the packages are there; then install them as usual ("sudo apt install libgpiod libgpiod-dev" or something similar). For compiling other source code against it, you'll also need the development package which ends with "-dev".

--
Kind regards,
Tarmo

Dennis Lee Bieber

unread,
Sep 22, 2020, 10:37:57 AM9/22/20
to Beagleboard
On Tue, 22 Sep 2020 01:11:53 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Tarmo
<tarmo.kuuse-Re5JQ...@public.gmane.org> wrote:

>Try installing libgpiod from the debian package repository - with luck you
>might find an older version which supports the available kernel version.

Who needs luck? <G>

debian@beaglebone:~$ apt search libgpiod
Sorting... Done
Full Text Search... Done
libgpiod-dev/unknown,now 1.4.1-2rcnee3~buster+20190906 armhf [installed]
C library for interacting with Linux GPIO device - static libraries and
headers

libgpiod-doc/unknown 1.4.1-2rcnee3~buster+20190906 all
C library for interacting with Linux GPIO device - library documentation

libgpiod2/unknown,now 1.4.1-2rcnee3~buster+20190906 armhf
[installed,automatic]
C library for interacting with Linux GPIO device - shared libraries

libgpiod2-dbgsym/unknown 1.4.1-2rcnee3~buster+20190906 armhf
debug symbols for libgpiod2

python3-libgpiod/unknown,now 1.4.1-2rcnee3~buster+20190906 armhf
[installed]
Python bindings for libgpiod (Python 3)

python3-libgpiod-dbgsym/unknown 1.4.1-2rcnee3~buster+20190906 armhf
debug symbols for python3-libgpiod

debian@beaglebone:~$ uname -a
Linux beaglebone 4.19.94-ti-r48 #1buster SMP PREEMPT Wed Aug 19 17:38:55
UTC 2020 armv7l GNU/Linux
debian@beaglebone:~$


Strange, I don't recall explicitly installing those packages; they may
be part of the standard Beagle images.


--
Dennis L Bieber

Robert Nelson

unread,
Sep 22, 2020, 10:49:50 AM9/22/20
to Beagle Board
Correct libgpiod is installed by default.. There are a few projects
that utilize that library in the standard image..

Regards,

--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages