首页 > 其他 > 详细

ssleay32.lib(d1_both.obj) : error LNK2001: unresolved external symbol ___iob_func

时间:2019-12-23 14:43:02      阅读:147      评论:0      收藏:0      [点我收藏+]

解决办法,在 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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!