Hi All,
I've been trying to compile the samples project without success.
- I've put the plugin (v1.4) inside the Plugins folder
- generated the visual Studio file
- open the solution in visual studio
- set the sample_project as startup project
- development editor
- win64
I tried build, rebuild, clean+build and I always get the same output log:
Build started at 00:40...
1>------ Build started: Project: sample_project, Configuration: Development_Editor x64 ------
1>Build started 12/03/2024 00:40:59.
1>Target Build:
1> Using bundled DotNet SDK version: 6.0.302
1> Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" sample_projectEditor Win64 Development -Project="Z:\TEMP\new\sample_project.uproject" -WaitMutex -FromMsBuild
1> Log file: C:\Users\info\AppData\Local\UnrealBuildTool\Log.txt
1> Building sample_projectEditor...
1> 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).
1> [Upgrade]
1> [Upgrade] Using backward-compatible build settings. The latest version of UE sets the following values by default, which may require code changes:
1> [Upgrade] bLegacyParentIncludePaths = false => Omits module parent folders from include paths to reduce compiler command line length. (Previously: true).
1> [Upgrade] CppStandard = CppStandardVersion.Default => Updates C++ Standard to C++20 (Previously: CppStandardVersion.Cpp17).
1> [Upgrade] WindowsPlatform.bStrictConformanceMode = true => Updates MSVC strict conformance mode to true (Previously: false).
1> [Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V4;' in sample_projectEditor.Target.cs, and explicitly overriding settings that differ from the new defaults.
1> [Upgrade]
1> [Upgrade]
1> [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
1> [Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0
1> [Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Latest;' in sample_projectEditor.Target.cs.
1> [Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
1> [Upgrade]
1> Determining max actions to execute in parallel (14 physical cores, 20 logical cores)
1> Executing up to 14 processes, one per physical core
1> ------ Building 4 action(s) started ------
1> [1/4] Compile [x64] Module.sample_project.cpp
1> Z:\TEMP\new\Source\sample_project\Routing\RouteManager.cpp(70): error C4459: declaration of 'TraceLength' hides global declaration
1> Z:\TEMP\new\Source\sample_project\Measure\Measure.cpp(20): note: see declaration of 'TraceLength'
1> Z:\TEMP\new\Source\sample_project\Routing\RouteManager.cpp(146): error C4459: declaration of 'TraceLength' hides global declaration
1> Z:\TEMP\new\Source\sample_project\Measure\Measure.cpp(20): note: see declaration of 'TraceLength'
1> Z:\TEMP\new\Source\sample_project\Routing\RouteManager.cpp(257): error C4459: declaration of 'TraceLength' hides global declaration
1> Z:\TEMP\new\Source\sample_project\Measure\Measure.cpp(20): note: see declaration of 'TraceLength'
1> Total time in Parallel executor: 4.24 seconds
1> Total execution time: 4.93 seconds
1> 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" sample_projectEditor Win64 Development -Project="Z:\TEMP\new\sample_project.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building target "Build" in project "sample_project.vcxproj" -- FAILED.
1>
1>Done building project "sample_project.vcxproj" -- FAILED.
1>
1>Build FAILED.
1>
1>Z:\TEMP\new\Source\sample_project\Routing\RouteManager.cpp(70): error C4459: declaration of 'TraceLength' hides global declaration
1>Z:\TEMP\new\Source\sample_project\Routing\RouteManager.cpp(146): error C4459: declaration of 'TraceLength' hides global declaration
1>Z:\TEMP\new\Source\sample_project\Routing\RouteManager.cpp(257): error C4459: declaration of 'TraceLength' hides global declaration
1>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" sample_projectEditor Win64 Development -Project="Z:\TEMP\new\sample_project.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1> 0 Warning(s)
1> 4 Error(s)
1>
1>Time Elapsed 00:00:05.51
========== Build: 0 succeeded, 1 failed, 10 up-to-date, 0 skipped ==========
========== Build completed at 00:41 and took 06.048 seconds ==========
and error list:

I am stuck and can't do anything..
Does anybody have any hint on how to get it working?
Many thanks,
Luigi