From the command line, terminal, whatever:
$which clang++
a path will be listed. unless clang++ is not on your system, or not in your $PATH
echo $PATH

then for giggles:
ls -al /usr/bin/clang++  
or wherever your clang++ resides.
is it marked executable? I saw a similar issue with someone else last week where the compiler was not executable.
I'd also be willing to guess some sort of permission issue.


On Sun, Oct 6, 2024 at 7:25 AM Enrico Tröger via Users <users@lists.geany.org> wrote:
On 06.10.24 12:41, Avdhoot Jadhav via Users wrote:
> So what are the possible things I could try out? I have symlinks to clang
> in /usr/bin.
This is weird, Geany should find clang++ then except /usr/bin is not
part of your $PATH environment variable but this is highly unlikely.

You could try to specify the full path /usr/bin/clang++ in the Build
commands.

You can also try to execute clang++ in the embedded Terminal tab in
Geany itself. I guess it uses the same environment as Geany itself and
so will probably not find clang++ as well.

Regards,
Enrico

_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-leave@lists.geany.org


--
Eric Lovejoy
Bangor Makerspace Outreach liaison.


Bangor Makerspace
34 Freedom Parkway
Hermon, Me, 04401
makerspacebangor@gmail.com
Phone: (207)-401-5878
Make.Break.Learn.Fix.Repeat
https://bangormakerspace.org