[PD] compiling pd-extended on arch linux
James Dunn
james at 4thharmonic.com
Wed Jul 7 18:56:12 CEST 2010
Ok I added it to src/Pixes/videoV4L2.h and it compiles.
I did make package too, and that worked. Then I extracted the archive
and tried to install it but it complained that it couldn't find
iemlib/-help.pd and iemlib/parent-help.pd so I created empty files with
those names in the iemlib folder and it installed.
I've now added all the libraries to .pdextended but there are no objects
in the Gem library! Excluding the help files, this is the contents of
/usr/lib/pd-extended/extra/Gem:
gemdefaultwindow.pd
gemhead.pd
gemmouse.pd
gemorb.pd
Gem.pd_linux
gemtablet.pd
gemwin.pd
hsv2rgb.pd
pix_blobtracker.pd
pix_buffer_filmopen.pd
pix_write.pd
rgb2hsv.pd
rgb2yuv.pd
yuv2rgb.pd
So I can create [gemwin], [gemorb], [gemmouse] etc.. but most of the
objects are missing.
Also, [gemwin] has the following error in the console, so something is
definitely still really wrong:
gemglutwindow
... couldn't create
expr, expr~, fexpr~ version 0.4 under GNU General Public License
GLdefine GL_LINEAR
... couldn't create
GLdefine GL_EXP
... couldn't create
GLdefine GL_EXP2
... couldn't create
GLdefine GL_COLOR_BUFFER_BIT
... couldn't create
GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
GLdefine GL_STENCIL_BUFFER_BIT
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglMatrixMode GL_PROJECTION
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMglFrustum -1 1 -1 1 1 20
... couldn't create
GEMglViewport 0 0 500 500
... couldn't create
GEMglDisable GL_FOG
... couldn't create
GEMglEnable GL_FOG
... couldn't create
GEMglFogf
... couldn't create
GLdefine GL_FOG_DENSITY
... couldn't create
GEMglFogf
... couldn't create
GLdefine GL_FOG_MODE
... couldn't create
GEMglFogf
... couldn't create
GLdefine GL_FOG_START
... couldn't create
GEMglFogf
... couldn't create
GLdefine GL_FOG_END
... couldn't create
GEMglFogfv
... couldn't create
GLdefine GL_FOG_COLOR
... couldn't create
GEMglDisable GL_COLOR_MATERIAL
... couldn't create
GEMglDisable GL_AUTO_NORMAL
... couldn't create
GEMglDisable GL_NORMALIZE
... couldn't create
GEMglShadeModel GL_FLAT
... couldn't create
GEMglLightModeli
... couldn't create
GLdefine GL_LIGHT_MODEL_TWO_SIDE
... couldn't create
GLdefine GL_FALSE
... couldn't create
GEMglLightModeli
... couldn't create
GLdefine GL_LIGHT_MODEL_TWO_SIDE
... couldn't create
GLdefine GL_TRUE
... couldn't create
GEMglEnable GL_LIGHTING
... couldn't create
GEMglEnable GL_COLOR_MATERIAL
... couldn't create
GEMglEnable GL_AUTO_NORMAL
... couldn't create
GEMglEnable GL_NORMALIZE
... couldn't create
GEMglShadeModel GL_SMOOTH
... couldn't create
GEMglMaterialfv GL_FRONT_AND_BACK GL_AMBIENT 0.1 0.1 0.1 1
... couldn't create
GEMglMaterialfv GL_FRONT_AND_BACK GL_SPECULAR 1 1 1 1
... couldn't create
GEMglMaterialfv GL_FRONT_AND_BACK GL_SHININESS 100
... couldn't create
GEMglDisable GL_LIGHTING
... couldn't create
GEMglClearColor
... couldn't create
GEMglClear 17664
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglDisable GL_LIGHTING
... couldn't create
GEMglViewport 0 0 500 500
... couldn't create
GEMglMatrixMode GL_PROJECTION
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglFrustum -1 1 -1 1 1 20
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLineWidth 2
... couldn't create
GEMglColor3f 1 1 1
... couldn't create
GEMglBegin GL_LINES
... couldn't create
GEMglVertex2f 0 -6
... couldn't create
GEMglVertex2f 0 6
... couldn't create
GEMglEnd
... couldn't create
GEMglLineWidth 1
... couldn't create
GEMglMatrixMode GL_PROJECTION
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMglFrustum -1 1 -1 1 1 20
... couldn't create
GEMglViewport 0 0 250 500
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglMatrixMode GL_PROJECTION
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMglFrustum -1 1 -1 1 1 20
... couldn't create
GEMglViewport 0 0 250 500
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
gemlist
... couldn't create
gemlist
... couldn't create
GEMglGetFloatv GL_STEREO
... couldn't create
GEMglColorMask 1 1 1 1
... couldn't create
GEMglFrustum -1 1 -1 1 1 20
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglFrustum -1 1 -1 1 1 20
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglColorMask 1 1 1 1
... couldn't create
GEMglColorMask 1 1 1 1
... couldn't create
GEMglClear
... couldn't create
GEMglClear
... couldn't create
GEMglClear
... couldn't create
GEMglClear
... couldn't create
GLdefine GL_COLOR_BUFFER_BIT
... couldn't create
GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
GLdefine GL_STENCIL_BUFFER_BIT
... couldn't create
GLdefine GL_ACCUM_BUFFER_BIT
... couldn't create
gemlist
... couldn't create
gemlist
... couldn't create
GEMglColorMask 1 1 1 1
... couldn't create
GEMglFrustum -1 1 -1 1 1 20
... couldn't create
GEMglMatrixMode GL_PROJECTION
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglFrustum -1 1 -1 1 1 20
... couldn't create
GEMglMatrixMode GL_PROJECTION
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglLoadIdentity
... couldn't create
GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
GEMglDrawBuffer GL_BACK_LEFT
... couldn't create
GEMglClear
... couldn't create
GLdefine GL_COLOR_BUFFER_BIT
... couldn't create
GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglDrawBuffer GL_BACK_RIGHT
... couldn't create
GEMglClear
... couldn't create
GLdefine GL_COLOR_BUFFER_BIT
... couldn't create
GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
GEMglMatrixMode GL_MODELVIEW
... couldn't create
GEMglClear
... couldn't create
GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
gemlist
... couldn't create
gemlist
... couldn't create
GEMglReportError
... couldn't create
gemlist
... couldn't create
Quoth dmotd, on 07/07/10 14:13:
> add it to videoV4L2.h in src/Pixes (or src/plugins/videoV4L2
> for svn version). you should see a bunch of '# include'
> starting around line 30.
>
> James Dunn wrote:
>
>> Quoth dmotd, on 06/07/10 13:49:
>>
>>>>> Seems like I just had to install pkg-config. It now finds the
>>>>> imagemagick library but fails with a new error:
>>>>> videoV4L2.cpp:389:31: error: ‘fstat’ was not declared in this scope
>>>>> videoV4L2.cpp:394:27: error: ‘S_ISCHR’ was not declared in this scope
>>>>>
>>>> Try adding this line near the top :
>>>>
>>>> #include<sys/stat.h>
>>>>
>>> mathieu beat me to it.. you may also need:
>>>
>>> #include<linux/stat.h>
>>>
>> Do I add these lines to the top of the makefile in
>> pd-extended/packages/linux_make?
>>
More information about the Pd-list
mailing list