terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Platform='ARM64' build failed.

Open CanoeFZH opened this issue 7 years ago • 10 comments

Build FAILED.

"D:\Terminal\OpenConsole.sln" (default target) (1) -> "D:\Terminal\src\host\exe\Host.EXE.vcxproj.metaproj" (default target) (2) -> "D:\Terminal\src\buffer\out\lib\bufferout.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\src\buffer\out\lib\bufferout.vcxproj]

CanoeFZH avatar May 07 '19 08:05 CanoeFZH

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

aar0nz avatar May 07 '19 08:05 aar0nz

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

Great! It works:)

CanoeFZH avatar May 07 '19 09:05 CanoeFZH

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

nice work

csy19960309 avatar May 07 '19 09:05 csy19960309

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

audac1ty avatar May 07 '19 09:05 audac1ty

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

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

aar0nz avatar May 07 '19 09:05 aar0nz

not sure why arm64 is the default

bleedingpixels avatar May 07 '19 13:05 bleedingpixels

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.

bef178 avatar May 07 '19 13:05 bef178

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 avatar May 07 '19 14:05 dwjorgeb

@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

zadjii-msft avatar May 07 '19 15:05 zadjii-msft

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

How did you actually run it once you built it?

NetherGranite avatar Jun 10 '19 07:06 NetherGranite