UbiquityRobotics / raspicam_node

ROS node for camera module of Raspberry Pi
BSD 3-Clause "New" or "Revised" License
292 stars 162 forks source link

Ubuntu 18.04.4 with melodic on Pi4 - libraspberrypi0 not found #98

Closed bltDefender closed 4 years ago

bltDefender commented 4 years ago

Hi, was trying to make the node on my pi4 but got this error:

E: Unable to locate package libraspberrypi0
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y libraspberrypi0] failed

see screenshot attached to show rosdep source is set correctly. rosdep update ran successfully. any way to build on ubuntu 18.04?

image

davecrawley commented 4 years ago

Alan - you managed to get all this working on melodic under the pi 4 right? Can you shed some light on this one? See the github thread.

On Sun, Apr 19, 2020 at 10:09 AM Mirco notifications@github.com wrote:

Hi, was trying to make the node on my pi4 but got this error:

E: Unable to locate package libraspberrypi0 ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install -y libraspberrypi0] failed

see screenshot attached to show rosdep source is set correctly. rosdep update ran successfully. what am I missing?

[image: image] https://user-images.githubusercontent.com/37219611/79682781-57672600-8225-11ea-8b44-6227b824835e.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UbiquityRobotics/raspicam_node/issues/98, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYN4VXJQ2H66IY3TAEZY4DRNKWUZANCNFSM4MLWBS3Q .

bltDefender commented 4 years ago

Don't know about the consequences yet, but this is how I brute forced the installation of missed lib. Libraspberrypi0 conflicts with libgles2-mesa-dev, mesa-common-dev and libegl1-mesa-dev. I kicked them out via sudo dpkg -r --force-depends libgles2-mesa-dev mesa-common-dev libegl1-mesa-dev I found out there is additional ppa sources being available sudo add-apt-repository ppa:ubuntu-raspi2/ppa After apt update you can add libraspberrypi-bin and Libraspberrypi-dev.

bltDefender commented 4 years ago

There is another way to install Libraspberrypi0