Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi ~ $ git clone git://github.com/ajstarks/openvg
- pi@raspberrypi ~ $ cd openvg
- pi@raspberrypi ~/openvg $ make
- g++ -I/usr/include/freetype2 fontutil/font2openvg.cpp -o font2openvg -lfreetype
- ./font2openvg /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf DejaVuSans.inc DejaVuSans
- 224 glyphs written
- ./font2openvg /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf DejaVuSansMono.inc DejaVuSansMono
- 224 glyphs written
- ./font2openvg /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf DejaVuSerif.inc DejaVuSerif
- 224 glyphs written
- gcc -O2 -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -c libshapes.c
- gcc -O2 -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -c oglinit.c
- pi@raspberrypi ~/openvg/client $ cd client
- pi@raspberrypi ~/openvg/client $ make test
- cc -Wall -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -o shapedemo shapedemo.c ../libshapes.o ../oglinit.o -L/opt/vc/lib -lGLESv2 -ljpeg
- ./shapedemo demo 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement