Skip to content

scivm/raspberry-pi-crosscompile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry pi cross compilation

Based on this stack overflow article
http://stackoverflow.com/questions/19162072/installing-raspberry-pi-cross-compiler/19269715#19269715

Test the hello world program first:
cd /opt/rpi/cmake-hello-world
mkdir build
cd build
cmake -D CMAKE_TOOLCHAIN_FILE=$HOME/raspberrypi/pi.cmake ../
make
scp CMakeHelloWorld pi@192.168.1.PI:/home/pi/
ssh pi@192.168.1.PI ./CMakeHelloWorld
Now run the program from your PI

OpenCV example

cd /opt git clone https://github.com/Itseez/opencv cd opencv git checkout 2.4.9 cp /root/build.opencv . ./build.opencv

About

Docker image for rasbperry pi cross compilation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages