Category : raspberry-pi

I am trying to use the geos library on a Raspbery Pi 3, using Debian. I am trying to compile a program in C ++. The same program can be compiled on other computers, this means that the source code of my program is correct. When executing the command geos-config –version, version 3.7.1 is returned ..

Read more

I’ve compiled a simple c++ program (pretty much off the opencv website) on my pi4 that opens a web cam for video streaming. Program compiles, however on execute I receive the following error: terminate called after throwing an instance of ‘cv::Exception’ what(): OpenCV(4.5.2) /home/cam/dev/opencv/modules/highgui/src/window_gtk.cpp:624: error: (-2:Unspecified error) Can’t initialize GTK backend in function ‘cvInitSystem’ Aborted ..

Read more

Learning cmake for use with CLion. I have a raspberry pi project and I’m trying to bring in wiringPi library on my Ubuntu box. Here’s my build results. ====================[ Build | rookery_exe | Raspberry Pi Release ]============== /snap/bin/cmake –build /tmp/tmp.UNnm1OGKQ2/cmake-build-raspberry-pi-release –target rookery_exe — -j 12 [ 9%] Building CXX object src/core/CMakeFiles/rookery_core.dir/Lights.cpp.o /tmp/tmp.UNnm1OGKQ2/src/core/Lights.cpp:1:10: fatal error: wiringPi.h: ..

Read more