Home > OS >  Raspberry pie compile MJPG - the streamer error
Raspberry pie compile MJPG - the streamer error

Time:09-20

Compiled using raspberry pie MJPG - the streamer times wrong, a began to feel may modify the source code will solve the problem can be modified according to the prompt, and then from % and continue to compile successfully, but later there will be a source of mistakes in an error, just feeling may be raspberries pie which configuration problem, hope to help to have a look, who is a great god an error is as follows:


% 31 Building CXX object plugins/input_opencv CMakeFiles/input_opencv dir/input_opencv CPP. O
/home/PI/MJPG - the streamer - master/MJPG - the streamer - experimental/plugins/input_opencv/input_opencv CPP: 86-5: warning: invalid suffix on literal. C + + 11 requires a space between literal and string macro [Wliteral -- suffix]
"Help for the input plugin.. : "INPUT_PLUGIN_NAME \ n " "
^
/home/PI/MJPG - the streamer - master/MJPG - the streamer - experimental/plugins/input_opencv/input_opencv CPP: In function 'void * worker_thread (void *) :'
/home/PI/MJPG - the streamer - master/MJPG - the streamer - experimental/plugins/input_opencv/input_opencv CPP: 408:34: error: 'CV_IMWRITE_JPEG_QUALITY' was not declared in this scope
Compression_params. Push_back (CV_IMWRITE_JPEG_QUALITY);
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
/home/PI/MJPG - the streamer - master/MJPG - the streamer - experimental/plugins/input_opencv/input_opencv CPP: 408:34: note: suggested the alternative: 'IN_CMD_JPEG_QUALITY
'Compression_params. Push_back (CV_IMWRITE_JPEG_QUALITY);
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
IN_CMD_JPEG_QUALITY
Make [3], [* * * plugins/input_opencv CMakeFiles/input_opencv dir/build make: 63: plugins/input_opencv CMakeFiles/input_opencv dir/input_opencv CPP. O] error 1
Make [3] : leave the directory "/home/PI/MJPG - the streamer - master/MJPG - the streamer - experimental/_build"
Make [2], [* * * CMakeFiles/Makefile2:243: plugins/input_opencv CMakeFiles/input_opencv dir/all] error 2
Make [2] : leave the directory "/home/PI/MJPG - the streamer - master/MJPG - the streamer - experimental/_build"
Make [1] : * * */Makefile: 130: all error 2
Make [1] : leave the directory "/home/PI/MJPG - the streamer - master/MJPG - the streamer - experimental/_build"
Make: * * */Makefile: 19: all error 2
  • Related