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 Visual Micro Ethernet Library - Arduino Mega failed compilation. (Read 4456 times)
ebaj
Newbies
*
Offline


Posts: 2
Joined: Jun 16th, 2012
Visual Micro Ethernet Library - Arduino Mega failed compilation.
Jun 16th, 2012 at 4:15pm
Print Post  
http://visualmicro.codeplex.com/workitem/47
This is the link to the issue in the tracker.

Has anyone had this issue before.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro Ethernet Library - Arduino Mega failed compilation.
Reply #1 - Jun 16th, 2012 at 5:39pm
Print Post  
Interesting that the log shows it compiles to 666 bytes even with the errors. I suspect that vm needs to halt the link processes when it encounters errors.

Anyway that's an aside. Please delete the following temp folder and try the compile again to see if you still get the problem 

C:\Users\User\AppData\Local\VMicro\Arduino\Builds\Project\mega2560


  
Back to top
WWW  
IP Logged
 
ebaj
Newbies
*
Offline


Posts: 2
Joined: Jun 16th, 2012
Re: Visual Micro Ethernet Library - Arduino Mega failed compilation.
Reply #2 - Jun 16th, 2012 at 5:43pm
Print Post  
That resolved it.
Now the question is why was the temp folder causing an issue?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro Ethernet Library - Arduino Mega failed compilation.
Reply #3 - Jun 16th, 2012 at 8:05pm
Print Post  
Hopefully v28 will use some other way to uniquely store temp files for a project. 

The temp files are cached to help speed up compilation but in the case of duplicate project names it can end up with this problem sometimes. It seems that the current version sometimes gets confused when you create two projects of the same name. In your case you had a project called "Project" which is very generic name and know doubt, for testing, you has used the name for another project.

The next version (28) includes support for the Visual Studio "Solution Clean" features. This does the same thing as clearing/deleting the compiler cache in the temp folder and saves you having to do it manually. BUT, when we get time to change things this feature won't be needed Smiley

Sorry you hit the issue, thanks for persisting.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint