Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [software-compilation]

Some programming languages use compilers that 'translate' code into a lower level language before executing it. Use this tag for any questions about how to compile code on the Pi.

0
votes
0answers
230 views

Installing gstreamer on raspian

I am trying to compile gstreamer 1.14.4 to take advantage of the webrtc module. I was able to successfully compile it using cerbero on my raspberry pi but I have an issue where when testing my webrtc ...
1
vote
0answers
55 views

Running cockroachdb on a Raspberry pi 2 model b (32-bit) as a docker container

I'm trying to run cockcroachdb on a Raspberry Pi within a docker container, but they only provide 64-bit versions of cockroach as they explained it here . But I do see references of running cockroach ...
1
vote
0answers
79 views

OpenCv compilation on raspberry pi stops at 16%

I was installing OPENCV on raspberry pi and all are done but when the compilation of opencv it stops at 16%.I used make -j4 as well as make -j1.It gives no error and it comes to build folder. This is ...
0
votes
1answer
25 views

Where to put manually compiled binaries?

I manually built the latest version of BlueZ (5.50) and I need to access some tools from Python. Where is the recommended location to put compiled binaries so that they are accessible for all users? ...
4
votes
0answers
7k views

How to install Python 3.7 with SSL? [closed]

I have compiled and installed Python 3.7 on my Raspberry Pi, but SSL is not working. These are the steps I took to install the new Python: Prerequisites: $ sudo apt-get update $ sudo apt-get ...
0
votes
1answer
38 views

RPi Unistalling All Upgraded Packages

After following this article, https://askubuntu.com/questions/101802/packages-having-unmet-dependencies-broken-packages, to fix an issue on my RPi when compiling QEMU, I ran sudo apt-get remove glib2* ...
0
votes
0answers
368 views

Invalid string offset errors when compiling RaspiCam C++ Library

I am getting these warnings with the RaspiCam C++ library, and wondering if anyone has a fix for them? My program is also crashing and I'm wondering if it's related. /usr/bin/ld: /usr/local/lib/...
1
vote
0answers
227 views

How do I build a custom RPi kernel DEB package?

I've got a couple of patches to the kernel that I want to apply and use in Raspbian. If I follow the Kernel building guide, I can apply the patch and get my kernel image and modules working just fine -...
1
vote
0answers
66 views

Installing a higiher version of GCC on Wheezy that doesn't rely on a newer glibc [closed]

We have software that we distributed to a bunch of Pis that have Raspian Wheezy. Recently, we've added in a bit of code that uses C++ standards that aren't integrated until >=gcc-4.8. If I compile on ...
1
vote
1answer
51 views

How to install latest gputils?

I'm trying to compile C for a PIC16F using SDCC on the RPi. It's going slow but I hope that installing an up to date version of gputils as per here will help. So how do I do that? I previously ...
2
votes
2answers
983 views

How to install CouchDB 2 on Raspberry Pi

I've tried installing CouchDB 2.1.0 and 2.1.1 on Raspbian Stretch following the instructions in this blog: http://andyfelong.com/2017/09/couchdb-2-1-on-raspberry-pi-raspbian-stretch/ However when I ...
1
vote
0answers
34 views

Compiling pascal applications to .elf on PC

I am making a pascal app on my pc for use on my Raspberry Pi, I thought that coding the app on my Raspberry Pi would be inefficient. I have completed the app and now I need to test the app on my ...
2
votes
1answer
863 views

Armbian binary compatibility with Raspbian

I was wondering if one can compile binaries on Armbian to be used on Raspbian (without using cross-compilation tools)? Is there binary compatibility? Do I need to link libraries statically (would that ...
1
vote
1answer
2k views

Miniconda for ARMv6 (Zero W)

I want to install miniconda on my Zero W, but it has ARMv6 architecture and that does not seem to be supported by Continuum Analytics. See https://repo.continuum.io/miniconda/ (just one outdated ARMv6 ...
0
votes
1answer
155 views

Compiling errors when compiling “MATRIX Hardware Abstraction Layer (HAL)”

git clone https://github.com/matrix-io/matrix-creator-hal.git cd matrix-creator-hal mkdir build cd build cmake ../ when i cmake, i get this error -- The C compiler identification is GNU 4.9.2 -- ...
1
vote
0answers
104 views

Cross Compile on maxOS fails linking System library (CMake), but other libraries succeed

tl;dr - CMake fails at linker not finding System library with precompiled RaspberryPi toolchain when other libraries work So I've been fighting this for a few days, and I believe I'm nearing the end ...
0
votes
1answer
153 views

Twilio installation problem

During the installation of Twilio, using the command sudo pip install twilio, I get the following error: compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ...
1
vote
0answers
1k views

How to compile printer driver?

I installed CUPS on raspbian but while adding The printer the driver/ppd file for Epson L210 series is not available and neither on epson website the driver/ppd file for armh is available , I guess ...
0
votes
0answers
387 views

How to setup a C++ virtual environment on the raspberry pi 3?

I am currently trying to install openCV on my raspberry pi 3 and found this very nice tutorial to help me with that:http://www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-...
0
votes
0answers
2k views

How to install raspberrypi-kernel-headers for 4.4.44-v7+

I am running kernel 4.4.44-v7+ on Raspbian 8 (jessie-lite) and trying to install the kernel headers using: sudo apt-get install raspberrypi-kernel-headers However, this installs the headers into /...
0
votes
1answer
555 views

Compile Raspivid from userland

I downloaded the userland repository from https://github.com/raspberrypi/userland and I wanted to compile just RaspiVid.c file. It's because I wanted to use the RaspiVid.c code in my project. But i ...
1
vote
1answer
599 views

How to update QupZilla on Ubuntu Mate?

The lightweight browser QupZilla is fairly outdated on Ubuntu Mate. I wonder how I can update/compile QupZilla from source? Upstream, there is no ARM package available for download.
1
vote
1answer
2k views

Compiling driver for raspbian jessie 4.4.21-v7+

I'm trying to compile the driver of rtl8812AU (github.com/diederikdehaas/rtl8812AU). I've downloaded and installed the last version of raspbian. The following is written in the change log, among ...
0
votes
1answer
2k views

How to install mpi4py on for Python3 on Raspberry Pi after installing MPICH?

I have installed MPICH on my Pi. I am making a cluster. sudo apt-get install python-mpi4py installs mpi4py. However, it also install openmpi which conflicts with MPICH. So, I started from scratch ...
2
votes
1answer
1k views

Raspberry Pi 2 NEON instruction set, vector report generation?

Lately I have been trying to generate a vector report of an OpenCV project implemented on the raspberry pi 2 model B, but for some reason there is no output. The same algorithm produces vector report ...
3
votes
1answer
104 views

Arguments for execl compiling with gcc [closed]

I have a weird problem with a Raspberry Pi 2 (model b). I'm compiling the following program in GCC in Raspbian Jessie (Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/...
5
votes
1answer
2k views

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

I am looking for programming examples written in Ada (gnat) to access GPIO. I just started using a RPi3 with Raspbian, works fine. Then installed the gnat compiler and my first programs (simple tests ...
1
vote
1answer
49 views

g++ typedef strange behaviour

I am having trouble compiling some very simple C++ code on my Raspberry Pi B+. I wrote the following program in a file called test.cpp #include <stdio.h> #include <stdint.h> /...
7
votes
1answer
2k views

Install dotnet Core on Raspbian 8

I have Raspberry Pi 2 with latest Debian/Raspbian 8 OS. How can I can compile/build run latest dotnet core on this ARM based OS? I have tried install from official link: https://www.microsoft.com/...
4
votes
3answers
16k views

Linux headers in Raspbian Jessie

I have problem to install linux-headers in Raspbian on my RPi2. My kernel version is 4.1.17-v7+. I can't find the linux-headers package with apt-get.
6
votes
2answers
952 views

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

I just got my hands on a Raspberry Pi 3 and I would like to start experimenting on it, specially regarding the 64-bit instruction set. I'm well aware of the pros and cons of the 32-bit versus the 64-...
0
votes
1answer
173 views

NXP XTRINSIC-SENSE-BOARD using C

https://www.element14.com/community/thread/37836/l/reverse-engineered-sensorso-with-source https://github.com/larsch/rpi-mems-sensor Hello Everyone :) I have a raspberry V1 and a NXP senseboard, ...
0
votes
2answers
467 views

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

How do you compile a c++ program to use Hard Float registers? It is said in the FAQ section of Raspbian that the following tags are the only ones required when compiling. -march=armv6 -mfpu=vfp -...
2
votes
0answers
484 views

How to compile boost libraries [closed]

I'm trying to compile boost libraries that I need for compiling and installing Ocelot tracker on the Raspberry Pi. I tried with libraries from apt-get but it doesn't work. These are instructions for ...
2
votes
3answers
3k views

How to install seafile client

The seafile-client from https://www.seafile.com/en/download/ it not working, because it is not compiled for arm. How can I install seafile-client for raspberry pi?
1
vote
1answer
1k views

Pi with Arch Linux and OpenCV: errors when running cmake

I have a Pi running a fresh Arch Linux installation and I want to install OpenCV 3, but I am facing an error that I do not have when installing OpenCV on my other computers. I wrote a script that ...
0
votes
0answers
299 views

Compiling Qt 5.4.1 fails for compiling owncloud client

I have compiled Qt 5.41 following the manual I have not seen any problems during the process, and have verified that the LD_LIBRARY_PATH and PATH variables are correct. When try compiling owncloud ...
2
votes
1answer
775 views

ARMv6 optimized x.264 compile fails; any ideas?

I'm using Mencoder on a Raspberry Pi B (1st gen) with modernized raspbian (i.e. the new builds that work on RP2) to make timelapse films. In general it works well, but i wanted to add x264 codec ...
6
votes
3answers
837 views

Installing MongoDB On Raspberry Pi 2

i have been trying for 2 days to get MongoDB installed on my raspberry pi but i am unable to get it to work. i know that the official mongo isn't for for ARM, but there is a fork i found at: https://...
3
votes
1answer
189 views

Compile GCC for Raspberry Pi 2B - Patches required?

I need to compile a modern version of GCC in order to compile CMake in order to compile OpenCV 3.0.0. So I want to compile a modern and stable version of GCC for the Raspberry Pi 2b. I've read this ...
2
votes
1answer
417 views

Error compiling kernel using guide provided on Raspberry Pi website

I'm encountering errors while trying to compile the kernel from source. I've looked around but I'm not finding anything that deals with the error I'm seeing specifically. I am using the guide on the ...
3
votes
1answer
6k views

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

I want to recompile a kernel module/driver on my RPI2 for my RPI2. The command uname -a gives me: Linux cpf 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux Q1) What ...
1
vote
0answers
168 views

How can I compile raspberry2 drivers?

I downloaded raspberry2 drivers from github. When I typed ./buildme I get ./buildme: line 3: arch: command not found ./buildme: line 3: [: armv6l: unary operator expected ./buildme: line 3: arch: ...
3
votes
1answer
2k views

FFmpeg with x264 NEON support

I was wondering if there any FFmpeg binaries that support NEON on the Raspberry Pi 2? Specifically x264 with NEON support compiled into the FFmpeg binary, x264 supports NEON on Android so it should ...
0
votes
1answer
231 views

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

I have compiled source codes some times for some Linux programs, so I was wondering if it could be done too for Raspberry. I have a Raspberry Pi 2 running Ubuntu v14.04.2 LTS. I don't know if the ...
2
votes
1answer
880 views

G++ 4.8 optmization for compile on Raspberry Pi 2

I have installed G++ 4.8 with the C++11 standard. Searching around the internet I found some flags that apparently should decrease compile time considerably. I have ended with this, it compiles fine ...
2
votes
1answer
640 views

si7013 driver install raspberry pi

I bought a Silicon Labs si7013/20/21 usb dongle and now I'm trying to install it onto a raspberry pi 1 running raspbian with kernel 3.18 + I compiled a kernel after adding the drivers to drivers/...
2
votes
1answer
6k views

How to run 2 servos with wiringpi2 on Raspberry pi 2

Hello I want to use 2 servo with different gpio pins. But Raspberry has one hardware pwm (GPIO 18). first of all I tried another pin to run servo and my code: wiringpi.pinMode(18,2) wiringpi....
2
votes
2answers
1k views

How do I compile gcc 5 for my Raspberry Pi 2 [closed]

I have a Raspberry Pi 2. What is the best way to get a functional gcc 5 (from the current trunk) on the Raspberry Pi? Since compiling gcc takes a good two hours on my x86-based computer and probably ...
1
vote
1answer
135 views

Should I provide additional parameters for make on Raspberry Pi2?

I was wondering if make would need extra parameters to make use of the 4 core A7 on the Raspberry Pi 2? I have read that you can specify make -j# at a rate of cores x 1.5 to run parallel jobs within ...