Tank.h not found?

Hey guys, just wondering if anyone knows how to fix this bug I’m having where i create the Tank c++ file manually as public and it’s not getting read, I checked over and over for any syntax mistakes which didn’t help. I also tried manually sorting the Tank.H and Tank.cpp out of their private/public folders and into the actual project folder itself, yet #include “Tank.h” is still not being detected in my public TankPlayerController c++ class, the exact error message is: Cannot open source file “Tank.h”.

Did you right click the .uproject and select generate visual studio project files? As the project file needs to be updated for relative paths to work if you’ve moved things around.

You’re my hero Dan! It’s working now thanks a bunch bro!

Privacy & Terms