dotnet-warp
dotnet-warp copied to clipboard
Error: dotnet-warp only supports x64 architectures
I get this error when running dotnet-warp:
dotnet-warp only supports x64 architectures
No explanation or suggestions on how to resolve the issue. Any ideas?
Running Windows 10 x64
I suggest you check sizeof(IntPtr), there is a bug with your check at https://github.com/Hubert-Rybak/dotnet-warp/search?utf8=%E2%9C%93&q=dotnet-warp+only+supports+x64+architectures&type=
https://github.com/dotnet/corefx/issues/25267
The bug you linked is for .NET 4.7.1, and this tool works on .NET Core >2.1. Are you 100% you are running on x64? What is the output of "SET Processor" command?
Next thing you could try is to run warp manually to confirm its working: Here are the instructions: https://github.com/dgiagio/warp#windows-1
I got it to work on mac, I just don't know how you'd specify it to run on something besdies the default system it's being built on. Although usually the rule is you need a mac to buid the mac binary, e.g. mac should be able to build windows, linux and mac, windows should be able to do windows, and maybe linux, but not mac.
I just run warp manually.
dotnet publish -c Release -r win-x64
dotnet publish -c Release -r osx.10.12-x64
dotnet publish -c Release -r ubuntu.16.04-x64
./warp-packer --arch macos-x64 --input_dir bin/Release/netcoreapp2.2/osx.10.12-x64/publish --exec build.exe --output build.exe.osx.10.12-x64
./build.exe --server.urls http://0.0.0.0:5000
I am getting the dotnet-warp only supports x64 architectures. error. Brand new .net core 3.0 project (set to x64). What is causing this?
There is a check to ensure that you are running x64, because warp only supports x64. There is a check:
https://github.com/Hubert-Rybak/dotnet-warp/blob/af7e332c11f46bf68f98d0467f26709473779817/src/dotnet-warp/Platform.cs#L11
So basically, RuntimeInformation.ProcessArchitecture must reporting something different than x64. @lastlink could you check whats the output of RuntimeInformation.ProcessArchitecture on Mac? @mgamache are you also running Mac?
Sorry no I am running Win 10 (64bit).