Terminal: Platform='ARM64' build failed.

Created on 7 May 2019  路  10Comments  路  Source: microsoft/terminal

Build FAILED.

"D:\Terminal\OpenConsole.sln" (default target) (1) ->
"D:\Terminal\src\host\exe\Host.EXE.vcxproj.metaproj" (default target) (2) ->
"D:\Terminal\srcbuffer\out\libbufferout.vcxproj" (default target) (3) ->
(InvalidPlatformError target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Cpp.InvalidPlatform.Targets(22,7): error MSB8007: The Platform for project 'bufferout.vcxproj' is invalid. Platform='ARM64'. You may be
seeing this message because you are trying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project. [D:\Terminal\srcbuffer\out\libbufferout.vcxproj]

Resolution-Answered

Most helpful comment

This works for me:
msbuild openconsole.sln /p:Platform=x64

All 10 comments

This works for me:
msbuild openconsole.sln /p:Platform=x64

This works for me:
msbuild openconsole.sln /p:Platform=x64

Great! It works:)

This works for me:
msbuild openconsole.sln /p:Platform=x64

nice work

Compiling for me now, would it be worth documenting this to make building a little easier?

https://github.com/microsoft/Terminal/tree/master/tools

I'm building it with the bcz tools now, please check the README file in /tools

not sure why arm64 is the default

not sure why arm64 is the default

It is Visual Studio. The default platform is selected by alphabet order. Add an .suo will fix that. However, .suo file should not be committed into repo.

I'm having this error now:

The OutputPath property is not set for project 'TerminalConnection.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [(...)\Terminal\src\cascadia\Termi
nalConnection\TerminalConnection.vcxproj]

@dwjorgeb I'd refer you to #489 for issues building.

Since this thread is about building for ARM64, and that's been answered, I'm going to close this issue

This works for me:
msbuild openconsole.sln /p:Platform=x64

How did you actually run it once you built it?

Was this page helpful?
0 / 5 - 0 ratings