I am using Atmel Studio 7 on a Windows 7 Ultimate (32 bit) PC. I created a file that I named my_c_preproc.h which contains preprocessor macros. I created a directory where I placed the file, and I added the path using the add command and dialog box in the toolchain - AVR/GNU C Compiler - Directories. I have tried this using both relative and absolute paths. When I build solution, I get a compiler error:
AD9850PSK31.ino: 4:28: fatal error: my_c_preproc.h: No such file or directory
Error compiling project sources
When I go back to toolchain - AVR/GNU C Compiler - Directories, the path that I added is not longer there. The solution builds properly when I either specify the entire path in the .c source file for the header file or when I place a copy of the header file in one of the directories in the existing paths list.
I have applied latest updates to both Windows 7 and Atmel Studio 7.
Any advice will be appreciated.