Warning: corrupt .drectve at end of def file

user3325226 picture user3325226 · Aug 6, 2014 · Viewed 9.7k times · Source

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.

Answer

Ronald Weidner picture Ronald Weidner · Sep 20, 2014

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