the solution was found by my friend on the Internet on this site. if you add a line
CppStandard = CppStandardVersion.Cpp17;
to the "projectname".Build.cs
, the library starts working, but this does not affect the version of the standard itself and is not displayed in the function cplusplus
my Build.cs file after adding the line
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
public class GpsTestV2 : ModuleRules
{
public GpsTestV2(ReadOnlyTargetRules Target) : base(Target)
{
CppStandard = CppStandardVersion.Cpp17;
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });
PrivateDependencyModuleNames.AddRange(new string[] { });
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
}
}