I have a RockPI 4 and want do control the GPIOs with a C/C++ programm.
I installed Debian Buster and finally wiringX.
Compiling my first program works (gcc blink.c -lwiringX) without error or warning.
But when running the program wiringXSetup() returns -1. And I have no idea why.
What can be the problem? What can I do to identify and fix the problem?
Martin