Video grabber doesn't work for my camera

The video grabber doesnt work with my camera. It gives the error that it is unable to open the local device. In openframeworks read me file it mentions that you comment out this line in ofConstants.h if there are issues:


I did that, and when I goto rebuild it complains that line 45 of ofUtils.cpp:

gettimeofday( &now, NULL );

isnt declared in scope.

What can I do to get my camera working?

you can use the package here:

or wait till next OF version is released (really, really soon) where the new linux videograbber is included