Someone help me with this error please !!
Have you installed the IntelliSense Fixes extension and enabled it?
is it in the section 15 ?
There’s a lecture with “IntelliSense” in the title in the Bull Cow Game section.
I followed the steps but still I have the same error
I couldn’t show the output of the extension
Why is that?
The video didn’t explain how to show it
The image I posted is of the output window, and shows how to switch to the extension’s output.
So how can I install the extension
The lecture goes over that. Did you not first follow the lecture?
Hello! I have a similar problem. I installed the extension but I still get some include errors. The output form the extension looks like
Searching for *.uproject file...
Extension "UE Intellisense Fixes" is now active!
Couldn't find the UE4/UE5 workspace.
** Error **: Couldn't parse Unreal Engine version.
** Error **: No fixable project could be created.
Extension is done.
I guess it’s not finding the project file? I don’t know where to re-map that.
Do I need to fix these intelisense errors? I kind of assume no, but it would be nice.
Is there a way to fix this regardless of that extension? Like adding whatever it wants to my path?
Thanks a lot!
Do you have the workspace open? Could you show your full VS Code window?
Ok, I see I did this kind of wrong. Now that I posted that I see that I did it a little wrong cause i didn’t open up the workspace. Opening the workspace seems to fix the Extension starting problem, but I do still get the error about importing the standard library
cannot open source file "stdlib.h" (dependency of "/Users/magnew/dev/unreal-course/BullCowGame-starter-kit/Intermediate/Build/Mac/x86_64/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h")
The window looks like this now.
If you go into the .vscode folder and then the c_cpp_properties.json, what do you have for the compiler path?
Here’s what’s in there
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"macFrameworkPath": [
"/System/Library/Frameworks",
"/Library/Frameworks"
],
"compilerPath": "/usr/bin/g++",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "macos-gcc-arm64"
}
],
Compiler looks fine? Do you know if there is a way to fix in the include path?
Thanks for the help.
Could you change g++
to clang
? Does that fix it?
Awesome, that does seem to have fixed it, thanks!
Should I be building everything in this course with clang?