Hi all
I tried to follow this guide "http://esotericsoftware.com/spine-ue4" at first I tried with unreal engine 5 and visual studio 2022 and I didn't work, so I installed unreal engine 4, uninstalled visual studio 2022 and installed 2019, but I still get the same error when making a complete new project and follow the steps. First when I open with UE4, and It says "would you like to rebuild now? I say yes and later it says "MyProject could not be compiled. Try rebuilding from source manually" so I open the MyProject.sln and when building it says this:
Build started...
1>
---
Build started: Project: MyProject, Configuration: Development_Editor x64
---
1>Building MyProjectEditor...
1>Using Visual Studio 2019 14.29.30147 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.19041.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Building 6 actions with 2 processes...
1> [1/6] Module.SpinePlugin.cpp
1>D:/UE_4.27/projects/MyProject/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp/src/spine/SkeletonBinary.cpp(1259): error C4456: declaration of 'attachment' hides previous local declaration
1> D:/UE_4.27/projects/MyProject/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp/src/spine/SkeletonBinary.cpp(1252): note: see declaration of 'attachment'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(45,5): error MSB3073: The command "D:\UE_4.27\Engine\Build\BatchFiles\Build.bat MyProjectEditor Win64 Development -Project="D:\UE_4.27\projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "MyProject.vcxproj"
---
FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What should I do next? or what I'm doing wrong?