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
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list