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 CreateProcess: No such file or directory Error compiling core (Read 859 times)
Helmut Pirker
Newbies
*
Offline


Posts: 2
Joined: Oct 22nd, 2020
CreateProcess: No such file or directory Error compiling core
Oct 24th, 2020 at 11:50am
Print Post  
Hello 
I have purchased a license and installed Visual Micro in Visual 2019. Unfortunately the sketch cannot be created and breaks with error *: CreateProcess: No such file or directory
Error compiling core
Build failed for project 'Blink1'
from.
I ask for your help in eliminating the error
Best Regards
Helmut Pirker

Windows 10
Visualstudio 2019
Microsoft Visual Studio Community 2019
Version 16.7.3
VisualStudio.16.Release/16.7.3+30503.244
Microsoft .NET Framework
Version 4.8.03752
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: CreateProcess: No such file or directory Error compiling core
Reply #1 - Oct 24th, 2020 at 2:22pm
Print Post  
Thanks for the info. We don't normally support the nightly Arduino build because it can contain yet to be released changes that we need to cater for. In this case the build is OK, we tested it. 

When an Arduino and a VisualMicro build happens, we are actually just running the various tool chain EXE commands to build files. We can see that you system has failed on the very first file it attempts to build. 

The build command takes the path to a source file, in this case "wiring_pulse.S" and outputs as "wiring_pulse.S.o" into the temp build folder.

This is the build command that fails for you. You can paste this command into a cmd.exe prompt and should see the same error. I think it means your virus checker or some permissions is interfering with the attempt to create a file.

Code
Select All
"C:\Program Files\arduino\arduino-nightly\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=108013 -DARDUINO_AVR_UNO_WIFI_DEV_ED -DARDUINO_ARCH_AVR -DESP_CH_UART -DESP_CH_UART_BR=19200 -I"C:\Program Files\arduino\arduino-nightly\hardware\arduino\avr\cores\arduino" -I"C:\Program Files\arduino\arduino-nightly\hardware\arduino\avr\variants\standard" "C:\Program  -o 63748e2\core\wiring_pulse.S.o"   



The Arduino IDE executes the same command but it uses java instead of C# which is why there can sometimes be differences around permissions and virus checkers.

Can you please confirm if the command does produce the same error when run via cmd.exe

Thanks
« Last Edit: Oct 24th, 2020 at 2:24pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Helmut Pirker
Newbies
*
Offline


Posts: 2
Joined: Oct 22nd, 2020
Re: CreateProcess: No such file or directory Error compiling core
Reply #2 - Oct 24th, 2020 at 4:48pm
Print Post  
Hello
Virus program and firewall switched off. Same mistake.
MfG Helmut Pirker
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: CreateProcess: No such file or directory Error compiling core
Reply #3 - Oct 24th, 2020 at 5:54pm
Print Post  
Thanks. You missed the double quote " at the start of the avr-gcc command.

Please copy/paste my example again into cmd.exe

Thanks

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