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
Hot Topic (More than 8 Replies) Intellisens problems build 1701.16 (Read 6029 times)
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
Intellisens problems build 1701.16
Jan 16th, 2017 at 6:26pm
Print Post  
Hi,
I just upgraded to the latest build and am now getting loads of intellisense errors.
For example, 
sprintf(temp, "%d", step);
temp is underlined with message 'Too many arguments in function call'
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisens problems build 1701.16
Reply #1 - Jan 16th, 2017 at 6:30pm
Print Post  
Hi,

Please state visual studio version, arduino version and which board you are using.

Also confirm the errors don't go away after a build

Thanks
  
Back to top
IP Logged
 
beefviper
Newbies
*
Offline


Posts: 3
Joined: Jan 16th, 2017
Re: Intellisens problems build 1701.16
Reply #2 - Jan 16th, 2017 at 7:03pm
Print Post  
I'm also getting a lot of IntelliSense errors after updating last night.

Visual Studio 2015 (v 14.0.25431.01 update 3)
Arduino 1.8.1 
Arduino Uno

Errors still exist after building.
Errors exist in new project.

Paste of errors: http://pastebin.com/M0j2ytgf
  
Back to top
 
IP Logged
 
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
Re: Intellisens problems build 1701.16
Reply #3 - Jan 16th, 2017 at 7:04pm
Print Post  
Hi, 
VS 2015 profesional update 3, 
Generic ESP8266 Module
Arduino 1.8

When I build the errors go and whilst I stay on the Output page they remain at 0

When I go to one of my source files the errors return.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisens problems build 1701.16
Reply #4 - Jan 16th, 2017 at 7:11pm
Print Post  
Okay please close and save your projects.

Then zip and email the .vcxproj and /__vm/projectname.vsarduino.h to info[at]visualmicro.com

Thanks
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisens problems build 1701.16
Reply #5 - Jan 16th, 2017 at 7:25pm
Print Post  
@beefviper I see you are using an avr toolchain installed via board manager.

Can you use board manager to remove it then restart the ide. This will allow you to use the toolchain supplied with the arduino ide which should be the most up to date but will be a useful experiment.

Thanks
  
Back to top
IP Logged
 
beefviper
Newbies
*
Offline


Posts: 3
Joined: Jan 16th, 2017
Re: Intellisens problems build 1701.16
Reply #6 - Jan 16th, 2017 at 7:37pm
Print Post  
I'm not 100% familiar with all this. But I don't think I installed anything weird of different. The board manager says that Arduino AVR boards is a built-in type and cannot be removed.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisens problems build 1701.16
Reply #7 - Jan 16th, 2017 at 9:24pm
Print Post  
I just posted an update with a fix. Some intellisense work for the new VisualStudio 2017 "File>Open Folder" was incorrectly also applied to normal projects. Thanks for the speedy report!

@beefviper you are using an arduino board based on the avr architecture. That's standard Arduino and is supplied with the IDE in folder "[Arduino IDE Folder]\Hardware\Arduino\avr". By installing the latest arduino ide you always have the latest and most stable version. The board manager tool allows you to install older versions and pre-release versions however it means keeping two things up to date and two downloads. The board manager has installed avr into folder "c:\Users\beef\AppData\Local\Arduino15\packages\arduino". You can delete the folder and restart the ide or click "vMicro>General>Rescan toolschains and libraries". This has nothing to do with the problem you reported but it's worth a cleanup to avoid confusion. It's up to you.



  
Back to top
IP Logged
 
beefviper
Newbies
*
Offline


Posts: 3
Joined: Jan 16th, 2017
Re: Intellisens problems build 1701.16
Reply #8 - Jan 16th, 2017 at 9:47pm
Print Post  
Just applied the update. And all seems to be working well again. Thank you very much for the quick response.

Also I checked the folder you mentioned, and it was empty. Might have been left over from something I did earlier. But thanks for the extra info.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisens problems build 1701.16
Reply #9 - Jan 16th, 2017 at 9:50pm
Print Post  
Great, thanks for the update.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint