警告:def 文件末尾的 .drectve 损坏 [英] Warning: corrupt .drectve at end of def file

查看:60
本文介绍了警告:def 文件末尾的 .drectve 损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 gcc/mingw 在 eclipse cdt(c++) 中安装了 glew、glfw 和 glm,所有这些都是静态的.一切正常,但我不喜欢 eclipse 输出控制台中的警告:

I installed glew, glfw and glm in eclipse cdt(c++) with the gcc/mingw, all statically. All works fine, but I don't like the warning in the output console of eclipse:

警告:def 文件末尾的 .drectve 损坏

Warning: corrupt .drectve at end of def file

如何修复和隐藏此警告?什么意思?

How I can fix and hide this warning ? What does it mean ?

我注意到,这个警告只有在我调用glewInit"函数时才会出现.

And what I noticed is, that this warning comes only, if I call the 'glewInit' function.

推荐答案

当我遇到这个问题时,是因为我正在链接不兼容的 MSVC 库.keltar 的评论帮助我解决了这个问题.

When I ran into this problem it was because I was linking against incompatible MSVC libs. A comment by keltar helped me through this problem.

SDL 2.0:链接错误

这篇关于警告:def 文件末尾的 .drectve 损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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