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 Build issue after update (Read 1494 times)
nik
Newbies
*
Offline


Posts: 4
Joined: Jun 1st, 2021
Build issue after update
Jun 2nd, 2021 at 3:50am
Print Post  
Dear Sirs,
I'm using vMicro with Visual Studio 2019 since several months and I'm impressed by the quality of the tool.
Yesterday the vMicro extension got updated, and after that having trouble building projects for ESP32 board(s). Projects for ESP8266 boards builds normally.
I tried with several own projects, as well as one example project, but no luck.
Looks like ...\esp32_esp32\Release\.vm_sys\cmd_exec.bat cannot execute correctly - the log says "The system cannot find the path specified", but if I go to the containing folder, the .bat file is present and executes.
Attached is build log as required.
Any suggestions how to overcome the issue are welcome.
Regards
Nik
  

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: Build issue after update
Reply #1 - Jun 2nd, 2021 at 1:02pm
Print Post  
Thanks for this report. We have added a new version 21.5.7.2 to the top of this list which includes some additional verbose output. Please use it to produce another verbose output. That will show which files are not found. 

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

The same forum area provides all older releases should you need to drop back to an older version prior to a fix. Hopefully we can resolve quickly when we see your output.

Thanks
  
Back to top
WWW  
IP Logged
 
nik
Newbies
*
Offline


Posts: 4
Joined: Jun 1st, 2021
Re: Build issue after update
Reply #2 - Jun 2nd, 2021 at 6:01pm
Print Post  
Hi Tim,
here is the log file after vsix update.
Regards
Nik
  

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: Build issue after update
Reply #3 - Jun 2nd, 2021 at 9:07pm
Print Post  
Thank you, I hope we found the problem. Please try the 21.05.7.4 at the top of the releases list.

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
WWW  
IP Logged
 
nik
Newbies
*
Offline


Posts: 4
Joined: Jun 1st, 2021
Re: Build issue after update
Reply #4 - Jun 3rd, 2021 at 7:03am
Print Post  
Hi Tim,
The new release did not solved the issue, but due to the extensive log it provided, I think I tracked down to "cmd" execution - obviously there is invalid path in %PATH% .
Currently I'm trying to find out which one is it.
Will keep you posted.
Thanks and regards
Nik
  
Back to top
 
IP Logged
 
nik
Newbies
*
Offline


Posts: 4
Joined: Jun 1st, 2021
Re: Build issue after update
Reply #5 - Jun 4th, 2021 at 4:57pm
Print Post  
Issue solved. In registry, Microsoft/Command section  there was invalid autorun value, pointing to file which does not exist. This was causing "invalid path" message when "cmd" is executed and likely the return code from "cmd" execution is something which the toolchain does not like, although the command is executed correctly.
Thanks for the great support!
Nik
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint