I have this main in a project in c++ but I can't compile it in gcc due to this error:
In file included from main.cpp:11:
../framework/application.h:8:10: fatal error: includes.h: El fitxer o directori no existeix
8 | #include "includes.h"
| ^~~~~~~~~~~~
What it says is that the file "includes.h" doesn't exist. It exist but is in another directory and I don't know how to compile using a header from another directory.
I tried:
gcc -I ../framework/ main.cpp
gcc -I../framework/ main.cpp
gcc -I "../framework/" main.cpp