gocv icon indicating copy to clipboard operation
gocv copied to clipboard

make deps outdated for ubuntu 22.04.01LTS

Open Hatsumi-FR opened this issue 1 year ago • 9 comments

Hey, I can't follow the documentation and install openCV, because libdc1394-22-dev package seems to be outdated since the new ubuntu release. It looks like the package has been remove https://askubuntu.com/questions/1407580/unable-to-locate-package-libdc1394-22-dev

Description

hatsumi@hatsumi-X756UJ:~/src/gocv$ make deps
sudo apt-get -y update
sudo apt-get -y install unzip wget build-essential cmake curl git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev
[sudo] Mot de passe de hatsumi : 
Atteint :1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease         
Atteint :3 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease       
Atteint :4 https://download.docker.com/linux/ubuntu jammy InRelease            
Atteint :5 http://security.ubuntu.com/ubuntu jammy-security InRelease 
Lecture des listes de paquets... Fait
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Impossible de trouver le paquet libdc1394-22-dev
make: *** [Makefile:51 : deps_debian] Erreur 100

Steps to Reproduce

  1. Go to ubuntu 22.04.01LTS
  2. Run the make deps command

Your Environment

  • Operating System and version: Ubuntu 22.04.01LTS
  • Go version: 1.18

Hatsumi-FR avatar Sep 20 '22 15:09 Hatsumi-FR

Same error while trying the installation guide. I have the same Ubuntu 22.04LTS with Go version 1.18

dubstab96 avatar Sep 21 '22 09:09 dubstab96

@dubstab96 , I've found a solution to solve the problem until they fix it. In your makefile, you can replace "libdc1394-22-dev" by "libdc1394-dev" in DEBS and JETSON vars

Hatsumi-FR avatar Sep 21 '22 09:09 Hatsumi-FR

Thanks @Hatsumi-FR. That definitely worked :)

dubstab96 avatar Sep 21 '22 11:09 dubstab96