undefined reference to '_imp___glewGenBuffers'

后端 未结 2 1202
有刺的猬
有刺的猬 2021-01-24 17:51

I am having the following link errors regarding glew library when compiling an opengl 2.1 program on code blocks,mingw.

obj\\Debug\\LUtil.o||In function `Z6rende         


        
相关标签:
2条回答
  • 2021-01-24 18:15

    Link the library glew32s.lib also. Put this linker at the top of linker list.

    0 讨论(0)
  • 2021-01-24 18:17

    This can be caused by attempting to use an MSVC lib under mingw. Either download a library compiled for mingw, or compile your own.

    0 讨论(0)
提交回复
热议问题