Sunday, October 15, 2017





+ you need to have rootfs of RPI on host, openg es framework on RPI rootfs /opt/vc/lib folder
+ source code get from here
   - change SDKSTAGE in Makefile to your RPI'rootfs
+ build app as bellow

#source build environment
TOOLCHAIN_DIR=/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64
export PATH=$PATH:${TOOLCHAIN_DIR}/bin

#build
make

#copy to boar via scp command on host
scp -r your_opengles_app_on_host pi@192.168.1.3:/home/pi/

#terminal on RPI
export LD_LIBRARY_PATH=/opt/vc/lib
run_your_opengles_app



Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Lập trình hệ thống nhúng Linux . Powered by Luong Duy Ninh -