microsoft / HoloLensForCV

Sample code and documentation for using the Microsoft HoloLens for Computer Vision research
MIT License
475 stars 154 forks source link

OpenCV lib corrupt #150

Closed abdullahthabit closed 3 years ago

abdullahthabit commented 3 years ago

Hi,

I have been trying to run the CameraWithCVCalibration sample, but I ran into an error with linking the OpenCV static library. It seems the linker doesn't recognize the binaries in the library.

Error: HoloLens2ForCV-main\Samples\CameraWithCVAndCalibration\OpenCvInstallArm64-412d\x64\vc15\staticlib\opencv_world412d.lib : fatal error LNK1107: invalid or corrupt file: cannot read at 0x86

This also happens with the release version of the library: opencv_world412.lib

I am building the solution on a vs 2019. Any idea what is the issue? Thank you!

abdullahthabit commented 3 years ago

Appologies, This was issue was for the HoloLens2ForCV