Unable to Generate Visual Studio Project Files

When following instructions for downloading the ZEDSamples project I receive these errors

”C:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.42.34433
(Family=14.42.34433, FamilyRank=5, Version=14.42.34444, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
Visual Studio 2022 compiler version 14.51.36246 is not a preferred version. Please use the latest preferred version 14.38.33130
Compiled assembly file ‘C:\Users\nmiksa-golden\Downloads\zed-UE5-main\zed-UE5-main\Intermediate\Build\BuildRules\ZEDSamplesModuleRules.dll’ appears to be for a newer CLR version or is otherwise invalid. Unreal Build Tool will try to recompile this assembly now. (Exception: Could not load file or assembly ‘C:\Users\nmiksa-golden\Downloads\zed-UE5-main\zed-UE5-main\Intermediate\Build\BuildRules\ZEDSamplesModuleRules.dll’. Format of the executable (.exe) or library (.dll) is invalid.)
C:\Users\nmiksa-golden\Downloads\zed-UE5-main\zed-UE5-main\Plugins\Stereolabs\Source\SpatialMappingEditor\SpatialMappingEditor.Build.cs(19,9): error CS0103: The name ‘UndefinedIdentifierWarningLevel’ does not exist in the current context
C:\Users\nmiksa-golden\Downloads\zed-UE5-main\zed-UE5-main\Plugins\Stereolabs\Source\SpatialMapping\SpatialMapping.Build.cs(21,9): error CS0103: The name ‘UndefinedIdentifierWarningLevel’ does not exist in the current context
C:\Users\nmiksa-golden\Downloads\zed-UE5-main\zed-UE5-main\Plugins\Stereolabs\Source\EnvironmentalLighting\EnvironmentalLighting.Build.cs(21,9): error CS0103: The name ‘UndefinedIdentifierWarningLevel’ does not exist in the current context
C:\Users\nmiksa-golden\Downloads\zed-UE5-main\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Stereolabs.Build.cs(26,9): error CS0103: The name ‘UndefinedIdentifierWarningLevel’ does not exist in the current context
C:\Users\nmiksa-golden\Downloads\zed-UE5-main\zed-UE5-main\Plugins\Stereolabs\Source\ZED\ZED.Build.cs(31,9): error CS0103: The name ‘UndefinedIdentifierWarningLevel’ does not exist in the current context
Total execution time: 7.43 seconds
Expecting to find a type to be declared in a target rules named ‘ZEDSamplesTarget’. This type must derive from the ‘TargetRules’ type defined by UnrealBuildTool.”

Hi, which UE version were you using ?

This is was with Unreal Engine 5.6, though to be honest I’ve tried with 5.4 - 5.7. My project is technically in 5.7.

Hi,

I could not reproduce the issue with UE5.7 and the latest version of the repo.

Are you using an older version?

As far as I’m aware I was, I can double check once I’m able to get back into my in office PC, I unfortunately had a mishap with my knee and have to work from home for at least this week.

I recently published a new version to be compatible with the ZED SDK V5.4. You were, most likely, using the previous one, for 5.3. If possible, try to update both the ZED SDK and the plugin version.