ssleay32.lib(d1_both.obj) : error LNK2001: unresolved external symbol ___iob_func
解决办法,在 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; }
因为时间关系,我还没有去找根本性的原因。
PS:会笑的人,运气通常都会比别人好。
posted on 2019-12-23 14:14 thinkinc999 阅读(723) 评论(1) 编辑 收藏 举报