Tool/software: TI C/C++ Compiler
Hi,
I am having issues including a file relative to the current file that is being compiled.
Say I have the following files in the given folders
- TopFolder
- SubFolder
- Header.h
- File.cpp
- SubFolder
And in File.cpp have the following include:
#include "./SubFolder/Header.h"
The above does not compile unless I add TopFolder to the includepath of the compiler.
Is there a way to allow the compiler to find the include file relative to itself or will it only work when the includepath is set up as mention.
Using the following:
- Code Composer Studio: 7.2.0
- board: TMS320C6678
- Compiler: ti-rtos C6000_8.2.2