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
Dip's user avatar
  • 111
6 votes
Accepted

Miniconda for ARMv6 (Zero W)

Berryconda is the way to go! See https://github.com/jjhelmus/berryconda
VaNa's 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 ...
crasic's user avatar
  • 3,003
4 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 ...
Mou's user avatar
  • 41
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,...
jdonald's user avatar
  • 2,904
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....
E.M.Smith's 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 ...
Aloha's user avatar
  • 7,156
2 votes

How to install seafile client

UPDATE : the seafile-cli package is now provided by the default raspbian repositories. So sudo apt install seafile-cli is the way to go. OUTDATED: There is a package for this in the Debian Backports ...
Sindarus's user avatar
  • 121
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 - ...
Hydraxan14's user avatar
  • 1,836
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 ...
joan's user avatar
  • 71.1k
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 ...
v7d8dpo4's user avatar
  • 156
2 votes

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 ...
Joe Platano's user avatar
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.
user55240's user avatar
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
Staffhorn's 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 ...
Dave Jones's user avatar
  • 3,978
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 ...
Dmitry Grigoryev's 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.
Janka's user avatar
  • 1,718
1 vote

How can I install a Compiler for Golang?

Go is not obscure, you can install it from the distro repositories: apt search golang Turns up hundreds of things. To narrow it down a bit: apt search golang | grep -iB 2 compiler The command ...
goldilocks's user avatar
  • 58.9k
1 vote
Accepted

How to install latest gputils?

You can find the installed version of a package with dpkg -l [package name], or just search on the Internet for the package name along with "Raspbian Stretch"; you'll usually find packages.debian.org ...
Aurora0001's user avatar
  • 6,308
1 vote

How to install CouchDB 2 on Raspberry Pi

Use the Erlang package that comes with Debian Stretch, not the one from the Erlang Solutions repository: sudo apt-get --no-install-recommends -y install \ build-essential pkg-config erlang \ ...
Eric Clack's user avatar
1 vote

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

If you want to read long files, what you need is the size of the type used for file offsets, off_t. Every somewhat recent (at least 10 years) Linux system supports 64 Bit off_t, so you should have no ...
RalfFriedl's user avatar
  • 2,188
1 vote

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

Sounds like someone is going for a hail mary pass ;) You are probably in luck though. #include <stdio.h> int main (int argc, const char *argv[]) { printf("%d\n", sizeof(char*)); ...
goldilocks's user avatar
  • 58.9k
1 vote

Is it possible to compile AOSP on the Raspberry Pi 4?

The documentation at https://source.android.com/setup/build/initializing actually does say something about the host architecture. The package names imply an x86_64 host that also supports i386 ...
jdonald's user avatar
  • 2,904
1 vote
Accepted

How to update QupZilla on Ubuntu Mate?

To build it from source, follow these steps (as root): Download source of the latest version. (For now it is v2.0.1) # wget https://github.com/QupZilla/qupzilla/archive/v2.0.1.tar.gz Extract the ...
vaha's user avatar
  • 1,240
1 vote
Accepted

Raspberry Pi 2 NEON instruction set, vector report generation?

I had posted the same question on the Raspberry Pi forums and all thanks to the user: Paeryn, for the answer. I am re-posting his answer here : With the latest GCC compilers the -ftree-vectorizer-...
Ragesam's user avatar
  • 41
1 vote

Linux headers in Raspbian Jessie

At the moment there is no linux-headers for the 4.1.17 kernel version. There are only headers for the 4.1.19 version for the 4.x branch. You can simply upgrade your kernel to the 4.1.19 version (now ...
Huczu's user avatar
  • 1,251
1 vote

Linux headers in Raspbian Jessie

Try: sudo apt-get update sudo apt-cache search linux-headers It will list you the related packages.
van's user avatar
  • 121
1 vote

Installing MongoDB On Raspberry Pi 2

Try using this guide - http://andyfelong.com/2015/02/mongodb-on-the-raspberry-pi-2/ Worked for me flawlessly.
Cludch's user avatar
  • 133
1 vote
Accepted

How do you compile a c++ programs to use Hard Float in Raspberry using Debian OS?

It is said in the FAQ section of Raspbian that the following tags are the only ones required when compiling. I dunno what ancient FAQ that was; also compiler flags are one of those things that are ...
goldilocks's user avatar
  • 58.9k
1 vote

How do you compile a c++ programs to use Hard Float in Raspberry using Debian OS?

If your libraries for OpenCV are built with hard float too - I see no problems using the flags you've provided.
Alexey Vesnin's user avatar

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