0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UE5.7でGithub版をVisualStudio2026を使う際のエラー

0
Posted at

Experimental Visual Studio 2026 support.

UE5.7からVisaulStudio2026で実験的として有効になりました。
主にGithubからソースをビルドするケースでは、VisualStudio2026のみインストールされている環境ではUnrealBuildToolが正常に動作しないケースがあります。
なので、UnrealBuildToolを改造してプロジェクト生成が正常に動作する為の手順をまとめます。

Engine\Source\Programs\Enterprise\Datasmith\DatasmithMaxExporter\DatasmithMax2017.Target.cs


public DatasmithMaxBaseTarget(TargetInfo Target)
	: base(Target)
{
  // 省略
  else
  {
    // ここで直接VisualStudio2022が指定されているので2026に書き換える
	//WindowsPlatform.Compiler = WindowsCompiler.VisualStudio2022;
	WindowsPlatform.Compiler = WindowsCompiler.VisualStudio2026;
	AdditionalCompilerArguments = "/Zc:referenceBinding- /Zc:strictStrings- /Zc:rvalueCast- /Zc:preprocessor-";
  }

}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?