解决办法,在 stdafx.cpp 中加入:
// stdafx.cpp
#define stdin (__acrt_iob_func(0))
#define stdout (__acrt_iob_func(1))
#define stderr (__acrt_iob_func(2))
FILE _iob[] = { *stdin, *stdout, *stderr };
extern "C" FILE * __cdecl __iob_func(void) { return _iob; }
ssleay32.lib(d1_both.obj) : error LNK2001: unresolved external symbol ___iob_func
原文:https://www.cnblogs.com/thinkinc999/p/12083487.html