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

OpenCV lib corrupt #66

Closed
abdullahthabit opened this issue Jan 20, 2021 · 2 comments
Closed

OpenCV lib corrupt #66

abdullahthabit opened this issue Jan 20, 2021 · 2 comments

Comments

@abdullahthabit
Copy link

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 causing the issue? Is it the library itself, or something to do with my linker settings? Any help is appreaciated!

@dorinung
Copy link
Contributor

dorinung commented Feb 3, 2021

Most likely https://git-lfs.github.com/ is needed on your clone.

Thanks

@abdullahthabit
Copy link
Author

It did solve the issue. Thank you @dorinung!

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