[PD] compiling pd-extended on arch linux

Martin Peach martin.peach at sympatico.ca
Wed Jul 7 15:11:35 CEST 2010


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?

No, they are preprocessor directives that go in a .c file. But you 
should not have to change the source code to get it to compile. 
Something else is wrong.

Martin



More information about the Pd-list mailing list