Environment:
Simplified folder structure:Operating System: Windows 7 x64
IDE: Code::Blocks
Compiler: GNU AVR GCC
main.cD:\ProjectDir\src\main.c
D:\MyAwesomeFuncs\Funcs.h
D:\MyAwesomeFuncs\Funcs.c
The error:Code:#include "..\..\MyAwesomeFuncs\Funcs.h" int main() { myFunc(); return 0; }
Undefined reference to `myFunc'
Besides not working, the #include looks ugly as hell.
I've tried adding the MyAwesomeFuncs folder to "Settings >> Compiler and debugger... >> GNU AVR GCC Compiler >> Search directories >> Compiler" to try to simulate the -I flag I found about when searching for an answer.
I have no interest in building my projects by hand on the Command Prompt.
So how do I do this?
Thanks!