You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a known buggy feature of userland building on Ubuntu 20 64bit. If you are building userland from https://github.com/6by9/userland/ banch 64bit_mmal
then just change file CMakeLists.txt: set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-multichar -Wall -Wno-unused-but-set-variable -fPIC")
to set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--no-as-needed -Wno-multichar -Wall -Wno-unused-but-set-variable -fPIC")
then rebuild and reinstall userand libs ./buildme --aarch64
and rebuild your raspicam application
I am using raspbery Pi 4 SoC with Ubuntu 20.10 64bit OS and trying to use raspberry Pi HD Camera.
I am able to compile 'raspicam' and below example code successfully, but when I am running this test code it gives me error.
`
#include <raspicam/raspicam.h>
#include <raspicam/raspicamtypes.h>
int main()
{
raspicam::RaspiCam camera;
camera.open(true);
camera.grab();
return 0;
}
`
Error
mmal_component_create_core: could not find component 'vc.ril.camera'
On the same configuration I am able to run raspistill without any issues so camera is working fine.
The text was updated successfully, but these errors were encountered: