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.
The message
Warning: corrupt .drectve at end of def file
could also mean, that the project is being built with MinGW but the library it uses is created for Visual Studio.
MinGW and Visual Studio builds are not interchangeable.
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
I had this error in CLion for MinGW toolchain, but when I switched to VisualStudio toolchain, it disappeared.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With