Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
CreateProcess: No such file or directory Error compiling core (Read 113 times)
Helmut Pirker
Newbies
*
Offline



Posts: 2
CreateProcess: No such file or directory Error compiling core
Oct 24th, 2020 at 12:50pm
 
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
Back to top
 

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



Posts: 10905
United Kingdom
Re: CreateProcess: No such file or directory Error compiling core
Reply #1 - Oct 24th, 2020 at 3:22pm
 
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:
"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 Files\arduino\arduino-nightly\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\Helmut\AppData\Local\Temp\VMBCore\arduino16x\2ef3f0d06658c100f7e7b62ce63748e2\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
Back to top
« Last Edit: Oct 24th, 2020 at 3:24pm by Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
Helmut Pirker
Newbies
*
Offline



Posts: 2
Re: CreateProcess: No such file or directory Error compiling core
Reply #2 - Oct 24th, 2020 at 5:48pm
 
Hello
Virus program and firewall switched off. Same mistake.
MfG Helmut Pirker
Back to top
 

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



Posts: 10905
United Kingdom
Re: CreateProcess: No such file or directory Error compiling core
Reply #3 - Oct 24th, 2020 at 6:54pm
 
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
 

Tim Leek
home
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print