microsoft / microsoft/psi

Building Azure Kinect Component on Linux/Ubuntu Machine.

Open
#55 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
574
Forks
104
Avg merge
19m
Merged PRs (30d)
1

Description

I just downloaded the latest version of Psi and trying out the Azure Kinect Component. On my Ubuntu machine, it refused to build and throwing the following error. I built it using the build.sh script that came with Psi.

Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
/home/xiangzht/.nuget/packages/microsoft.azure.kinect.sensor/1.3.0/build/netstandard2.0/Microsoft.Azure.Kinect.Sensor.targets(4,5): error : Azure Kinect only supports the x86/x64 platform ('AnyCPU' not supported) [/home/xiangzht/Dev/Psi/psi/Sources/Kinect/Microsoft.Psi.AzureKinect.x64/Microsoft.Psi.AzureKinect.x64.csproj]

Build FAILED.

/home/xiangzht/.nuget/packages/microsoft.azure.kinect.sensor/1.3.0/build/netstandard2.0/Microsoft.Azure.Kinect.Sensor.targets(4,5): error : Azure Kinect only supports the x86/x64 platform ('AnyCPU' not supported) [/home/xiangzht/Dev/Psi/psi/Sources/Kinect/Microsoft.Psi.AzureKinect.x64/Microsoft.Psi.AzureKinect.x64.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.49

I tried and successfully run it on my Windows Partition, so it seemed to be a Linux issue. I'm trying to debug it but any pointers will be helpful (Including if it won't work on Ubuntu)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the repository's build.sh and the Microsoft.Psi.AzureKinect.x64.csproj named in the build error, then reproduce the Ubuntu build and compare it with the successful Windows build. Determine whether Azure Kinect is supported on Ubuntu and whether the documented build path handles the required platform; done means the support status or required build change is clear and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ubuntu
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.