Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find mmal libraries #103

Open
Tobit-Zander opened this issue Nov 2, 2023 · 4 comments
Open

Could not find mmal libraries #103

Tobit-Zander opened this issue Nov 2, 2023 · 4 comments

Comments

@Tobit-Zander
Copy link

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.

@jbemond
Copy link

jbemond commented Mar 30, 2024

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

@nkbartc
Copy link

nkbartc commented Jul 21, 2024

same here

@mlbrothers
Copy link

Anyone solved it?

@w112785
Copy link

w112785 commented Sep 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants