Hi All,
I have not written any C code in over 25 years and I am now trying to get back into it.
I have written a small program using geany and I do not seem to get it to run.
My program is very simple. It just accesses a couple of ports on a custom computer board.
It is named gpiotest.
After finding all the library support/include files (I believe so anyway), I have managed to get my program to compile without errors. It appears to link ok and produce an executable that has x permissions set.
When I try to run it (by just typing it's name within the Terminal) it gives an error like this
sh: gpiotest: not found
What have I done wrong? What am I missing? Maybe some sort of link option problem under geany?
Not sure.
Help required please.
Peter.