Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory (Read 1109 times)
RichardK
Junior Member
**
Offline


Posts: 64
Joined: Jul 11th, 2023
arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory
Oct 10th, 2024 at 7:41pm
Print Post  
Since a few days I get the error message 

arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory

Please tell me how to fix this.

Thanks
Richard
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory
Reply #1 - Oct 10th, 2024 at 7:54pm
Print Post  
Thanks for the report.

Did you upgrade the STMicroElectronics board package recently to 2.8.1?

Does the "arm-none-eabi-g++.exe" exist in the folder shown in the last command?
  
Back to top
IP Logged
 
RichardK
Junior Member
**
Offline


Posts: 64
Joined: Jul 11th, 2023
Re: arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory
Reply #2 - Oct 10th, 2024 at 8:57pm
Print Post  
Yes, I upgraded to 2.8.1

Do you mean the directory

22:48:45 c:\>dir rm-none-eabi-gcc\13.2.1-1.1\bin\"

Datenträger in Laufwerk C ist WD_BLACK SN770 1 of 2 TB C: Seriennummer ist aef8:6c38
Verzeichnis von  m-none-eabi-gcc\13.2.1-1.1\bin\*

09.08.2024  00:24         <DIR>    .
09.08.2024  00:25         <DIR>    ..
09.08.2024  00:24         <DIR>    DLLs
09.08.2024  00:24         981.719  arm-none-eabi-addr2line.exe
09.08.2024  00:24       1.010.071  arm-none-eabi-ar.exe
09.08.2024  00:24       1.794.262  arm-none-eabi-as.exe
09.08.2024  00:24       1.884.004  arm-none-eabi-c++.exe
09.08.2024  00:24       1.012.407  arm-none-eabi-c++filt.exe
09.08.2024  00:24       1.881.956  arm-none-eabi-cpp.exe
09.08.2024  00:24          70.167  arm-none-eabi-elfedit.exe
09.08.2024  00:24       1.884.004  arm-none-eabi-g++.exe
09.08.2024  00:24       1.879.908  arm-none-eabi-gcc-13.2.1.exe
09.08.2024  00:24          66.844  arm-none-eabi-gcc-ar.exe
...

Yes, it is there.

Richard
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory
Reply #3 - Oct 11th, 2024 at 7:32am
Print Post  
Thanks for the update.

It seems as though the "cc1plus.exe" is missing from a different folder in the toolchain.

Can you try following the instructions on the below page to reinstall the board package from a fresh download:
https://www.visualmicro.com/page/How-to-Reinstall-a-Corrupted-Board-Package.aspx
  
Back to top
IP Logged
 
RichardK
Junior Member
**
Offline


Posts: 64
Joined: Jul 11th, 2023
Re: arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory
Reply #4 - Oct 12th, 2024 at 1:43pm
Print Post  
Thanks, this helped, not it works.

Richard

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory
Reply #5 - Oct 12th, 2024 at 10:54pm
Print Post  
Sounds good. 

Can you confirm if you mean "now is works" or "not it works". "Not" means it is still a problem.

Thanks
  
Back to top
IP Logged
 
RichardK
Junior Member
**
Offline


Posts: 64
Joined: Jul 11th, 2023
Re: arm-none-eabi-g++*: fatal error: cannot execute cc1plus: CreateProcess: No such file or directory
Reply #6 - Oct 12th, 2024 at 11:30pm
Print Post  
Sorry, thats a typo. I meant "Now it works".

Richard
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint