用于_chkstk_ms()函数的windows库 [英] windows library for _chkstk_ms() function

查看:783
本文介绍了用于_chkstk_ms()函数的windows库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在Windows7中的VS 2015中构建了一个Windows项目。现在我必须使用一个用Mingw 64位构建的第三方库(用于Windows)。当我尝试链接这个库时,我收到一个编译错误: -

I have one windows project built in VS 2015 in windows7. Now I have to use one third party library built in Mingw 64 bit (for windows). When I try to link this library I am getting one compilation error :--

未解析的外部符号__chkstk_ms。

Unresolved external symbol __chkstk_ms.

现在我可以解决此问题我还使用了另外两个库 - libgcc.a和libssp.a。但是在我开始在某些例程中获取内存异常之后。我的猜测是我不应该通过使用这两个库来解决这个编译错误。而不是它,
应该是一些Windows库,它应该提供这个库的实现。

Now I can resolve this issue if I also use 2 more libs - libgcc.a and libssp.a. But after I have started getting memory exception in some routines. My guess is that I should not solve this compilation error by using these 2 libraries. Instead of it, there should be some windows library which should be providing implementation of this library.

有人可以建议正确的方法来解决这个链接错误。

Can someone please suggest right way to resolve this linking error.

谢谢

Dev

推荐答案

如果来源可用,最佳解决方案将是是使用VS2015重建第三方库
If the source is available the best solution would be to rebuild the third-party library using VS2015


这篇关于用于_chkstk_ms()函数的windows库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