-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[realsense2] Enable OpenNI2 driver option #5275
Conversation
UnaNancyOwen
commented
Jan 31, 2019
- Update realsense2 port to librealsense v2.18.0.
- Add OpenNI2 driver option.
263e262
to
f69353a
Compare
Update realsense2 port to librealsense v2.18.0.
f69353a
to
843ab91
Compare
@vicroms Why did you do this operation? |
I had a local branch of this PR for testing that became outdated, I had to merge it with master in order to get regression results from the CI system. Please feel free to revert my commits if they had an adverse effect. Also, the CI build reported regressions on x86, x64, and x64-static that I haven't been able to reproduce locally, which is strange... I'll queue a fresh build and wait for results. |
0a35e14
to
843ab91
Compare
Add OpenNI2 driver option.
843ab91
to
29d9252
Compare
@vicroms I fixed some problem. |
Sorry for the long delay. I tried installing
It looks like the build is not finding the installed OpenNI2 headers. |
@vicroms Thanks, I fixed it. Please re-confirm. |
Looks like that fixed the build with the OpenNI feature, however we still have problems in the CI machine. Specifically, it fails in the configure step when trying to fetch
|
Hmmm, libusb port can not be installed on my environments. |
I'm able to install I'm using the latest portfile version from master
|
It is this error libusb/libusb#207.
|
@vicroms I tried it, but I gave up because it was difficult for me at least. :'( |
Update to 2.19 is being handled in PR #5777 @UnaNancyOwen |
@vicroms No, OpenNI2 driver is included since RealSense SDK v2.16.2 (or later). However, This port is RealSense SDK v2.16.1 in the current vcpkg (master/HEAD). |
Thanks for the PR! |
@@ -63,5 +70,11 @@ if(BUILD_EXAMPLES) | |||
endif() | |||
endif() | |||
|
|||
|
|||
if(BUILD_OPENNI2_BINDINGS) | |||
file(COPY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/_out/rs2driver* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
error
CMake Error at ports/realsense2/portfile.cmake:75 (file):
file COPY cannot find
"E:/tools/vcpkg/buildtrees/realsense2/x64-windows-rel/_out/rs2driver*".
Call Stack (most recent call first):
scripts/ports.cmake:74 (include)
ls E:/tools/vcpkg/buildtrees/realsense2/x64-windows-rel/_out/rs2driver*
E:/tools/vcpkg/buildtrees/realsense2/x64-windows-rel/_out/rs2driver.dll
E:/tools/vcpkg/buildtrees/realsense2/x64-windows-rel/_out/rs2driver.dll.manifest
E:/tools/vcpkg/buildtrees/realsense2/x64-windows-rel/_out/rs2driver.exp
E:/tools/vcpkg/buildtrees/realsense2/x64-windows-rel/_out/rs2driver.lib
E:/tools/vcpkg/buildtrees/realsense2/x64-windows-rel/_out/rs2driver.pdb
copy tools /openni2 ? *.lib? why?