raspicam
raspicam copied to clipboard
Could not find mmal libraries
Hello, during cmake . I get the following output:
CMake Deprecation Warning at CMakeLists.txt:4 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument
value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenCV: /usr/local (found version "4.8.0") CMake Error at src/CMakeLists.txt:9 (MESSAGE): Could not find mmal libraries
-- Configuring incomplete, errors occurred! See also "/home/TeamA/raspicam-0.1.9/CMakeFiles/CMakeOutput.log".
What can I do to fix this issue?
I'm using a Raspberry Pi 4 8GB RAM and raspberry Pi OS. I already have openCV installed.
thx.
Hello,
I have exactly the same problem... have you found a solution?
Thank you.
camera@raspberrypi:~/C_opencv/raspicam-0.1.9/build$ cmake .. CMake Deprecation Warning at CMakeLists.txt:4 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument
value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenCV: /usr (found version "4.6.0") CMake Error at src/CMakeLists.txt:9 (MESSAGE): Could not find mmal libraries
camera@raspberrypi:~/C_opencv/raspicam-0.1.9/build$ cmake --version cmake version 3.25.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
same here
Anyone solved it?
MMAL was removed from the raspberry pi about 4 years ago. SO this lib will no longer work. Raspberry pi is now using libcamera for the camera interface.