Everytime I try to build any project using VS 2022 I’m met with this error and have yet to find a solution. I’ve spent hours searching for a possible solution and have only been met with failure after failure. This is sort of my last hope hail-mary to get this resolved or I’m about to give up on having a dev hobby lol
Check these:
-
Make sure to set as startup your project folder:
-
Verify with Visual Studio Installer, you have all the required sdk for unreal to work.
-
Close unreal, and build from visual studio.
After doing all of those I still have the problem
Hi, please give all the output window contents
I uninstalled and reinstalled UE5, so the output’s a little bit different, but still same problem
Build started at 10:08 AM…
1>------ Build started: Project: EpicGames.OIDC, Configuration: Development Any CPU ------
2>------ Build started: Project: EpicGames.MsBuild, Configuration: Development Any CPU ------
3>------ Build started: Project: EpicGames.IoHash, Configuration: Development Any CPU ------
3>EpicGames.IoHash → C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.IoHash\bin\Development\net6.0\EpicGames.IoHash.dll
2>C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.MsBuild\CsProjBuilder.cs(249,8,249,20): warning CA2200: Re-throwing caught exception changes stack information (CA2200: Rethrow to preserve stack details (code analysis) - .NET | Microsoft Learn)
2>C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.MsBuild\CsProjBuilder.cs(305,10,305,72): warning CA2249: Use ‘string.Contains’ instead of ‘string.IndexOf’ to improve readability (CA2249: Consider using 'String.Contains' instead of 'String.IndexOf' (code analysis) - .NET | Microsoft Learn)
2>EpicGames.MsBuild → C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.MsBuild\bin\Development\net6.0\EpicGames.MsBuild.dll
2>Done building project “EpicGames.MsBuild.csproj”.
4>------ Build started: Project: EpicGames.UHT, Configuration: Development Any CPU ------
5>------ Build started: Project: dame, Configuration: Development_Editor x64 ------
5>Using bundled DotNet SDK version: 6.0.302
5>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” dameEditor Win64 Development -Project=“D:\UnrealEngineDocuments\Projects\dame\dame.uproject” -WaitMutex -FromMsBuild
5>Log file: C:\Users\henni\AppData\Local\UnrealBuildTool\Log.txt
5>Creating makefile for dameEditor (UnrealBuildTool assembly is newer)
5>Parsing headers for dameEditor
5> Running Internal UnrealHeaderTool D:\UnrealEngineDocuments\Projects\dame\dame.uproject D:\UnrealEngineDocuments\Projects\dame\Intermediate\Build\Win64\dameEditor\Development\dameEditor.uhtmanifest -WarningsAsErrors -installed
5>Total of 0 written
5>Reflection code generated for dameEditor in 8.0755047 seconds
5>Building dameEditor…
5>Using Visual Studio 2022 14.36.32545 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
5>Determining max actions to execute in parallel (6 physical cores, 12 logical cores)
5> Executing up to 6 processes, one per physical core
5> Requested 1.5 GB memory per action, 488.5 MB available: limiting max parallel actions to 1
5>------ Building 6 action(s) started ------
5>[1/6] Compile [x64] dameAttributeSet.cpp
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C2061: syntax error: identifier ‘Vitality’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C2061: syntax error: identifier ‘Vigor’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C2061: syntax error: identifier ‘Mana’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C2061: syntax error: identifier ‘Endurance’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C2061: syntax error: identifier ‘Mind’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C2061: syntax error: identifier ‘Strength’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C2061: syntax error: identifier ‘Dexterity’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C2061: syntax error: identifier ‘Luck’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.cpp(9): error C2144: syntax error: ‘void’ should be preceded by ‘;’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.cpp(9): error C2761: ‘{ctor}’: redeclaration of member is not allowed
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.cpp(28): error C2065: ‘OldVitality’: undeclared identifier
5>[2/6] Compile [x64] dameCharacter.cpp
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C2061: syntax error: identifier ‘Vitality’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C2061: syntax error: identifier ‘Vigor’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C2061: syntax error: identifier ‘Mana’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C2061: syntax error: identifier ‘Endurance’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C2061: syntax error: identifier ‘Mind’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C2061: syntax error: identifier ‘Strength’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C2061: syntax error: identifier ‘Dexterity’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C2061: syntax error: identifier ‘Luck’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameCharacter.cpp(56): error C2146: syntax error: missing ‘;’ before identifier ‘AbilitySystemComponent’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameCharacter.cpp(76): error C3861: ‘InitializeAttribute’: identifier not found
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameCharacter.cpp(154): error C2059: syntax error: ‘if’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameCharacter.cpp(155): error C2143: syntax error: missing ‘;’ before ‘{’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameCharacter.cpp(155): error C2447: ‘{’: missing function header (old-style formal list?)
5>[3/6] Compile [x64] dameAttributeSet.gen.cpp
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C2061: syntax error: identifier ‘Vitality’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C2061: syntax error: identifier ‘Vigor’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(38): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C2061: syntax error: identifier ‘Mana’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(47): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C2061: syntax error: identifier ‘Endurance’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(56): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C2061: syntax error: identifier ‘Mind’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(65): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C2061: syntax error: identifier ‘Strength’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(74): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C2061: syntax error: identifier ‘Dexterity’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(82): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C2061: syntax error: identifier ‘Luck’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C2535: ‘int UdameAttributeSet::ATTRIBUTE_ACCESSORS(UdameAttributeSet)’: member function already defined or declared
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(29): note: see declaration of ‘UdameAttributeSet::ATTRIBUTE_ACCESSORS’
5>D:\UnrealEngineDocuments\Projects\dame\Source\dame\dameAttributeSet.h(90): error C4183: ‘ATTRIBUTE_ACCESSORS’: missing return type; assumed to be a member function returning ‘int’
5>Total time in Parallel executor: 624.85 seconds
5>Total execution time: 649.09 seconds
5>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ““C:\Program Files\Epic Games\UE_5.3\Engine\Build\BatchFiles\Build.bat” dameEditor Win64 Development -Project=“D:\UnrealEngineDocuments\Projects\dame\dame.uproject” -WaitMutex -FromMsBuild” exited with code 6.
5>Done building project “dame.vcxproj” – FAILED.
========== Build: 4 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========
========== Build completed at 10:19 AM and took 11:01.759 minutes ==========
you will have to fix all these syntax error mentioned above first in your dameAttributeSet
orginially when I had posted this I didn’t have those, but after uninstalling and reinstalling I have them. I just copied and pasted the code from my notepad and haven’t gone in and thoroughly added them, hold on