不知道vs2015链接 easyx库的时候哪里搞错了
vs2015吧
全部回复
仅看楼主
level 3
子伊王 楼主
新手入门,今天刚刚装了一个vs2015,用easyx后出现错误: 1>------ 已启动生成: 项目: ConsoleApplication4, 配置: Debug Win32 ------
1>easyxw.lib(EasyX.GraphWnd.obj) : error LNK2019: 无法解析的外部符号 ___iob_func,该符号在函数 "public: struct HWND__ * __thiscall EasyX::GraphWnd::InitGraphWnd(int,int,int)" (?InitGraphWnd@GraphWnd@EasyX@@QAEPAUHWND__@@HHH@Z) 中被引用
跪求解决方法
1>c:\users\documents\visual studio 2015\Projects\ConsoleApplication4\Debug\ConsoleApplication4.exe : fatal error LNK1120: 1 个无法解析的外部命令
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
2015年09月04日 10点09分 1
level 1
顶,遇到同样的问题
2016年04月30日 03点04分 2
现在你这个问题解决了吗
2016年08月07日 14点08分
@傻冒之歌 下载最新版的easyx就行了
2016年08月10日 23点08分
回复 子伊王 :不行的!刚试过
2016年08月11日 04点08分
在代码中加以下的代码就可以
#if _MSC_VER>=1900#
include "stdio.h" _ACRTIMP_ALT FILE* __cdecl __acrt_iob_func(unsigned); #ifdef __cplusplus extern "C" #endif FILE* __cdecl __iob_func(unsigned i) { return __acrt_iob_func(i); }#endif
2017年05月24日 05点05分
1