gocv
gocv copied to clipboard
make deps outdated for ubuntu 22.04.01LTS
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
- Go to ubuntu 22.04.01LTS
- Run the make deps command
Your Environment
- Operating System and version: Ubuntu 22.04.01LTS
- Go version: 1.18
Same error while trying the installation guide. I have the same Ubuntu 22.04LTS with Go version 1.18
@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
Thanks @Hatsumi-FR. That definitely worked :)
This works for me too :+1:
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
You're welcome :)
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.
There are already a lot of PR about this problem. But no one has been merge :(
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, good day, I've created #1078 that uses a different make task for Jammy.