I know I am missing something obvious, still very new to C++ and working with Visual Studio. I just tried moving my project to 4.26 and it won’t compile. I have a header in my root source directory STPObjects.h with implementations in a sub folder called objects. Intellisense does not have a problem finding the header when I look at the implementation source code however when I compile I get the fatal error C1083: Cannot open include file STPObjects.h. In Visual Studio I have gone to my project properties and manually added my root source file to the include path for good measure. It’s been awhile since I’ve worked on this project so I don’t even remember what I did initially to make this work. Using a directory structure should be trivial but I am missing something here.
My Directory Structure
…\Source\StarShipEmpire\STPObjects.h
…\Source\StarShipEmpire\objects\ObjectData.cpp ← Won’t compile because it can’t find STPObjects.h