Hello, here part of log with errors while creating C++ class
Running D:/UE/UE_4.22/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“D:/Projects/Puzzle2Colors/Puzzle2Colors.uproject” -game -rocket -progress
Discovering modules, targets and source code for project…
Binding IntelliSense data…
Binding IntelliSense data… 100%
Writing project files…
Writing project files… 100%
LogHotReload: Recompiling module Puzzle2Colors…
LogVSAccessor: Warning: Couldn’t access Visual Studio
Candidate modules for hot reload:
Puzzle2Colors
Launching UnrealBuildTool… [D:/UE/UE_4.22/Engine/Binaries/DotNET/UnrealBuildTool.exe -ModuleWithSuffix=Puzzle2Colors,7600 Win64 Development -TargetType=Editor -Project=“D:/Projects/Puzzle2Colors/Puzzle2Colors.uproject” -FailIfGeneratedCodeChanges “D:/Projects/Puzzle2Colors/Puzzle2Colors.uproject” -IgnoreJunk]
Creating makefile for Puzzle2ColorsEditor (no existing makefile)
Parsing headers for Puzzle2ColorsEditor
Running UnrealHeaderTool “D:\Projects\Puzzle2Colors\Puzzle2Colors.uproject” “D:\Projects\Puzzle2Colors\Intermediate\Build\Win64\Puzzle2ColorsEditor\Development\Puzzle2ColorsEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed -FailIfGeneratedCodeChanges
ERROR: ‘D:/Projects/Puzzle2Colors/Intermediate/Build/Win64/UE4Editor/Inc/Puzzle2Colors/IntSpinBox.generated.h’: Changes to generated code are not allowed - conflicts written to ‘D:/Projects/Puzzle2Colors/Intermediate/Build/Win64/UE4Editor/Inc/Puzzle2Colors/IntSpinBox.generated.h.conflict’
CompilerResultsLog: New page: Compilation - 11 dec. 2019 y., 4:59:26
CompilerResultsLog: Creating makefile for Puzzle2ColorsEditor (no existing makefile)
CompilerResultsLog: Parsing headers for Puzzle2ColorsEditor
CompilerResultsLog: Running UnrealHeaderTool “D:\Projects\Puzzle2Colors\Puzzle2Colors.uproject” “D:\Projects\Puzzle2Colors\Intermediate\Build\Win64\Puzzle2ColorsEditor\Development\Puzzle2ColorsEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed -FailIfGeneratedCodeChanges
CompilerResultsLog: ERROR: ‘D:/Projects/Puzzle2Colors/Intermediate/Build/Win64/UE4Editor/Inc/Puzzle2Colors/IntSpinBox.generated.h’: Changes to generated code are not allowed - conflicts written to ‘D:/Projects/Puzzle2Colors/Intermediate/Build/Win64/UE4Editor/Inc/Puzzle2Colors/IntSpinBox.generated.h.conflict’
LogMainFrame: MainFrame: Module compiling took 16.945 seconds
LogSlate: Window ‘Message’ being destroyed
LogSlate: Window ‘Add C++ Class’ being destroyed
LogSlate: Took 0.023808 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansMono.ttf’ (77K)
It second project, I dont get this error. What I did before this error:
- Trying to add int spin box by this post https://forums.unrealengine.com/development-discussion/content-creation/1641116-creating-an-integer-spin-box-for-widget
- Get error about missing C++ in Vusual studio, download C++ in VS, rebuild project, delete old C++ class like in this video Unreal Engine C++ Tutorial #7: Misc *Removing C++ Classes* - YouTube
- Generated Visual Studio project files by rightclick on uproject file
And after this, I start to get this error message.