How to compile MJPEG Streamer on recent Ubuntu versions (10.04, 10.10, 10.04, 11.10)

I wanted to use that great application called MJPEG streamer and therefore, I

1) Download the source code from the project
2) Uncompress it
3) Change line 59 in the Makefile
from
$(CC) $(CFLAGS) $(LFLAGS) $(OBJECTS) -o $(APP_BINARY)
to
$(CC) $(CFLAGS) $(OBJECTS) $(LFLAGS) -o $(APP_BINARY)
4) Change all the include that mention videodev.h to videodev2.h
5) Comment all references to “input_gspcav1″ in Makefile because they are using videolan1 and we don’t have it
6) Type “make clean all”
7) You are now ready!

Mar15

Leave a Reply




*