I'm compiling a program with Visual Studio 2017 that links with the precompiled static version of libusb, available here.
When I tried to link it I got some unresolved symbols like these and the answers pointed me to legacy_stdio_definitions.lib
which resolved all of the linker errors except:
unresolved external symbol __imp__iob
This page from Microsoft talks about legacy_stdio_definitions.lib
and says it provides __imp___iob
but doesn't mention __imp__iob
(note the different number of underscores).
What's going on here?
(Also, yes mixing CRT versions is a bad idea and I should really compile libusb from source. I know.)