From 0df5256ab12e635fed475ee4aadea389d68f09e6 Mon Sep 17 00:00:00 2001 From: Andreas Bihlmaier Date: Sat, 14 Mar 2020 10:45:36 +0000 Subject: [PATCH] fix "mmal: mmal_component_create_core: could not find component vc.ril.camera" Fixes the following error (on Ubuntu 18.04 aarch64 using Raspbian kernel8.img (4.19.97-v8+ #1294)): mmal: mmal_component_create_core: could not find component 'vc.ril.camera' mmal: Failed to create camera component For details refer to https://github.com/raspberrypi/userland/issues/178 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9478576..398f89e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,7 @@ project(raspicam_node) set(CMAKE_CXX_STANDARD 14) # use C++14 +set(CMAKE_EXE_LINKER_FLAGS "-Wl,--no-as-needed") # https://github.com/raspberrypi/userland/issues/178 ## Find catkin macros and libraries ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)