I am trying to create a file structure for my code in c++classes/Myproject (in UE4 editor). I added a new class and in UE4s "Add C++ Class" dialog box I set the path for the created scripts as MyProject/Source/MyProject/test, test being the subfolder I am trying to create, however when the editor finishes generating the files I get an error saying that it failed to find the files it generated.
...\MyProject\test\SysGen.cpp(4): fatal error C1083: Cannot open include file: 'test/SysGen.h': No such file or directory
In visual studio I can see and open the generated scripts, but it fails to compile. What do I need to do for this to work?