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

On Tue, 10 Mar 2020 10:30:59 +0000, The Natural Philosopher
 wrote:

>Are these messages happening at compile time or at link time?
>
>I suspect its not that these are not defined in the header but that you
>aren't linking in the wiringPi library at link time...
Maybe I should not use Geany, but compile and link manually in a
terminal window. Must find out how to do that then. Sorry for my
incompetance.

But I am using Geany, which under the "Build" main menu (among others)
have the options Compile, Build, Make, Make Custom Target, Make Object
and Execute.  No menu for linking. I am using Compile, Build and
Execute. After your reply I also tried Make.
I have now tried all the menu points listed above, with the following
results:
Compile, Make, Make Object all (with blink.c active in Geany) run
successfully.
Build gives the error messages described in my first message.
Execute results in a terminal window with thism text:
/tmp/geany_run_script_6LY5G0.sh: 7: /tmp/geany_run_script_6LY5G0.sh:
./blink: not found

Geany uses these compile commands for C++:
-Compile: g++ -Wall -c "%f"
-Build: g++ -Wall -o "%e" "%f"


------------------
(program exited with code: 127)
Press return to continue


--
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™.