警告:def文件末尾的.drectve损坏 [英] Warning: corrupt .drectve at end of def file
问题描述
我用gcc/mingw在静态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.
这篇关于警告:def文件末尾的.drectve损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!