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 2 years 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

This works for me too :+1:

Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy

asbjorn avatar Nov 24 '22 07:11 asbjorn

You're welcome :)

Hatsumi-FR avatar Nov 24 '22 09:11 Hatsumi-FR

Hi team!

Any updates of this issue? If any problems in this PR https://github.com/hybridgroup/gocv/pull/1033, I can work on it.

0daryo avatar Feb 18 '23 01:02 0daryo

There are already a lot of PR about this problem. But no one has been merge :(

Hatsumi-FR avatar Apr 08 '23 16:04 Hatsumi-FR

If we received a PR that added this functionality for example in a new make task, instead of removing the current support for 18.04 it would be great! :smile_cat:

deadprogram avatar Apr 08 '23 16:04 deadprogram

@deadprogram, good day, I've created #1078 that uses a different make task for Jammy.

mikedll avatar May 14 '23 20:05 mikedll