microsoft / HoloLens2ForCV

Sample code and documentation for using the Microsoft HoloLens 2 for Computer Vision research.
MIT License
479 stars 144 forks source link

CameraWithCVAndCalibration build error #89

Closed priyavada4 closed 3 years ago

priyavada4 commented 3 years ago

Hi

I seem to be running into an error while building CameraWithCVAndCalibration. I get the following error:

opencv_world412d.lib : fatal error LNK1107: invalid or corrupt file: cannot read at 0x86

I tried building OpenCV source for ARM64 and replacing the OpenCV related lib files. Although the solution was building successfully, I was running into runtime errors while starting the app with the following error:

The program '[1972] CameraWithCVAndCalibration.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.

I included the folder associated with the OpenCV dlls in the PATH but still no luck. Does anybody have any idea how to resolve this issue, i.e., build and run CameraWithCVAndCalibration successfully.

Thanks Priya

priyavada4 commented 3 years ago

Never mind. I figured out the error. I should have checked the closed issues. The problem was with git-lfs. Once that was installed, I was able to download, build and run the app correctly.

Priya