microsoft / qsharp-compiler

Q# compiler, command line tool, and Q# language server
https://docs.microsoft.com/quantum
MIT License
682 stars 171 forks source link

Ubuntu 20.04 copiled error(150) #948

Open WormerKing opened 3 years ago

WormerKing commented 3 years ago

Hello dear development team With dotnet in Ubuntu 20.04 release https://docs.microsoft.com/tr-tr/azure/quantum/install-command-line-qdk?tabs=tabid-vscode I installed it on my system by following the steps, but when compiling it does not compile the code by giving the code 150. Thank you Error message

/home/tuncay/.nuget/packages/microsoft.quantum.sdk/0.15.2103133969/Sdk/Sdk.targets(62,5): error MSB3073: "dotnet" /home/tuncay/.nuget/packages/microsoft.quantum .sdk / 0.15.2103133969 / DefaultItems /../ tools / utils / Microsoft.Quantum.Sdk.BuildConfiguration.dll "-v Normal --output" obj / qsharp / config / qsc.config "--QscReferences" (/ home /tuncay/.nuget/packages/microsoft.quantum.csharpgeneration/0.15.2103133969/build//../lib/netstandard2.1/Microsoft.Quantum.CSharpGeneration.dll, -1) "" command exited with code 150. [/home/tuncay/projeler/Q-sharp/Q-sharp.csproj]

Compilation failed. Correct compilation errors and rerun.
bettinaheim commented 3 years ago

@WormerKing Thanks for filing. Could you please post the full output that you are getting when building, the project file for the project you are building, and the output of dotnet --info?

WormerKing commented 3 years ago

dotnet --info output: .NET SDK (reflects global.json if available): Version: 5.0.301 Commit: cc8c0abb32

Runtime Environment: OS Name: ubuntu OS Version: 20.04 OS Platform: Linux RID: ubuntu.20.04-x64 Base Path: /usr/share/dotnet/sdk/5.0.301/

Host (useful for support): Version: 5.0.7 Commit: 556582d964

.NET SDKs installed: 5.0.301 [/usr/share/dotnet/sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 5.0.7 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 5.0.7 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-download