TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: TNP@INVALID.INVALID
from: JESPER KAAS
date: 2020-03-10 16:37:00
subject: Re: Problem with wiringPi

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.