2022 Developer Survey is open! Take survey.
10 votes

Install software on raspberry pi offline

To install programs on machine unable to access internet enter command as normal and read output look towards end of results for the failed to fetch lines and enter these links into a web capable ...
user avatar
  • 151
7 votes
Accepted

Sound recording program using Nano

You can easily solve it by installing libasound2-dev. to do so just use the following code: apt-get install libasound2-dev Now you should be able to use alsa/asoundlib.h.
user avatar
  • 401
6 votes
Accepted

How to install seafile client

Here is a Guide how to compile seafile-client on Raspbian Wheezy: 1) Install all dependencies available in the repository: sudo apt-get install qt4 doxygen cmake sqlite3 libsqlite3-dev openssl ...
user avatar
6 votes
Accepted

RPI2 Kernel module compilation (kernel 3.18.11+ vs 3.18.11-v7+)

What is the difference between kernel "3.18.11" and "3.18.11-v7+"? The -v7+ is tacked on to indicate this isn't from a vanilla source tree, and that it was compiled specifically for the Pi 2. I'm ...
user avatar
  • 55.6k
6 votes

Linux headers in Raspbian Jessie

You can try sudo apt-get install raspberrypi-kernel-headers if you're running raspbian. As suggested here https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=154749
user avatar
  • 101
6 votes
Accepted

Miniconda for ARMv6 (Zero W)

Berryconda is the way to go! See https://github.com/jjhelmus/berryconda
user avatar
  • 211
5 votes
Accepted

Armbian binary compatibility with Raspbian

In short, Yes, they will work. Both repositories use the same upstream code to build their packages. That is, armhf binaries from armbian will run on an armhf raspbian. Your problem won't binary ...
user avatar
  • 2,895
3 votes
Accepted

Is it possible to run Raspberry Pi 3 with a 64-bit kernel and 32-bit user space?

Is it possible to run Raspberry Pi 3 with a 64-bit kernel and 32-bit user space? Yes. Some pre-built images have this ready to go: Crazyhead90's Raspbian Stretch Lite and Desktop 64-bit images (Pi 3,...
user avatar
  • 2,804
3 votes

How to run 2 servos with wiringpi2 on Raspberry pi 2

Lucky to see this question, I just spent weeks on controlling two servo (SG90) using WiringPi and programming in C, there're three things that I recommend. 1.Using BCM GPIO instead of WiringPi Pin ...
user avatar
  • 31
2 votes
Accepted

si7013 driver install raspberry pi

I compiled a linux kernel on my RasPi, following the Guide from the Raspberry Dokumentation and the Readme file from the driver sources. sudo apt-get update sudo apt-get upgrade mkdir temp cd temp ...
user avatar
2 votes

How to automagically have yaourt / makepkg add the armv6h platform to PKGBUILD?

Yaourt will pass the -A flag to makepkg if -A is passed to yaourt: $ yaourt -SA the-package
user avatar
2 votes

What can cause libs to not be found on raspberry pi

to make linking work you'll need to run ldconfig $ sudo ldconfig (oh well already in comments above. didn't see that until post)
user avatar
2 votes

How to run 2 servos with wiringpi2 on Raspberry pi 2

Pis with the 40 pin expansion header give access to two channels for hardware PWM. Channel 0 is on gpios 12/18, channel 1 is on gpios 13/19. So with wiringPi you should be able to use two servos. ...
user avatar
  • 66.3k
2 votes
Accepted

Should I provide additional parameters for make on Raspberry Pi2?

A make which I do on a B+ takes 3 minutes. The identical make takes one minute on a Pi 2. If your program uses threads you won't have to do anything special to use the extra cores. The main program ...
user avatar
  • 66.3k
2 votes

FFmpeg with x264 NEON support

Have you tried this when you compile: -mcpu=cortex-a8 -mfpu=neon What CPU capabilities does x.264 report at runtime? I get this on my old model B: x264 [info]: using cpu capabilities: none! You ...
user avatar
  • 111
