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

[openni2:x64-windows] build failure #14550

Closed
eltonhcchan opened this issue Nov 12, 2020 · 3 comments
Closed

[openni2:x64-windows] build failure #14550

eltonhcchan opened this issue Nov 12, 2020 · 3 comments
Assignees
Labels
category:question This issue is a question

Comments

@eltonhcchan
Copy link

eltonhcchan commented Nov 12, 2020

Host Environment
OS: Windows 10 Home Version 2004 OS build 19041.630
Package: openni2:x64-windows
Vcpkg version: 2020.11.09-nohash

To Reproduce
Steps to reproduce the behavior:
.\vcpkg install openni2:x64-windows

Failure logs
c:\src\vcpkg>vcpkg install openni2:x64-windows
Computing installation plan...
The following packages will be built and installed:
openni2[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: openni2:x64-windows
Building package openni2[core]:x64-windows...
Could not locate cached archive:
CMake Error at ports/openni2/portfile.cmake:7 (message):
Could not find <cor.h>. Ensure the NETFXSDK is installed.
Call Stack (most recent call first):
scripts/ports.cmake:136 (include)

Error: Building package openni2:x64-windows failed with: BUILD_FAILED

log files.

stdout-x64-windows.log
x64-windows.vcpkg_abi_info.txt

Additional information
.NET Framework 4.8 or a later update has already installed.

@StarGate-One
Copy link
Contributor

When you installed the Windows SDK, did you include the NETFXSDK as the file "cor.h" included within?
It would be found in C:\Program Files (x86)\Windows Kits\NETFXSDK\<dot-net-version>\Include\um.

@JonLiu1993
Copy link
Member

@eltonhcchan ,Thanks for posting this issue. If you install successfully, you will find your cor.h file in this path:C:\Program Files (x86)\Windows Kits\NETFXSDK<dot-net-version>\Include\um, if you don’t find it, you can reinstall and try

@JonLiu1993 JonLiu1993 added the category:question This issue is a question label Nov 13, 2020
@eltonhcchan
Copy link
Author

it works after I reinstall NETFSDK. thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants