Facing issues with vs code (BullCowGame)

Hi,
I am getting the following error in vs code. I am using vs code latest version and using Unreal Engine 2.25.
Steps that I followed:

  1. I installed vs code.
  2. Installed Microsoft C/C++ Extension
  3. Copied defines.txt content from the course and pasted in c_cpp_properties.json.

After these steps when I opened BullCowCartidge.cpp, I am getting "name followed by ‘::’ must be a class or namespace name "

When I opened Terminal.h, it is showing multiple errors.

Please help me to resolve this, thanks in advance.



Sometimes Intellisense isn’t working properly and gives you errors when there are none. To check if this is the case try to build the game, if it builds, you can ignore Intellisense, it usually works again after a reboot. In your case I think you really do have a compile error, you forgot a semicolon line 15 in Terminal.h

I didn’t remove any code, and I am able to compile in unreal engine. Because of this error, Intellisense is not working.

See “4.25 VSCode Intellisense Bug”

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms