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 include fails to find file (Read 1127 times)
BobS
Newbies
*
Offline


Posts: 2
Joined: Dec 20th, 2018
include fails to find file
Dec 20th, 2018 at 1:00pm
Print Post  
I have an Arduino project that has a sub-folder named "language" in the project folder.  One of the .ino files in the project references a file in the sub-folder; #include "language/en-GB.h"
 
I am getting the following error: fatal error: language/en-GB.h: No such file or directory.

The file does exist, and the Arduino IDE has no problems with this folder structure.  I have tried adding the language folder to both the include and library paths in project properties, but always get the same result.  Is there a step I am missing?  By the way, if I right click the file name in the IDE and choose "open document" from the context menu the file opens normally.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: include fails to find file
Reply #1 - Dec 20th, 2018 at 7:47pm
Print Post  
Arduino support the \src sub folder and sub folders of that. 

If you use src\language\ you will find it works okay
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint