raspicam icon indicating copy to clipboard operation
raspicam copied to clipboard

Could not find mmal libraries

Open Tobit-Zander opened this issue 1 year ago • 4 comments

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.

Tobit-Zander avatar Nov 02 '23 12:11 Tobit-Zander

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).

jbemond avatar Mar 30 '24 11:03 jbemond

same here

nkbartc avatar Jul 21 '24 23:07 nkbartc

Anyone solved it?

mlbrothers avatar Sep 15 '24 08:09 mlbrothers

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.

w112785 avatar Sep 16 '24 00:09 w112785