Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
797 views
in Technique[技术] by (71.8m points)

opengl - Warning: corrupt .drectve at end of def file

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...