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 Arduino Due compile fails, no such file or directory (Read 8390 times)
Dan11
Junior Member
**
Offline


Posts: 11
Joined: Jul 1st, 2013
Arduino Due compile fails, no such file or directory
Jul 1st, 2013 at 8:38pm
Print Post  
Hi Tim,

I've read there is going to be another release soon that will enable the use of the new Arduino directory structure (vs 1.5.x). Soo.. the following information is probably well known to you already - if so please ignore it. It looks like just another instance of the same file path issue.

The default "CardInfo" example in the Arduino IDE (version 1.5.2 beta) works without issue however, with the Visual Studio plug-in (1305.21 beta) it fails. 

Quote:

Compiling 'test' for 'Arduino Due (Programming Port)'
SdFile.cpp : No such file or directory
: compilation terminated.
Error compiling


The error is referring to #include <SdFat.h> inside SdFile.cpp.

Thanks for the good work Smiley
« Last Edit: Jul 1st, 2013 at 8:54pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Due compile fails, no such file or directory
Reply #1 - Jul 1st, 2013 at 8:57pm
Print Post  
Hi,

The current release of Visual Micro does not detect the hardware specific libraries of 1.5.2

A workaround is to move the folders from ArduinoIde\Hardware\arduino\sam\libraries to ArduinoIde\libraries


If you have Atmel or Visual Studio open when you move the files then click Tools>Arduino>reload Toolchain

The next release of vm supports these libs and also supports arduino 1.5.3 new format libraries + hardware specific 1.5 libs + old style Arduino libraries Smiley
« Last Edit: Jul 1st, 2013 at 10:47pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Dan11
Junior Member
**
Offline


Posts: 11
Joined: Jul 1st, 2013
Re: Arduino Due compile fails, no such file or directory
Reply #2 - Jul 1st, 2013 at 10:25pm
Print Post  
Thanks Tim, that sounds good. Looking forward to the next release. Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Due compile fails, no such file or directory
Reply #3 - Aug 18th, 2013 at 10:40pm
Print Post  
EDIT: Full support for Arduino 1.0.x>1.5.3 is now in the latest release of Visual Micro

Thanks
« Last Edit: Sep 5th, 2013 at 10:45pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint