Questions on how to compile software for the Raspberry Pi using other devices.

learn more… | top users | synonyms

0
votes
1answer
19 views

Cross compiler gcc on rasbian

Is it possible to install cross compiler on rasbian? I mean arm-linux-gcc. I would like to try compile cross platform project on rasbian insted of on virtual machine with ubuntu.
1
vote
0answers
23 views

Docker image to cross compile node modules for RPI?

I am wondering if anyone knows a way(preferably docker container) to use a Linux Machine, to cross compile a nodejs application, with native modules, such as serialport and run it on a RPI? Thanks
4
votes
2answers
291 views

Which toolchain for Raspberry Pi 3 and Qt5

Which is the recommended toolchain to cross-compile Qt5.6 for Raspberry Pi 3? I tried official tools: https://github.com/raspberrypi/tools but it seems they don't support the architecture and flag ...
4
votes
0answers
66 views

What's causing these crashes after cross-compiling?

I'm trying to cross-compile a large library (TensorFlow) using gcc on Ubuntu. I've installed the g++-arm-linux-gnueabihf toolchain, and was able to successfully build my binary. The process I'm using ...
0
votes
0answers
50 views

How to compile windows qt for raspberry pi 2?

there. I am the beginner of Raspberry Pi. I am trying to cross-compile qt 5.5 for raspberry pi 2 under windows 8 and I have been following this tutorial "http://visualgdb.com/tutorials/raspberry/...
1
vote
1answer
51 views

wiringPi and crosstool-ng

I have a Problem using wiringPi with crosstool-ng. First I got this Error: libwiringPi.so: file not recognized: File format not recognized I think the problem might be that ./build will not use ...
0
votes
1answer
91 views

Is it possible to fix the “cannot find -lgcc” and “cannot find -lgcc_s” error messages when using arm-linux-gnueabihf-g++ as a linker?

I get the following error messages: ./Downloads/tmp/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux‌​-gnueabihf/bin/ld: cannot find -lgcc_s and Downloads/tmp/usr/bin/../lib/gcc/arm-...
0
votes
1answer
133 views

When I compile with arm-linux-gnueabihf-g++ version 4.7, I get error while loading shared libraries: libstdc++.so.6

When I compile with ./gcc-arm-linux-gnueabihf-4.7-master/bin/arm-linux-gnueabihf-g++ -c Steph.cpp on an Ubuntu Linux 16.04 machine which already has gcc 5.3.1 installed: I get the error while loading ...
0
votes
1answer
39 views

undefined reference to QCamera constructor

I'm writing a simple camera project for Raspberry Pi, via cross compiler visual studio. step 1: I created a qt project using visual studio step 2: coding for project When coding for project, I ...
0
votes
0answers
63 views

Difference between official toolchains

The official Github repository provides 5 different toolchains: arm-bcm2708-linux-gnueabi arm-bcm2708hardfp-linux-gnueabi arm-rpi-4.9.3-linux-gnueabihf gcc-linaro-arm-linux-gnueabihf-raspbian-x64 ...
0
votes
1answer
77 views

execute cpp code written with visual studio on the Raspberry Pi 2

I am new to the Raspberry Pi and opencv lib, I have spent some time learning opencv up until I finished my first program written in c++ . Now I want to compile and execute the same c++ file on the Pi ...
0
votes
1answer
61 views

Cross compiling crosscompiller for rasperry pi (it's correct!)

I want to build programs with distcc on rasperry pi for my desktop (x86-64). My idea: Build crossdev-ng on my desktop. Build crosscompiller on my desktop to run on desktop and generate code for Pi. ...
0
votes
0answers
29 views

linaro cross compiler problem

I am trying to cross compile kernel for raspbian (on ubuntu hosting machine). 1- I followed steps in this link here 2- downloaded linaro cross compiler from github here 3- defined path of these ...
0
votes
3answers
38 views

Unable to Compile and Run Object Files on an RPi

I have a binary file that shows [URL] [port number] when I run it on Linux. I want the same thing to happen in the Pi, but instead I get cannot execute binary file Is there anything I could do ...
0
votes
1answer
205 views

Cross Compile Error Using arm-linux-gnueabihf-gcc

I am trying to cross compile a C binary from Ubuntu Trusty Tahr x64 to Arch Linux ARM on my Raspberry Pi Zero. Here is my hello-world.c code: #include <stdio.h> int main(int argc, char *argv[]...
0
votes
0answers
24 views

Embedded Xinu for RPi

I have completed with setting up the cross compiler but stuck with the compiling part. I have build all the gnu binutils and the gcc successfully in the directory: /home/admin/xinu/opt. But while ...
0
votes
0answers
26 views

Building Xinu for RPi

I am trying to build xinu for Raspberry Pi, all the details are given on the mentioned site: http://embedded-xinu.readthedocs.org/en/latest/Getting-Started.html#setting-up-a-cross-compiler I have ...
0
votes
0answers
148 views

ssh: connect to host pi adress port 22: Connection refused

i'm having some trouble when trying to connect to my raspberry b+. i have used buildroot and add dropBear package for SSH . I gave the pi a static adress 10.42.0.5 and it's detected correctly in my ...
3
votes
1answer
70 views

Cross compile kernel error

While compiling rt kernel following this http://www.frank-durr.de/?p=203 I got that error
2
votes
1answer
405 views

Failed to cross compile Qt 5.6 on RPi 2 (fatal error: bcm_host.h: No such file or directory)

I tried to cross compile Qt 5.6 for RPi 2 by following the tutorial RaspberryPi2EGLFS, but I got this error: qeglfsbrcmintegration.cpp:35:22: fatal error: bcm_host.h: No such file or directory #...
5
votes
1answer
1k views

Problem with QinHeng CH9200 driver - Pi 2 (4.1.7-v7+)

English is not my native language so please be patient. I'm using a Rasp and the Ethernet port is already taken, so we bought a USB2.0 to Fast Ethernet Adapter, like this one: https://www....
3
votes
3answers
803 views

How to build My own OS for the raspberry or configure an existing one

I'm using Raspbian with raspberry pi 2 ... But i want to customize it and remove some features that i don't really need , to take advantages on the performance and also to understand the procedure of ...
1
vote
1answer
386 views

Cross-Compiling kernel can't find gcc

I am cross compiling the Raspbian kernel since it will take about 12 hours for the Pi to do (Raspberry Pi 1). I have the build tools for ARM and the kernel in two separate folders in /home/gray/...
2
votes
0answers
185 views

Which gcc compilation flags should use for RPi1 model B ? what is the ABI, architecture and CPU?

I want compile some binaries for RPi model B (revision 2.0) 512MB , I got installed arm-linux-gnueabi-gcc on Fedora 23 dnf copr enable lantw44/arm-linux-gnueabi-toolchain dnf install arm-linux-...
1
vote
2answers
59 views

Cross compiling Java application using different APIs to access device's peripherals

I want to start developing an embedded application in the near future using Java and Eclipse IDE (On a desktop computer), the problem is that, I know regular Java application will work on Raspberry ...
0
votes
1answer
1k views

How to install a cross compiler for Raspi 2

I went through hell installing a cross compiler on Ubuntu for my Raspi. Now, I have Raspi2's and I am I am going through it again. Could someone provide instructions here for myself and others who are ...
1
vote
1answer
344 views

What toolchain to use? Any real difference?

I'm starting with buildroot for my Raspberry PI 2 project. I've came to part where I need to select toolchain that will build whole project. I have two main options: use buildroot to build my own ...
3
votes
1answer
3k 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
1answer
2k views

fatal error: bcm_host.h: No such file or directory compilation terminated

I am trying to build Qt5 for the RPi board. The compilation worked fine, but I seem to be having problem with the install step. I get the following error: fatal error: bcm_host.h: No such file or ...
5
votes
1answer
536 views

Cross-compile x86-64 code on Raspberry Pi 2

I'm doing experiments regarding compilation of the Linux kernel on various platforms, but mainly on the RPi and on x86-64 machines. There's no shortage to the links on Google describing how to compile ...
0
votes
0answers
32 views

Cross Compilation Delay in Live Streaming

I have designed a Glade file and written codes in Gtk2, C language in Ubuntu(local host) to play live streaming of cameras, I cross compiled with the Raspberry Pi(remote host)...everything went fine, ...
0
votes
1answer
648 views

cross compiling fails. no rule to make module install

I am trying to cross compile a Linux kernel for my Raspberry Pi. following this tutorial. I am trying to run this command: make modules_install ARCH=arm \ CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-...
1
vote
2answers
761 views

Install older kernel (3.6.11+) on Raspberry Pi 2

Somewhere in the upgrade from the 3.6.11+ kernel to the 3.10 kernel, the ability to receive video through a USB capture card broke (capture card is based on the stk1160 chipset). It is documented in ...
0
votes
0answers
9 views

How to cross building packages for Raspberry Pi [duplicate]

I need to compile Gstreamer for Raspberry Pi. I know I can install gstreamer1.0 with apt-get but It seem there is a bug with the gst-plugins-bad version in the repository. because it take a long time ...
1
vote
0answers
145 views

Error is raised when I compile simple driver module on Pi itself with a corss-compiled Kernel

I cross-compiled a new Kernel(3.18.10) on Debian Jessie amd64 for RPi2. Later, when I compile a simple Hello-World module with this kernel, however, an error is raised: make -C /lib/modules/3.18.10-...
1
vote
1answer
592 views

How to install a cross-compiler for the Pi on OSX

I recently started the course from Cambridge University on writing your own OS, but i´m having some trouble. Here is my question: I have tried to install the yagarto tool, but i didnt succed. I ...
2
votes
1answer
266 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/...
1
vote
1answer
264 views

Raspberry Pi kernel image installation on new SD Card (no pre installed Raspbian or NOOBS in it - it's free with no partions)

I have been working on kernel compilation of Raspberry Pi on Ubuntu using a cross compiler. I have compiled the kernel, and I got the image file generated (https://www.raspberrypi.org/documentation/...
1
vote
2answers
2k views

Cross-compiling to Raspbian

I have Raspbian Jessie installed on my Raspberry PI, and I have a virtual box with a fresh install of Debian Jessie for amd64 with the armhf architecture enabled, and with the ARM cross toolchain from ...
1
vote
0answers
388 views

Syntax error: word unexpected when compiling for Raspberry Pi 2

I'm running the latest Raspbian from the Raspberry Pi website. I tried to compile this wireless driver from https://github.com/gnab/rtl8812au that supports Raspberry PI but I run into the following ...
0
votes
1answer
183 views

Problem with Crosscompiling (std, string) for RaspberryPi from Ubuntu

I'm using Ubuntu and arm-none-eabi to crosscompile some baremetal programs for the Raspberry Pi, my problem now is, that this: char ch[32]; const char doubleout[] = "double received: "; std::...
0
votes
0answers
133 views

Get libstdc++5 on Raspbian

I'm trying to get a semi-old printer driver (lexmark z600) from ubuntu working on my Raspberry Pi. When I extract the .deb file and poke around in control it looks like it's marked Architecture: all, ...
1
vote
2answers
3k views

Cross-compiling with Windows using Eclipse

I have started to read a book with Rpi Hacks in which I want to build the kernel. Unfotunately everywhere I search there are crosscompilers for linux only. I want to use Eclipse and rsync executable ...
1
vote
1answer
100 views

How to use headerfile from diffrent libraries in same code

In raspberry pi , we got two famous libraries (a) bcm2835 and (b)wiringpi. So,I want to use some header files from library bcm2835 and some from wiringpi in a same code. Is it possible to do so. If so,...
0
votes
1answer
4k views

Drivers for dwa-171 wifi usb dongle

I'm having trouble to compile and use drivers for dwa-171 wifi usb. I have tried a lot of things but currently i'm unable to load module. Recap of what i have done so far: Getting kernel sources: ...
0
votes
1answer
265 views

Is it possible to use Haskell on Arch Linux ARM?

There isn't a ghc package for armv6, which is what the pi uses. It does not need to be able to compile on the pi, just run on it.
1
vote
0answers
259 views

Raspberry Pi + Qt4 + Opencv cross compile from windows

Hi I want to know how to use opencv in raspberry pi. I have cross compiled qt raspberry from windows and succeed but I cannot add library opencv.
2
votes
1answer
2k views

Cross Compiling Protobuf for Raspberry Pi

I'm trying to cross compile google Protocol buffers for the Raspberry Pi, so I can cross compile my own software. I've installed protobuf-2.6.0 to the directory ~/ExternalLibs/protobuf-2.6.0, where I ...
0
votes
1answer
384 views

PJSIP cross compilation linker error unresolvable relocation

I'm trying to write a very small, very simple project using PJSIP. But I'm already stuck on the first step, incorporating PJSIP in my project. I'm trying to build and compile on a Ubuntu 14.04 system ...
1
vote
1answer
1k views

How to setup eclipse CDT to cross compile the kernel for the Raspberry Pi

How do I setup eclipse CDT to cross compile the kernel for the Raspberry Pi? Is it as simple as File -> New -> Makefile Project with Existing Code? What else has to be considered?