On Tue, 10 Mar 2020 13:21:25 +0000, The Natural Philosopher
wrote:
>> So I added the text "-lwiringPi" to the compile and build commands in
>> Geany. Now I only get the following error message when running a
>> build:
>> g++ -wall -o -lwiringPi "blink" "blink.c" (in directory:
>> /home/pi/wiringpi/examples)
>> g++: error: blink: no such file or directory
>> Compilation failed.
>> There is a file blink.c in directory home/pi/wiringpi/examples, so
>> something else is nagging Geany, but what?
>>
>> Best regards.
>>
>wrong order
>
>.... -o blink -lwiringpi blink.c
Now I have success thanks to The Natural Philosopher, Theo and Martin
Gregorie. Thank you for taking your time to answer. It really was a
case of RTFM on my side, but the manual was so HUGE :-)
Best regards.
--
Jesper Kaas - jesperk@neindanke.online.no
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|