Mesaje : 335
Data de inscriere : 27/08/2011
Varsta : 22
Localizare : Romania
|Subiect: Glew errors after linking, undefined reference to function, fixing guide, misplaced files Sam Apr 02, 2016 2:31 am|| |
How to fix glew errors as: undefined reference to "_imp__glewGenBuffers", "_imp__glewBindBuffer", "_imp__glewBufferData", "_imp__glewEnableVertexAttribArray", "_imp__glewVertexAttribPointer" etc.
Cause: many times this errors appear when the libraries are misplaced, example: When libraries for VS (Microsoft Visual Studio) are installed and linked to and IDE that should use MINGW, or viceversa.
Glew version for MINGW is hard to find, so here is a link to it:Glew 1.10.0 for MINGW Source 1Glew 1.10.0 for MINGW Source 2
Fix: Check your files, remember, VS libraries has the extension .lib, mingw libraries has the extension .a
Other causes: Bad Linking, remember the linking between a Mingw IDE and VS are different:see here more notes!
More information: read here!