I have some code from a while back which on a pre-Pi5 machine, allows me to use the MJPEG decoder in hardware.
I am setting up a Pi3B as a new development machine for this project, and have hit a problem after running apt update/upgrade.
I have a CMakeLists.txt which has this section:
and I also added the line:
When I try and build I see the following:So, whereabouts is this file supposed to be? It isn't anywhere in the /usr/include/rpicam-apps tree, nor is it in the /usr/include/libcamera tree.
I have apt installed rpicam_app-dev (and the various dependencies such as libjpeg-dev etc).
I am setting up a Pi3B as a new development machine for this project, and have hit a problem after running apt update/upgrade.
I have a CMakeLists.txt which has this section:
Code:
pkg_check_modules(RPICAM-APP REQUIRED rpicam_app)include_directories(${RPICAM-APP_INCLUDE_DIRS})link_directories(${RPICAM-APP_LIBRARY_DIRS})add_definitions(${RPICAM-APP_CFLAGS_OTHER})Code:
include_directories(/usr/include/rpicam-apps)When I try and build I see the following:
Code:
In file included from /usr/include/rpicam-apps/core/video_options.hpp:14, from /usr/include/rpicam-apps/core/rpicam_encoder.hpp:12, from /home/pi/rpicam/main.cpp:14:/usr/include/rpicam-apps/core/options.hpp:26:10: fatal error: config.h: No such file or directory 26 | #include "config.h" | ^~~~~~~~~~compilation terminated.I have apt installed rpicam_app-dev (and the various dependencies such as libjpeg-dev etc).
Statistics: Posted by SteveSpencer — Wed Jul 23, 2025 12:11 pm