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 Header file problem (Read 1297 times)
kyjak
Newbies
*
Offline


Posts: 1
Joined: Feb 2nd, 2018
Header file problem
Feb 2nd, 2018 at 2:55pm
Print Post  
I have a simple configuration header file, included in the same directory as .ino.
The compiler simply does not find it, its added in the "header files" in solution explorer, I do include it as #include "config.h"
however, if i move it and use an absolute path like #include "c:\config.h" all works. so tell me why is the studio unable to find the file in the working directory? this is annoying.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Header file problem
Reply #1 - Feb 2nd, 2018 at 4:05pm
Print Post  
#include "myheader.h"

not

#include <myheader.h>
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint