在pcDuino上跑通了 openframeworks

微微的薄雾 发布于 2013/08/09 10:08
阅读 306
收藏 0
http://digitalhacksblog.blogspot.com/2013/06/openframeworks-pcduino.html

After a couple of months of on and off again work building on what was started by bakercp and others I have had some success in gettingopenFrameworks running on the pcDuino

I am able to compile the openFrameworks library, compile openFrameworks programs and run them.

With the steps below you should be able to compile a pcDuino Hello World application similar to the one for the Raspberry Pi.

Setup the pcDuino to use Mali Framebuffer

git clone https://github.com/digitalhack/sunxi-mali.git 
cd sunxi-mali 
git submodule init 
git submodule update 
make config VERSION=r3p0 ABI=armhf EGL_TYPE=framebuffer 
make 
make install 
make test 
stop lightdm 
./test/test

At this point you should see something that looks like this



Setup openFrameworks

git clone https://github.com/digitalhack/RaspberryPi-openFrameworks.git 
cd RaspberryPi-openFrameWorks 
cd scripts 
sudo install_dependancies.sh 
sudo install_codecs.sh 
sudo install_poco_libraries.sh

Compile and run the pcDuino Hello World Program

cd ../apps/devApps/pcDuino_hello_world_gles2 
make PLATFORM_VARIANT=puduino
sudo ./bin/pcDuino_hello_world_gles2

At this point you should see a spinning pcDuino board on a yellow background.


I haven't had time for much testing. Besides the Hello World program I have successfully tested several of the examples. I hope to have some time for more testing over the next couple of days.

转自:http://www.pcduino.org/forum.php?mod=viewthread&tid=209

加载中
返回顶部
顶部