Undefined reference to `_imp__glewInit@0'

前端 未结 3 1254
野性不改
野性不改 2020-12-10 14:48

I have built the glew lib so many times. My last build removed the undefined references to all the shader functions such as glCreateShader(). I think this build

3条回答
  •  无人及你
    2020-12-10 15:54

    Save yourself a lot of trouble and just add the glew.c to your project directly. I do not understand why people fight so hard to link to it externally. The license is friendly, and it is only one source file. Just remember to #define GLEW_STATIC.

提交回复
热议问题