I have looked through the suggestions that pop up to the right when I create this topic and none of those solutions have worked. I also browsed through the forum and haven’t been able to fix this error. I really want to make sure autocomplete is working for me before I delve into more coding as it’s essential!
When I go to create my hello world in BullCowCartridge.cpp (Lecture 43), I have a red line under the #include "BullCowCartridge.h"
directive at the top, and when I go to type in PrintLine
I don’t get it in my autocomplete list (I get Printf
and other things, but apparently no UE content).
The exact errors I am getting are:
BullCowCartridge.h:
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\Abe\Projects\Udemy UE4 course\BullCowGame-starter-kit\Source\BullCowGame\BullCowCartridge.cpp).
cannot open source file "UBT_COMPILED_PLATFORM/UBT_COMPILED_PLATFORMPlatformCompilerPreSetup.h" (dependency of "CoreMinimal.h")
cannot open source file "UBT_COMPILED_PLATFORM/UBT_COMPILED_PLATFORMPlatformTime.h" (dependency of "Console/Cartridge.h")
I am:
- Using VSCode
I have:
- Generated the project files through UE via File > Create visual studio code project (I also tried refreshing when it didn’t work)
- Opened code from UE via File > Open VS code
- Opened code from my developer cmd by using the
code
command - Opened code from the desktop
- Updated my compiler path in Edit Configurations (UI) - and JSON (main difference was x86 instead of x64)
- Made sure that my BullCows directory is in the include paths (three lines had already been added to that setting for this directory)
- Googled profusely
- Looked back through the course for any reference to these errors (and found Lecture 16. “A note about red underlines”, followed it to no avail)
Any help appreciated!