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 1st Install and compile fails (Read 3335 times)
AndrewK
Newbies
*
Offline


Posts: 2
Joined: Jun 25th, 2014
1st Install and compile fails
Jun 26th, 2014 at 12:08am
Print Post  
I was stoked to find Visual Micro. So great to have my c# code and sketches managed together in VS2013. I followed the First Steps instruction (http://www.visualmicro.com/page/User-Guide.aspx?doc=index) successfully until "Compiling, Uploading, and Running your Sketch". I used the default empty sketch created for a new project and noticed that:
1. The compilation failed with syntax errors on some of the .h files [ref below]
2. There were lots of Intellisense errors. 

Anyone able to help? Not keen to abandon Visual Micro at the first hurdle.. but have to head back to the Arduino IDE until I can get a successful compile & upload.

~~~~~~~~~~~~~~~
Compile output on completely clean installation of Visual Micro today:

Compiling 'DeleteMe4' for 'Arduino Micro'
WString.h:In file included from
arduino.h:from
DeleteMe4.ino:from
stdlib.h:In function 'void abort()'
stdlib.h:106: error: expected primary-expression before '__attribute__'
stdlib.h:106: error: expected `;' before '__attribute__'
stdlib.h:At global scope
stdlib.h:111: error: expected unqualified-id before 'int'
stdlib.h:111: error: expected `)' before 'int'
stdlib.h:111: error: expected `)' before 'int'
Error compiling

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1st Install and compile fails
Reply #1 - Jun 26th, 2014 at 2:17pm
Print Post  
Hi Andrew,

Can you please switch on "tools>options>visual micro>compiler>verbose" and "tools>options>visual micro>compiler>show build properties"  then build your project.

Please copy the output and email to info[at]visualmicro.com

Thanks
  
Back to top
IP Logged
 
AndrewK
Newbies
*
Offline


Posts: 2
Joined: Jun 25th, 2014
Re: 1st Install and compile fails
Reply #2 - Jun 27th, 2014 at 6:00am
Print Post  
Hey Tim, thanks for responding. I'm feeling a bit stupid right now. Seems the Arduino IDE was fried, so uninstalled/reinstalled it and it's all good now. Now.. into the code I dive ....
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1st Install and compile fails
Reply #3 - Jun 27th, 2014 at 8:44am
Print Post  
Great to hear that.

All questions, especially with solutions, are useful and appreciated thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint