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 Build Solution fails when sketch and gcc projects are in same solution (Read 3133 times)
principia
Junior Member
**
Offline


Posts: 19
Joined: Aug 31st, 2012
Build Solution fails when sketch and gcc projects are in same solution
Nov 11th, 2014 at 9:12am
Print Post  
Hi
I have an Atmel Studio 6.2 solution that contains two sketches and an AS project. The sketches target an Arduino R3 and the AS project the 16U2 chip on the R3. When I attempt to "Build Solution" the full set of projects fail to build regardless of the choice of startup project. All build correctly from Build Project. Is there a work around for this or is it a known problem? If I remember correctly, this also happens on VS2010 where I have related sketches and C# projects in the same solution.
Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12168
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build Solution fails when sketch and gcc projects are in same solution
Reply #1 - Nov 11th, 2014 at 3:36pm
Print Post  
Hi,

Yes I just spotted that the other day and will look at it sometime soon.

I guess that is arduino is a startup project then gcc fails to build and if gcc is startup then arduino fails to build?

You can if need be right click and build individually which might or might not help.
  
Back to top
IP Logged
 
principia
Junior Member
**
Offline


Posts: 19
Joined: Aug 31st, 2012
Re: Build Solution fails when sketch and gcc projects are in same solution
Reply #2 - Nov 12th, 2014 at 8:07am
Print Post  
Tim
That's right - one or the other individual builds fails. I'm happy to work around it.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12168
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build Solution fails when sketch and gcc projects are in same solution
Reply #3 - Nov 12th, 2014 at 4:54pm
Print Post  
I forgot to say you can open "Build>Configuration Manager" and un-check the sketch project from the build. Visual Micro doesn't use the option but gcc will skip trying to build the sketch project.

It's a workaround for now but not perfect
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint