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 An error I don't know what it is (Read 2925 times)
GeorgeZZ
Newbies
*
Offline


Posts: 3
Joined: Apr 24th, 2017
An error I don't know what it is
Apr 24th, 2017 at 8:10pm
Print Post  
Hi all, I'm new to here. I'm using vs2017 and Arduino IDE is 1.8.2. I'm using a esp8266 module. The problem is describe below:

The code is ok, can be Arduino IDE compile and upload to esp8266.

But in vs2017 shows my array index will shows error with use anything except a number.

This is where vs2017 shows the error. But actually the Arduino IDE compile with no error, Arduino IDE can upload this code in to esp8266 board and run smooth.






In error list I found this:


Any suggestions? Thanks.


« Last Edit: Apr 24th, 2017 at 8:13pm by GeorgeZZ »  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: An error I don't know what it is
Reply #1 - Apr 24th, 2017 at 8:29pm
Print Post  
Hi,

They might be false intellisense errors which can be ignored. We can look into them but first let's be sure of the situation ...

Please click a build command or build and upload. Then we can see if it is the same as the Arduino IDE?

Also switch the combo box on the "Errors List" from "Entire Solution" to "Open Documents"

Thanks
  
Back to top
WWW  
IP Logged
 
GeorgeZZ
Newbies
*
Offline


Posts: 3
Joined: Apr 24th, 2017
Re: An error I don't know what it is
Reply #2 - Apr 25th, 2017 at 4:51pm
Print Post  
Tim@Visual Micro wrote on Apr 24th, 2017 at 8:29pm:
Hi,

They might be false intellisense errors which can be ignored. We can look into them but first let's be sure of the situation ...

Please click a build command or build and upload. Then we can see if it is the same as the Arduino IDE?

Also switch the combo box on the "Errors List" from "Entire Solution" to "Open Documents"

Thanks


hi, the screen shot are in attachment.
After I clicked on Build and upload, although it says "The upload process has finished", it actually doesn't make my board works.
« Last Edit: Apr 25th, 2017 at 5:13pm by GeorgeZZ »  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: An error I don't know what it is
Reply #3 - Apr 25th, 2017 at 7:58pm
Print Post  
Hi,

switch the tool bar from Debug to Release and try the upload again.

If you continue to have a problem then switch on vmicro>compiler>verbose and "show build properties"

Then build and copy the output to a new .txt text file and email to info[at]visualmicro.com along with a link to this post

Thanks
  
Back to top
WWW  
IP Logged
 
GeorgeZZ
Newbies
*
Offline


Posts: 3
Joined: Apr 24th, 2017
Re: An error I don't know what it is
Reply #4 - Apr 27th, 2017 at 7:02pm
Print Post  
After I set debug to release, the project can be upload to my board.

But the array index still showing error, so I send email, thanks.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: An error I don't know what it is
Reply #5 - Apr 27th, 2017 at 7:14pm
Print Post  
Hi

Thanks for the file.

You can ignore the intellisense error I will try to work around it in the next release. 

Clicking build/upload is the same as using validate/upload in the arduino ide which will give accurate error results. There are short cut keys for all build commands (see the Build or Debug menu. When the tool bar is set to Release pressing F5 is same as clicking upload.

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint