Warning: corrupt .drectve at end of def file

好久不见. 提交于 2019-12-23 07:57:18

问题


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:

Warning: corrupt .drectve at end of def file

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

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


回答1:


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: linking error



来源:https://stackoverflow.com/questions/25161814/warning-corrupt-drectve-at-end-of-def-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!