VS Arduino
>> >> CreateProcess: No such file or directory Error compiling core
https://www.visualmicro.com/forums/YaBB.pl?num=1603540211

Message started by Helmut Pirker on Oct 24th, 2020 at 11:50am

Title: CreateProcess: No such file or directory Error compiling core
Post by Helmut Pirker on Oct 24th, 2020 at 11:50am
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

https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=Visual_micro.txt ( 33 KB | 5 Downloads )

Title: Re: CreateProcess: No such file or directory Error compiling core
Post by Visual Micro on Oct 24th, 2020 at 2: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"  [/code]

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

Title: Re: CreateProcess: No such file or directory Error compiling core
Post by Helmut Pirker on Oct 24th, 2020 at 4:48pm
Hello
Virus program and firewall switched off. Same mistake.
MfG Helmut Pirker
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=Vmicro2.docx ( 263 KB | 4 Downloads )

Title: Re: CreateProcess: No such file or directory Error compiling core
Post by Visual Micro on Oct 24th, 2020 at 5: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


VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.