Abra um terminal e execute:
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get -f install
sudo apt-get dist-upgrade
sudo apt-get install --reinstall libopencv-dev
Eu quero OpenCV para processamento de imagem em um robô traçador de linha usando a câmera. Eu quero instalar o openCV no meu laptop de 64 bits com o cartão nVIDia de 2GB do Ubuntu 12.04.
Eu tentei o comando:
sudo apt-get install libopen-dev
mas estou recebendo erros como incapaz de corrigir e você tem alguns pacotes quebrados:
The following packages have unmet dependencies:
libopencv-dev : Depends: libopencv-objdetect-dev (= 2.3.1-7) but it is not going to be installed
Depends: libopencv-highgui-dev (= 2.3.1-7) but it is not going to be installed
Depends: libopencv-calib3d-dev (= 2.3.1-7) but it is not going to be installed
Depends: libopencv-features2d-dev (= 2.3.1-7) but it is not going to be installed
Depends: libopencv-legacy-dev (= 2.3.1-7) but it is not going to be installed
Depends: libopencv-contrib-dev (= 2.3.1-7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Abra um terminal e execute:
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get -f install
sudo apt-get dist-upgrade
sudo apt-get install --reinstall libopencv-dev