When I'm trying to run compile.sh I'm getting the following error:
-- Configuring done
-- Generating done
-- Build files have been written to: /arducam_tof_camera/example/build
[ 20%] Built target test_c
[ 40%] Built target capture_raw
[ 60%] Built target preview_usb
[ 80%] Built target select_video_preview
[100%] Built target preview_depth
Unable to init server: Could not connect: Connection refused
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.5.1) ../modules/highgui/src/window_gtk.cpp:624: error: (-2:Unspecified error) Can't initialize GTK backend in function 'cvInitSystem'
Aborted
I'm running it in a headless mode. Don't need to display anything, just need the raw data.
When I'm trying to run compile.sh I'm getting the following error:
I'm running it in a headless mode. Don't need to display anything, just need the raw data.
Would be grateful for any help.