Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xorg-dev and libsoundio-dev dependencies missing in linux build docs #405

Closed
37 opened this issue Jun 11, 2019 · 3 comments · Fixed by #414
Closed

xorg-dev and libsoundio-dev dependencies missing in linux build docs #405

37 opened this issue Jun 11, 2019 · 3 comments · Fixed by #414
Assignees
Labels
Bug Something isn't working Documentation This issue affects the documentation Triage Approved The Issue has been approved by an Azure Kinect team member.

Comments

@37
Copy link

37 commented Jun 11, 2019

Quick / simple one.

When following the instructions to build from source on linux I found xorg-dev is a dependency not listed alongside the others.

See: https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/docs/building.md#linux-dependencies

My system information:
Ubuntu 18.04 running i3 with x.

Command entered:
Step2.

cmake .. -GNinja

Errors:

CMake Error at extern/glfw/src/CMakeLists.txt:222 (message):
  The RandR library and headers were not found
-- Configuring incomplete, errors occurred!

Attempted installing just libxrandr-dev (sudo apt install libxrandr-dev), which progressed the install to another error:

-- Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR)
-- Using X11 for window creation
CMake Error at extern/glfw/src/CMakeLists.txt:231 (message):
  The Xinerama library and headers were not found

So I just installed the full xorg-dev:
sudo apt install xorg-dev

and cmake runs successfully.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/noom/Code/kinect/Azure-Kinect-Sensor-SDK/build

Edit: after cmake, when running 'ninja' another dependency presented itself:

$ ninja

ninja: error: 'LIBSOUNDIO_LIB-NOTFOUND', needed by 'bin/k4aviewer', missing and no known rule to make it

Resolved by installing libsoundio-dev

sudo apt install libsoundio-dev
cmake .. -GNinja
ninja

Then the SDK built successfuly.

Suggested action:

add xorg-dev, libsoundio-dev to list of build deps.

@37 37 added Bug Something isn't working Triage Needed The Issue still needs to be reviewed by Azure Kinect team members. labels Jun 11, 2019
@37 37 changed the title xorg-dev linux build dependency missing in docs xorg-dev and libsoundio-dev linux build dependencies missing in docs Jun 11, 2019
@37 37 changed the title xorg-dev and libsoundio-dev linux build dependencies missing in docs xorg-dev and libsoundio-dev dependencies missing in linux build docs Jun 11, 2019
@wes-b wes-b added the Documentation This issue affects the documentation label Jun 12, 2019
@DerekMa-WP
Copy link
Contributor

The "building.md" documentation references a list of dependencies and references a script that will install all dependencies. The list of dependencies in the documentation is what is out of date, the script should install everything appropriately. We should consider just referencing the script itself as the source of truth for the list of dependencies.

@schultetwin1 schultetwin1 added Triage Approved The Issue has been approved by an Azure Kinect team member. and removed Triage Needed The Issue still needs to be reviewed by Azure Kinect team members. labels Jun 14, 2019
@schultetwin1 schultetwin1 self-assigned this Jun 14, 2019
@schultetwin1
Copy link
Contributor

Thank you for reporting! I'm on it

@schultetwin1
Copy link
Contributor

I've change the documentation to just point towards the installation script. That script is run in CI and so should be kept up to date.

@tesych tesych added this to In Progress in Azure Kinect Sensor SDK Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Documentation This issue affects the documentation Triage Approved The Issue has been approved by an Azure Kinect team member.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants