i have followed the instructions from the main page but geting this error .
i am still learning soo i haven´t found the problem yet
Makefile.txt
shapedemo.c.txt
pi@raspberrypi:~/openvg/client $ make test gcc -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -I.. -o shapedemo shapedemo.c ../libshapes.o ../oglinit.o -L/opt/vc/lib -lEGL -lGLESv2 -lbcm_host -lpthread -ljpeg -lutil ../libshapes.o: In function loadfont':
libshapes.c:(.text+0x1c0): undefined reference to vgCreatePath' libshapes.c:(.text+0x1e4): undefined reference to vgAppendPathData'
../libshapes.o: In function unloadfont': libshapes.c:(.text+0x27c): undefined reference to vgDestroyPath'
../libshapes.o: In function createImageFromJpeg': libshapes.c:(.text+0x3e8): undefined reference to vgCreateImage'
libshapes.c:(.text+0x410): undefined reference to vgImageSubData' ../libshapes.o: In function makeimage':
libshapes.c:(.text+0x490): undefined reference to vgCreateImage' libshapes.c:(.text+0x4b8): undefined reference to vgImageSubData'
libshapes.c:(.text+0x4d8): undefined reference to vgSetPixels' libshapes.c:(.text+0x4ec): undefined reference to vgDestroyImage'
../libshapes.o: In function Image': libshapes.c:(.text+0x538): undefined reference to vgSetPixels'
libshapes.c:(.text+0x54c): undefined reference to vgDestroyImage' ../libshapes.o: In function dumpscreen':
libshapes.c:(.text+0x58c): undefined reference to vgReadPixels' ../libshapes.o: In function Translate':
libshapes.c:(.text+0x904): undefined reference to vgTranslate' ../libshapes.o: In function Rotate':
libshapes.c:(.text+0x908): undefined reference to vgRotate' ../libshapes.o: In function Shear':
libshapes.c:(.text+0x90c): undefined reference to vgShear' ../libshapes.o: In function Scale':
libshapes.c:(.text+0x910): undefined reference to vgScale' ../libshapes.o: In function setfill':
libshapes.c:(.text+0x91c): undefined reference to vgCreatePaint' libshapes.c:(.text+0x92c): undefined reference to vgSetParameteri'
libshapes.c:(.text+0x940): undefined reference to vgSetParameterfv' libshapes.c:(.text+0x94c): undefined reference to vgSetPaint'
libshapes.c:(.text+0x958): undefined reference to vgDestroyPaint' ../libshapes.o: In function setstroke':
libshapes.c:(.text+0x968): undefined reference to vgCreatePaint' libshapes.c:(.text+0x978): undefined reference to vgSetParameteri'
libshapes.c:(.text+0x98c): undefined reference to vgSetParameterfv' libshapes.c:(.text+0x998): undefined reference to vgSetPaint'
libshapes.c:(.text+0x9a4): undefined reference to vgDestroyPaint' ../libshapes.o: In function StrokeWidth':
libshapes.c:(.text+0x9b4): undefined reference to vgSetf' libshapes.c:(.text+0x9c0): undefined reference to vgSeti'
libshapes.c:(.text+0x9d0): undefined reference to vgSeti' ../libshapes.o: In function setstop':
libshapes.c:(.text+0xad0): undefined reference to vgSetParameteri' libshapes.c:(.text+0xae0): undefined reference to vgSetParameteri'
libshapes.c:(.text+0xaf4): undefined reference to vgSetParameterfv' libshapes.c:(.text+0xb04): undefined reference to vgSetPaint'
../libshapes.o: In function FillLinearGradient': libshapes.c:(.text+0xb38): undefined reference to vgCreatePaint'
libshapes.c:(.text+0xb48): undefined reference to vgSetParameteri' libshapes.c:(.text+0xb5c): undefined reference to vgSetParameterfv'
libshapes.c:(.text+0xb74): undefined reference to vgDestroyPaint' ../libshapes.o: In function FillRadialGradient':
libshapes.c:(.text+0xbac): undefined reference to vgCreatePaint' libshapes.c:(.text+0xbbc): undefined reference to vgSetParameteri'
libshapes.c:(.text+0xbd0): undefined reference to vgSetParameterfv' libshapes.c:(.text+0xbe8): undefined reference to vgDestroyPaint'
../libshapes.o: In function ClipRect': libshapes.c:(.text+0xc1c): undefined reference to vgSeti'
libshapes.c:(.text+0xc3c): undefined reference to vgSetiv' ../libshapes.o: In function ClipEnd':
libshapes.c:(.text+0xc58): undefined reference to vgSeti' ../libshapes.o: In function Text':
libshapes.c:(.text+0xd54): undefined reference to vgGetMatrix' libshapes.c:(.text+0xdc0): undefined reference to vgLoadMatrix'
libshapes.c:(.text+0xdc8): undefined reference to vgMultMatrix' libshapes.c:(.text+0xdd8): undefined reference to vgDrawPath'
libshapes.c:(.text+0xdf8): undefined reference to vgLoadMatrix' ../libshapes.o: In function newpath':
libshapes.c:(.text+0x10a4): undefined reference to vgCreatePath' ../libshapes.o: In function makecurve':
libshapes.c:(.text+0x10dc): undefined reference to vgAppendPathData' libshapes.c:(.text+0x10e8): undefined reference to vgDrawPath'
libshapes.c:(.text+0x10f4): undefined reference to vgDestroyPath' ../libshapes.o: In function poly':
libshapes.c:(.text+0x1224): undefined reference to vguPolygon' libshapes.c:(.text+0x1230): undefined reference to vgDrawPath'
libshapes.c:(.text+0x1238): undefined reference to vgDestroyPath' ../libshapes.o: In function Rect':
libshapes.c:(.text+0x1284): undefined reference to vguRect' libshapes.c:(.text+0x1290): undefined reference to vgDrawPath'
libshapes.c:(.text+0x12a0): undefined reference to vgDestroyPath' ../libshapes.o: In function Line':
libshapes.c:(.text+0x12d4): undefined reference to vguLine' libshapes.c:(.text+0x12e0): undefined reference to vgDrawPath'
libshapes.c:(.text+0x12f0): undefined reference to vgDestroyPath' ../libshapes.o: In function Roundrect':
libshapes.c:(.text+0x1334): undefined reference to vguRoundRect' libshapes.c:(.text+0x1340): undefined reference to vgDrawPath'
libshapes.c:(.text+0x1350): undefined reference to vgDestroyPath' ../libshapes.o: In function Ellipse':
libshapes.c:(.text+0x1384): undefined reference to vguEllipse' libshapes.c:(.text+0x1390): undefined reference to vgDrawPath'
libshapes.c:(.text+0x13a0): undefined reference to vgDestroyPath' ../libshapes.o: In function Arc':
libshapes.c:(.text+0x13f0): undefined reference to vguArc' libshapes.c:(.text+0x13fc): undefined reference to vgDrawPath'
libshapes.c:(.text+0x140c): undefined reference to vgDestroyPath' ../libshapes.o: In function Start':
libshapes.c:(.text+0x1448): undefined reference to vgSetfv' libshapes.c:(.text+0x145c): undefined reference to vgClear'
libshapes.c:(.text+0x1484): undefined reference to vgLoadIdentity' ../libshapes.o: In function End':
libshapes.c:(.text+0x14a4): undefined reference to vgGetError' ../libshapes.o: In function SaveEnd':
libshapes.c:(.text+0x154c): undefined reference to vgGetError' ../libshapes.o: In function Background':
libshapes.c:(.text+0x1688): undefined reference to vgSetfv' libshapes.c:(.text+0x16a4): undefined reference to vgClear'
../libshapes.o: In function BackgroundRGB': libshapes.c:(.text+0x16d4): undefined reference to vgSetfv'
libshapes.c:(.text+0x16f0): undefined reference to vgClear' ../libshapes.o: In function WindowClear':
libshapes.c:(.text+0x171c): undefined reference to vgClear' ../libshapes.o: In function AreaClear':
libshapes.c:(.text+0x1724): undefined reference to vgClear' ../libshapes.o: In function RectOutline':
libshapes.c:(.text+0x1834): undefined reference to vguRect' libshapes.c:(.text+0x1840): undefined reference to vgDrawPath'
libshapes.c:(.text+0x1850): undefined reference to vgDestroyPath' ../libshapes.o: In function RoundrectOutline':
libshapes.c:(.text+0x1894): undefined reference to vguRoundRect' libshapes.c:(.text+0x18a0): undefined reference to vgDrawPath'
libshapes.c:(.text+0x18b0): undefined reference to vgDestroyPath' ../libshapes.o: In function EllipseOutline':
libshapes.c:(.text+0x18e4): undefined reference to vguEllipse' libshapes.c:(.text+0x18f0): undefined reference to vgDrawPath'
libshapes.c:(.text+0x1900): undefined reference to vgDestroyPath' ../libshapes.o: In function ArcOutline':
libshapes.c:(.text+0x1950): undefined reference to vguArc' libshapes.c:(.text+0x195c): undefined reference to vgDrawPath'
libshapes.c:(.text+0x196c): undefined reference to vgDestroyPath' collect2: error: ld returned 1 exit status Makefile:7: receptet för målet ”shapedemo” misslyckades ( recip for target "shapedemo" failed. ) make: *** [shapedemo] error 1 pi@raspberrypi:~/openvg/client $
i have followed the instructions from the main page but geting this error .
i am still learning soo i haven´t found the problem yet
Makefile.txt
shapedemo.c.txt
pi@raspberrypi:~/openvg/client $ make test gcc -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -I.. -o shapedemo shapedemo.c ../libshapes.o ../oglinit.o -L/opt/vc/lib -lEGL -lGLESv2 -lbcm_host -lpthread -ljpeg -lutil ../libshapes.o: In functionloadfont':libshapes.c:(.text+0x1c0): undefined reference to
vgCreatePath' libshapes.c:(.text+0x1e4): undefined reference tovgAppendPathData'../libshapes.o: In function
unloadfont': libshapes.c:(.text+0x27c): undefined reference tovgDestroyPath'../libshapes.o: In function
createImageFromJpeg': libshapes.c:(.text+0x3e8): undefined reference tovgCreateImage'libshapes.c:(.text+0x410): undefined reference to
vgImageSubData' ../libshapes.o: In functionmakeimage':libshapes.c:(.text+0x490): undefined reference to
vgCreateImage' libshapes.c:(.text+0x4b8): undefined reference tovgImageSubData'libshapes.c:(.text+0x4d8): undefined reference to
vgSetPixels' libshapes.c:(.text+0x4ec): undefined reference tovgDestroyImage'../libshapes.o: In function
Image': libshapes.c:(.text+0x538): undefined reference tovgSetPixels'libshapes.c:(.text+0x54c): undefined reference to
vgDestroyImage' ../libshapes.o: In functiondumpscreen':libshapes.c:(.text+0x58c): undefined reference to
vgReadPixels' ../libshapes.o: In functionTranslate':libshapes.c:(.text+0x904): undefined reference to
vgTranslate' ../libshapes.o: In functionRotate':libshapes.c:(.text+0x908): undefined reference to
vgRotate' ../libshapes.o: In functionShear':libshapes.c:(.text+0x90c): undefined reference to
vgShear' ../libshapes.o: In functionScale':libshapes.c:(.text+0x910): undefined reference to
vgScale' ../libshapes.o: In functionsetfill':libshapes.c:(.text+0x91c): undefined reference to
vgCreatePaint' libshapes.c:(.text+0x92c): undefined reference tovgSetParameteri'libshapes.c:(.text+0x940): undefined reference to
vgSetParameterfv' libshapes.c:(.text+0x94c): undefined reference tovgSetPaint'libshapes.c:(.text+0x958): undefined reference to
vgDestroyPaint' ../libshapes.o: In functionsetstroke':libshapes.c:(.text+0x968): undefined reference to
vgCreatePaint' libshapes.c:(.text+0x978): undefined reference tovgSetParameteri'libshapes.c:(.text+0x98c): undefined reference to
vgSetParameterfv' libshapes.c:(.text+0x998): undefined reference tovgSetPaint'libshapes.c:(.text+0x9a4): undefined reference to
vgDestroyPaint' ../libshapes.o: In functionStrokeWidth':libshapes.c:(.text+0x9b4): undefined reference to
vgSetf' libshapes.c:(.text+0x9c0): undefined reference tovgSeti'libshapes.c:(.text+0x9d0): undefined reference to
vgSeti' ../libshapes.o: In functionsetstop':libshapes.c:(.text+0xad0): undefined reference to
vgSetParameteri' libshapes.c:(.text+0xae0): undefined reference tovgSetParameteri'libshapes.c:(.text+0xaf4): undefined reference to
vgSetParameterfv' libshapes.c:(.text+0xb04): undefined reference tovgSetPaint'../libshapes.o: In function
FillLinearGradient': libshapes.c:(.text+0xb38): undefined reference tovgCreatePaint'libshapes.c:(.text+0xb48): undefined reference to
vgSetParameteri' libshapes.c:(.text+0xb5c): undefined reference tovgSetParameterfv'libshapes.c:(.text+0xb74): undefined reference to
vgDestroyPaint' ../libshapes.o: In functionFillRadialGradient':libshapes.c:(.text+0xbac): undefined reference to
vgCreatePaint' libshapes.c:(.text+0xbbc): undefined reference tovgSetParameteri'libshapes.c:(.text+0xbd0): undefined reference to
vgSetParameterfv' libshapes.c:(.text+0xbe8): undefined reference tovgDestroyPaint'../libshapes.o: In function
ClipRect': libshapes.c:(.text+0xc1c): undefined reference tovgSeti'libshapes.c:(.text+0xc3c): undefined reference to
vgSetiv' ../libshapes.o: In functionClipEnd':libshapes.c:(.text+0xc58): undefined reference to
vgSeti' ../libshapes.o: In functionText':libshapes.c:(.text+0xd54): undefined reference to
vgGetMatrix' libshapes.c:(.text+0xdc0): undefined reference tovgLoadMatrix'libshapes.c:(.text+0xdc8): undefined reference to
vgMultMatrix' libshapes.c:(.text+0xdd8): undefined reference tovgDrawPath'libshapes.c:(.text+0xdf8): undefined reference to
vgLoadMatrix' ../libshapes.o: In functionnewpath':libshapes.c:(.text+0x10a4): undefined reference to
vgCreatePath' ../libshapes.o: In functionmakecurve':libshapes.c:(.text+0x10dc): undefined reference to
vgAppendPathData' libshapes.c:(.text+0x10e8): undefined reference tovgDrawPath'libshapes.c:(.text+0x10f4): undefined reference to
vgDestroyPath' ../libshapes.o: In functionpoly':libshapes.c:(.text+0x1224): undefined reference to
vguPolygon' libshapes.c:(.text+0x1230): undefined reference tovgDrawPath'libshapes.c:(.text+0x1238): undefined reference to
vgDestroyPath' ../libshapes.o: In functionRect':libshapes.c:(.text+0x1284): undefined reference to
vguRect' libshapes.c:(.text+0x1290): undefined reference tovgDrawPath'libshapes.c:(.text+0x12a0): undefined reference to
vgDestroyPath' ../libshapes.o: In functionLine':libshapes.c:(.text+0x12d4): undefined reference to
vguLine' libshapes.c:(.text+0x12e0): undefined reference tovgDrawPath'libshapes.c:(.text+0x12f0): undefined reference to
vgDestroyPath' ../libshapes.o: In functionRoundrect':libshapes.c:(.text+0x1334): undefined reference to
vguRoundRect' libshapes.c:(.text+0x1340): undefined reference tovgDrawPath'libshapes.c:(.text+0x1350): undefined reference to
vgDestroyPath' ../libshapes.o: In functionEllipse':libshapes.c:(.text+0x1384): undefined reference to
vguEllipse' libshapes.c:(.text+0x1390): undefined reference tovgDrawPath'libshapes.c:(.text+0x13a0): undefined reference to
vgDestroyPath' ../libshapes.o: In functionArc':libshapes.c:(.text+0x13f0): undefined reference to
vguArc' libshapes.c:(.text+0x13fc): undefined reference tovgDrawPath'libshapes.c:(.text+0x140c): undefined reference to
vgDestroyPath' ../libshapes.o: In functionStart':libshapes.c:(.text+0x1448): undefined reference to
vgSetfv' libshapes.c:(.text+0x145c): undefined reference tovgClear'libshapes.c:(.text+0x1484): undefined reference to
vgLoadIdentity' ../libshapes.o: In functionEnd':libshapes.c:(.text+0x14a4): undefined reference to
vgGetError' ../libshapes.o: In functionSaveEnd':libshapes.c:(.text+0x154c): undefined reference to
vgGetError' ../libshapes.o: In functionBackground':libshapes.c:(.text+0x1688): undefined reference to
vgSetfv' libshapes.c:(.text+0x16a4): undefined reference tovgClear'../libshapes.o: In function
BackgroundRGB': libshapes.c:(.text+0x16d4): undefined reference tovgSetfv'libshapes.c:(.text+0x16f0): undefined reference to
vgClear' ../libshapes.o: In functionWindowClear':libshapes.c:(.text+0x171c): undefined reference to
vgClear' ../libshapes.o: In functionAreaClear':libshapes.c:(.text+0x1724): undefined reference to
vgClear' ../libshapes.o: In functionRectOutline':libshapes.c:(.text+0x1834): undefined reference to
vguRect' libshapes.c:(.text+0x1840): undefined reference tovgDrawPath'libshapes.c:(.text+0x1850): undefined reference to
vgDestroyPath' ../libshapes.o: In functionRoundrectOutline':libshapes.c:(.text+0x1894): undefined reference to
vguRoundRect' libshapes.c:(.text+0x18a0): undefined reference tovgDrawPath'libshapes.c:(.text+0x18b0): undefined reference to
vgDestroyPath' ../libshapes.o: In functionEllipseOutline':libshapes.c:(.text+0x18e4): undefined reference to
vguEllipse' libshapes.c:(.text+0x18f0): undefined reference tovgDrawPath'libshapes.c:(.text+0x1900): undefined reference to
vgDestroyPath' ../libshapes.o: In functionArcOutline':libshapes.c:(.text+0x1950): undefined reference to
vguArc' libshapes.c:(.text+0x195c): undefined reference tovgDrawPath'libshapes.c:(.text+0x196c): undefined reference to
vgDestroyPath' collect2: error: ld returned 1 exit status Makefile:7: receptet för målet ”shapedemo” misslyckades ( recip for target "shapedemo" failed. ) make: *** [shapedemo] error 1 pi@raspberrypi:~/openvg/client $