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 Why Are All My Functions Undefined? (Read 2176 times)
JavierX
Newbies
*
Offline


Posts: 1
Joined: Oct 25th, 2015
Why Are All My Functions Undefined?
Oct 25th, 2015 at 12:18am
Print Post  
As a quick warning, I'm still new to Visual Studio and the whole interface seems overwhelming (however what Visual Micro seems to offer is far easier to work with than the native Arduino IDE).

Anyways, I opened and edited one of the example files that comes with the Arduino IDE (in this case the blink example) and when I reopened the file I get the error in the attached file. This seems to be happening with other programs also.

What would cause a function to be undefined?

I'm using Visual Studio 2013 and the Arduino IDE is 1.6.5.


« Last Edit: Oct 25th, 2015 at 12:31am by JavierX »  

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


Posts: 12145
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Why Are All My Functions Undefined?
Reply #1 - Oct 25th, 2015 at 12:46am
Print Post  
Hi,

You can see intellisense errors but clicking compile/upload should work okay?

If we see intellisense errors its probably because you opened an example directly instead of clicking "open copy". Visual studio can't save any intellisense or projects settings when opening examples directly because of the permissions that are applied when you install the arduino ide.

You can run visual studio as administrator or use the "open copy example" option.

If the problem persists try to build which normally resets the intellisense other try switching to a different board and back to the uno again using the boards list

After it saves the intellisense config once per project it should be happy, normally its automatic.

Hope this helps
« Last Edit: Oct 25th, 2015 at 12:47am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint