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.
Related
I am coding on a Raspberry Pi, and I just learned C++,and I want to continue coding in it. I am using the Raspbian OS. I can't download xCode, as it is humongous, and the Raspberry Pi would break. In CodeCademy, it teaches you to compile and run the programs using g++ and ./a.out. Is there any way to do that in the terminal of the Raspberry Pi?
Yes, but you have to install a C++ compiler first. As root, run apt-get update && apt-get install g++. Then you can run g++ as usual.
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'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 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.
I'm trying to install Tensorflow on Raspberry Pi. The OS is Ubuntu Mate, python2.7 and PIP version is 7.1.2
When I run this
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
it tells that
"tensorflow-0.5.0... is not a supported wheel on this platform."
Is it possible to install Tensorflow on Raspberry?
And someone knows what I'm missing?
Raspberry Pi is a 32-bit architecture, and the TensorFlow program was made for a 64-bit.
I am not sure how well A Raspberry Pi can handle it, but you could install a virtual machine and run the TensorFlow inside there.
Maybe the newer generations of the Rasberry Pi could handle this a bit better, but the original ones, will probably struggle to run this setup.
You could do the training on a more powerful machine and just run the learned machine on the Rasberry Pi, that might be feasible in terms of computing power.
It is now possible to install Tensorflow on Raspberry Pi. There are detailed build instructions at https://github.com/samjabrahams/tensorflow-on-raspberry-pi as well as an unofficial downloadable build.
x86 is for intel-like cpu and 64 is for 64 bits that's not Raspberry pi's hardware...