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 Sketch compile fails, involving ISR(WDT_vect), ok on Arduino IDE (Read 811 times)
BaiHui
Newbies
*
Offline


Posts: 2
Location: Norwich, UK
Joined: Feb 28th, 2016
Sketch compile fails, involving ISR(WDT_vect), ok on Arduino IDE
May 5th, 2020 at 11:19am
Print Post  
Sketch, attached, compiles fine on the Arduino 1.8.12 IDE, but not on Visual Studio 2019 Version 16.5.4, error log attached. Visual micro v1.2020.0321, windows 10, all up to date.
IDE set to Arduino 1.6/1.8, IDE location set to C:\Program Files (x86)\Arduino.

This PC has history, it has previously had Visual Studio 2017 installed with no IDE, it still has 2017 installed. I recently installed IDE 1.8.12 and Visual Studio 2019 and found this problem, can't say if it existed on my old 2017 install.

I have tried uninstalling the Arduino IDE, deleting the arduino15 folder from AppData, then re-installing the Arduino IDE. Also uninstalling visual micro, and reinstalling visual micro after renewing the Arduino IDE, all with PC resets in between.
I initially thought it had some connection with EEPROM.h being multi defined, but am now thinking it's the ISR vector. As I say, it compiles fine on the regular Arduino IDE.
I've run out of ideas, and frankly knowledge.
Cheers
Eric
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: Sketch compile fails, involving ISR(WDT_vect), ok on Arduino IDE
Reply #1 - May 5th, 2020 at 11:31am
Print Post  
Thanks for the report, and there has been an updated release which will resolve this issue (20.03.21.11), and it is due to recent improvements to prototype generation.

This is available for download from our Forum Releases Section
  
Back to top
 
IP Logged
 
BaiHui
Newbies
*
Offline


Posts: 2
Location: Norwich, UK
Joined: Feb 28th, 2016
Re: Sketch compile fails, involving ISR(WDT_vect), ok on Arduino IDE
Reply #2 - May 5th, 2020 at 12:58pm
Print Post  
Thanks for your quick reply and a solution that works.
Great stuff,
Cheers,
Eric
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint