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

Question about using Azure Kinect SDK with CMake #61

Open
AreteQin opened this issue Jan 11, 2021 · 1 comment
Open

Question about using Azure Kinect SDK with CMake #61

AreteQin opened this issue Jan 11, 2021 · 1 comment

Comments

@AreteQin
Copy link

Hello there!

Thank you for sharing this excellent SLAM system with us first!

While I was trying to using BAD-SLAM with Azure Kinect on Ubuntu 1804, I don't know why, but the CMake could not find the packages k4a and k4arecord.

I built the Azure Kinect SDK from source code, and I can open Azure Kinect now.

I tried to add the binary files of SDK to /etc/bash.bashrc and ~/.bashrc like the following commands

sudo gedit /etc/bash.bashrc
#K4D
#K4D_PATH=$K4D_PATH:/home/arete/Desktop/Azure-Kinect-Sensor-SDK1.2/build/bin
#export K4D_PATH

sudo gedit ~/.bashrc
#K4D
#export CLASS_PATH=/home/arete/Desktop/Azure-Kinect-Sensor-SDK1.2/build/bin

But both methods didn't work. I don't know what should I do. Could anyone please give me some hints?

Thanks in advance!

@puzzlepaint
Copy link
Collaborator

When using the binary packages, did you install the package(s) ending with -dev as well? Only those seem to contain the CMake files.

In the case of installing from source, also either the CMake files need to be installed to a location where CMake looks for them, or CMake needs to be told where to search for them when invoking it. Not sure which variable(s) exactly need to be set for K4A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants