Skip to content

Commit 1b74f71

Browse files
NancyLi1013xlz
authored andcommitted
Add vcpkg installation instructions
1 parent 73e1a24 commit 1b74f71

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,16 @@ When you report USB issues, please attach relevant debug log from running the pr
146146
* Test OpenNI2 (optional)
147147
148148
Copy freenect2-openni2.dll, and other dll files (libusb-1.0.dll, glfw.dll, etc.) in `install\bin` to `C:\Program Files\OpenNI2\Tools\OpenNI2\Drivers`. Then run `C:\Program Files\OpenNI\Tools\NiViewer.exe`. Environment variable `LIBFREENECT2_PIPELINE` can be set to `cl`, `cuda`, etc to specify the pipeline.
149+
* Install and build - Using vcpkg
150+
You can download and install libfreenect2 using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
151+
```
152+
git clone https://github.com/Microsoft/vcpkg.git
153+
cd vcpkg
154+
./bootstrap-vcpkg.sh
155+
./vcpkg integrate install
156+
vcpkg install libfreenect2
157+
```
158+
The libfreenect2 port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
149159
150160
### MacOS
151161

0 commit comments

Comments
 (0)