Is it possible to install opencv nonfree package in raspberry pi 2 mod b.?
As i have done coding in C++ and when i ported my code to raspberry pi(arm processor) with raspbian OS this code was not working as it was showing unable to locate nonfree packge. tried with adding repositories
sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
sudo apt-get update
sudo apt-get install libopencv-nonfree-dev
and many other ways still it was not working. then i changed the raspbian OS to ubuntu 14.04 LTS raspberry pi supported, still no change..
Is it that raspberry pi with arm processor won't support this package?
Please help me by suggesting the method how to install this package.
Thanks in advance.
Related
I'm trying to install 'Dronekit'.
But I have an error when it install.
Environments
Raspberry pi 4 (Board, 32bit)
Ubuntu 20.04 (I know Rasp4's OS is 'Rasbian' but I need to use Ubuntu for using ROS)
Python2.7 (32bit)
I want to use the GraphicsMagick++ library on a C++ project that I am working on in a Raspberry Pi 3 (Raspbian).
I have installed the package using the following command:
sudo apt-get install libgraphicsmagick++-dev
After playing a bit, I have found that the method Image::extent is not defined on Image.h header, while is is shown on the documentation.
Is there any newer version? How to install it?
You can find all the packages related to libgraphicsmagick in debian on https://packages.debian.org/search?keywords=libgraphicsmagick
I am trying to install Qt for cross compiling on the Raspberry Pi. I am following the instructions from the Qt Wiki.
I have a fresh install of Raspbian Jessie on a new Raspberry Pi 3 Model B.
My issue is on step 3 of the above linked wiki page: sudo apt-get build-dep libqt5gui5
pi#raspberrypi:~ $ sudo apt-get build-dep libqt5gui5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'qtbase-opensource-src' as source package instead of 'libqt5gui5'
The following packages have unmet dependencies:
libgles2-mesa-dev : Depends: libegl1-mesa-dev but it is not going to be installed
libopenvg1-mesa-dev : Depends: libegl1-mesa-dev but it is not going to be installed
E: Build-dependencies for libqt5gui5 could not be satisfied.
I have tried manually installing those dependencies, but run into more of the same issue with other dependencies.
I guess you can replace:
sudo apt-get build-dep qt4-x11 libqt5gui5
by:
apt-get build-dep -y qt4-x11 qtbase-opensource-src
This is how we do in our open-source project: QtRpi to setup the Raspberry Pi sysroot for a Qt cross-compilation.
Check also the project itseft, it "offers an easy-to-use environment to cross-compile Qt application on a Raspberry Pi. This repo contains all the scripts needed to prepare a sysroot, cross-compile Qt and deploy Qt libraries to your Raspberry." Maybe it could be useful for you. More information on the official website: www.qtrpi.com
I've finally mangaged to get Qt5.7 on a Raspberry Pi3, and have built an example which runs on the Pi, this was done by carefully following:
Step by Step instructions on how to install Qt5.6 on Raspberry Pi3
To get 5.7 on the Pi simply replace:
git clone git://code.qt.io/qt/qtbase.git -b 5.6
With:
git clone git://code.qt.io/qt/qtbase.git -b 5.7
This sets-up the tool chain on a Linux host in my case Ubuntu 16.04, however it doesn't install QtCreator, I then tried installing QtCreator and messed up the build, so I had to start over.
How do I get the latest QtCreator installed on either the Ubuntu 16.04 or preferably on the Pi3 ?
I just started following these instructions: https://www.ics.com/blog/configuring-qt-creator-raspberry-pi
It starts with installing QtCreator on the Desktop, as you are cross compiling, why would you want it on the Pi itself?
Still waiting for the build to complete, wonder if it will all work right away :)
Is it possible for me to get the SDL libraries for the Raspbian OS? I am thinking about getting a raspberry pi and want to know if I can install SDL for game dev. Thank you!
How about:
sudo apt-get install libsdl1.2-dev
It's working on my Pi.