User forums > Help
Fatal Error: No file or directory
(1/1)
HazelAkara:
I made this program, it was working file there was no, no file, error. I close the program, saved it, and when I open it again. The only file there was, main.Cpp, so I added game.cpp and game.h from the same folder where I have saved this program.
How can I solve this problem? This keeps happening.
Miguel Gimenez:
You must tell the compiler where the include is, using the Build options -> Compiler search directories list box or writing (probably):
--- Code: ---#include "../include/Game.h"
--- End code ---
in game.cpp
HazelAkara:
Thank you so much. I wish I came here earlier. Would have saved hours of effort rebuild the same program twice.
Navigation
[0] Message Index
Go to full version