microsoft / HoloLensForCV

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

Trying to build but LNK1356: cannot find library `*.lib' specified to be whole archived #16

Closed juansuerogit closed 6 years ago

juansuerogit commented 6 years ago

11>LINK : fatal error LNK1356: cannot find library `*.lib' specified to be whole archived 11>Done building project "Streamer.vcxproj" -- FAILED.

Im new at Unity, C++, as well as Hololens. :) I have Visual Studio 2017 15.5.2

my Visual Studio is configured for UWP if i recall.

polszta commented 6 years ago

Yes, there seems to have been a change in behavior for the linker in that regard. The fix is to remove the /WHOLEARCHIVE:* linker command line option from the failing projects. I'll see about cherry-picking the fix from a branch where the issue was already addressed.

polszta commented 6 years ago

This was fixed a while ago - closing the issue.