Changes

Jump to: navigation, search

Raspberry Pi

1,008 bytes added, 23:49, 26 April 2013
no edit summary
./client</nowiki>
If you've done everything successfully, you should see a variety of sample output from the running <code>server</code> program.
 
=Graphics=
==OpenGL==
Using OpenGL on the Raspberry Pi appears to be pretty idiosyncratic. For instance, see https://benosteen.wordpress.com/2012/04/27/using-opengl-es-2-0-on-the-raspberry-pi-without-x-windows/. Don't be misled by what is described on that webpage. While correct, far simpler example projects exist on the Raspberry Pi at /opt/vc/src/hello_pi. These are very useful! Read the README there, and get cracking. To get started, you can build every project by running:
<nowiki>
sh rebuild.sh</nowiki>
If you would only like to build a subset of the projects, first <code>cd</code> to <code>/opt/vc/src/hello_pi/libs</code>, and build each library included there. Specifically:
<nowiki>
cd /opt/vc/src/hello_pi/libs/ilcient && make
cd ../vgfont && make</nowiki>
After these libraries are built, you can then <code>cd</code> to each example project, <code>make</code>, and run the resultant binary file. Please note that these instructions are repeated in the included <code>README</code> file.
=Hardware Peripherals=
3
edits

Navigation menu