2 votes

Compiling source code fundamentals: general steps to compile some program for any Linux

seems like you are missing the development openssl package. you can try this: sudo apt-get install libssl-dev
user avatar
2 votes

How to install seafile client

On the Seafile download page there is a link to download a "Seafile Terminal Client" and it's listed for "Generic Linux". Download, and extract the 32-bit option. Since it's written in bash/python, ...
user avatar
  • 11.7k
2 votes

How to install seafile client

There is now a package for this in the Debian Backports package repository. Add the repository to your sources by creating a new file called however you like in the /etc/apt/sources.list.d directory, ...
user avatar
  • 121
2 votes

Error compiling kernel using guide provided on Raspberry Pi website

If you suspect a hardware problem, try running cpu and RAM tests to confirm it: sudo apt-get install memtester memtester I would probably run fsck as well, even though filesystem errors resulting in ...
user avatar
2 votes
Accepted

Installing MongoDB On Raspberry Pi 2

MongoDB Is In The Repositories You just need to install MongoDB, right? It is already compiled and available in the Raspbian repositories: pi@raspberrypi:~ $ apt-cache search mongodb ... mongodb - ...
user avatar
  • 1,786
2 votes

Is it possible to run Raspberry Pi 3 with a 64-bit kernel and 32-bit user space?

You need both sets of libraries and both architectures compiled against the right libraries, so 2 build environments. Look up multi arch and your prefered bsse to get pointers. Like https://wiki....
user avatar
2 votes

Is it possible to run Raspberry Pi 3 with a 64-bit kernel and 32-bit user space?

Sure, it's possible. 64-bit operating systems do it all the time*. It happens when you're on a 64-bit OS and you open up a 32-bit app (aka 32-bit user space application). But sometimes, there may be ...
user avatar
  • 7,008
2 votes
Accepted

g++ typedef strange behaviour

It is because that you passed the wrong type of argument to printf. When the format given to printf is "(%d," or "%d)\n", the second argument is expected to be int. You gave it long int. For variable ...
user avatar
  • 146
2 votes
Accepted

Raspberry Pi and Ada Compiler (gnat on Raspbian) - GPIO

I'll mention my pigpio library and daemon as the daemon was designed partly with other language use in mind. You can manipulate the GPIOs from Ada by using the socket interface. If you want a pure ...
user avatar
  • 66.3k
2 votes

Compiling driver for raspbian jessie 4.4.21-v7+

Did you try running "make oldconfig && make prepare" as suggested? That generates auto.conf as your failure message indicates.
user avatar
2 votes
Accepted

Compile Raspivid from userland

Compiling raspivid (or any of the raspicam apps) requires a lot more than just RaspiVid.c. Have a look at the top of that file and you'll see it also uses stuff from RaspiCamControl, RaspiPreview, and ...
user avatar
  • 3,928
2 votes

Miniconda for ARMv6 (Zero W)

BerryConda supports raspbian/jessie, with a may/may not warning about other versions of raspbian. jessie was replaced by stretch and now buster, which is required for Pi 4. announcement of buster
user avatar
2 votes
Accepted

Where to put manually compiled binaries?

Either /usr/local/bin (and friends) or /opt/<package name here>/bin/. The latter has the downside people had to manually add the directory to their search paths.
user avatar
  • 1,643
2 votes

What is the Raspbian data model for pointer (size_t) and long ints?

AFAIK there is no 100% portable way of dealing with large files on all systems. You'll have to use ftello64/lseek64 on Linux, _fseeki64/_ftelli64 on Windows, etc. Your best bet is to concentrate the ...
user avatar
1 vote

Install dotnet Core on Raspbian 8

as today, there is no way to install dotnet core on ARM. See Problem install .Net Core on Raspberry Pi Model B The roadmap dated the ARM32/64 Support for a release in Q4 2016 / Q1 2017. So there is ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible