"Cannot open include file no such file or directory" -> fresh project opened with Rider

Hello,

I’ve made a C++ project with the Top Down template included. I am using Rider for the IDE.

I get the following error when trying to build the project:

In the Player Controller header, there is one error:

Not sure if that could be related or not.

I haven’t added or removed any code. One thing I have done is made a subdirectory called framework and moved the GameMode to there. But that shouldn’t effect anything?

New to C++, any advice is appreciated

Additional:

If i right click on the PlayerController.cpp and recompile the file, I get several errors:

Just missing some #includes.

Double click the offending statements and it gives you a link to the docs which tells you the required includes. Some of the enhanced input stuff wasn’t included for some reason.

2 Likes