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 SdFat.h doesnt name a type (Read 5450 times)
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
SdFat.h doesnt name a type
Jul 26th, 2016 at 10:01pm
Print Post  
I have a bug trying to use SdFat.

utilitiesSdCardFat.h:15:21: fatal error: SdFat.h: No such file or directory
:#include <SdFat.h>

SdFAT is properly installed into VS and Ard IDE and \users.....

SdFat.h works when included in the INO file however is not working per above when <SdFat.h> is included in a non-ino source file.,
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SdFat.h doesnt name a type
Reply #1 - Jul 26th, 2016 at 10:54pm
Print Post  
Maybe you switched off "vMicro>Compiler>Deep Search Includes"  by mistake?
  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: SdFat.h doesnt name a type
Reply #2 - Jul 26th, 2016 at 11:04pm
Print Post  
no help.   compiler cant find it.
  
Back to top
 
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: SdFat.h doesnt name a type
Reply #3 - Jul 26th, 2016 at 11:11pm
Print Post  
when i turn on Deep search, i get this error:

Build folder: file:///d:/TEMP/VMicroBuilds/xxx/mega_atmega2560
xxx.ino:6:19: fatal error: SdFat.h: No such file or directory
:#include <SdFat.h>
:compilation terminated


     An error was encountered during the 'Deep Search' discovery process.
     Either resolve the error or switch off the 'Deep Search Includes' option.
     Tip: When deep search is switched off, headers must be #included in the [project_name.ino] for all required libraries (for example: #include <SPI.h>)
     Tip: Deep search must be off if the project source contains links/shortcuts to code outside of the project structure. The source will have been #included using a relative path preceeded by ..\ (for example: #include "..\..\foo\foo.h")
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SdFat.h doesnt name a type
Reply #4 - Jul 27th, 2016 at 10:38am
Print Post  
As you know switching on vMicro>Compiler>Verbose and vMicro>Compiler>Show build properties gives an output that saves me asking so many questions Smiley

I suggest building once with the 'include in the .ino and once without. Then we have a comparison between working and not working.

Thanks
« Last Edit: Jul 27th, 2016 at 10:39am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint