I am trying to get this working on a new build of the pidp8i.
I am sure I am missing a detail somewhere but I can't get the make to work for sw2.
root@pidp8i:~# cd /openvg/client/
root@pidp8i:/openvg/client# ls
clip.c desert1.jpg desert3.jpg desert5.jpg desert7.jpg hellovg.c Makefile.bak particles.c shapedemo starx.jpg
desert0.jpg desert2.jpg desert4.jpg desert6.jpg desert8.jpg Makefile mouse-hellovg.c screensize.c shapedemo.c sw2.c
root@pidp8i:/openvg/client# make sw2
gcc -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -I.. -o sw2 sw2.c ../libshapes.o ../oglinit.o -L/opt/vc/lib -lEGL -lGLESv2 -lbcm_host -lpthread -ljpeg
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
Makefile:17: recipe for target 'sw2' failed
make: *** [sw2] Error 1
Any advice would be appreciated.