Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: Austine1234 on December 22, 2022, 06:18:34 pm

Title: Execvp error
Post by: Austine1234 on December 22, 2022, 06:18:34 pm
Am using fedora 37 Linux.....I just installed codeblocks on my machine but as I was testing it out. I wrote a few lines of code and as I try building it it give me an error of "no such file or directory" and I can't get rid of it. I tried vs code it's also giving the same error something like "execvp" Please help.
Title: Re: Execvp error
Post by: Miguel Gimenez on December 22, 2022, 07:21:59 pm
Post a full rebuild log following this instructions (https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F).
Title: Re: Execvp error
Post by: Miguel Gimenez on December 22, 2022, 07:34:41 pm
Do not use personal messages, just hit Reply under the last post.

You can attach files, including images; The logs can be attached, but for small sizes it is better to paste them inside code tags as explained in the link I gave you.
Title: Re: Execvp error
Post by: Austine1234 on December 22, 2022, 07:47:18 pm
I hv attached an image
Title: Re: Execvp error
Post by: Miguel Gimenez on December 22, 2022, 10:04:03 pm
execvp tries to execute cc1plus and it fails. Probably you do not have configured or installed the toolchain correctly: the compiler is "x86_64...gcc" but the linker is only "g++". Both look invalid to me, the compiler is for C files and the linker is not working.