• FEATURED

View more

View more

View more

\$5

### Image of the Day Submit

IOTD | Top Screenshots

## GLEW and GLSL linker errors...

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

6 replies to this topic

### #1OpenGL_Guru  Members

Posted 13 January 2005 - 08:25 AM

hi all.. i am trying to do a little GLSL while i take a break from my terrain project and i keep getting the following linker errors: i am using vc6 and i have the glew.dll in my system32 folder and the glew32mx.lib added to my link tab in setting in vc6. what am i doing wrong? i know i should go ahead and get OGL 2.0 so i wont have to use extensions anymore. hehe.
--------------------Configuration: glutglsl - Win32 Debug--------------------
glutglsl.obj : error LNK2001: unresolved external symbol __imp____glewUseProgramObjectARB
glutglsl.obj : error LNK2001: unresolved external symbol __imp____glewLinkProgramARB
glutglsl.obj : error LNK2001: unresolved external symbol __imp____glewAttachObjectARB
glutglsl.obj : error LNK2001: unresolved external symbol __imp____glewCreateProgramObjectARB
glutglsl.obj : error LNK2001: unresolved external symbol __imp____glewCompileShaderARB
glutglsl.obj : error LNK2001: unresolved external symbol __imp____glewShaderSourceARB
glutglsl.obj : error LNK2001: unresolved external symbol __imp____glewCreateShaderObjectARB
glutglsl.obj : error LNK2001: unresolved external symbol __imp____GLEW_ARB_fragment_program
glutglsl.obj : error LNK2001: unresolved external symbol __imp____GLEW_ARB_vertex_program
glutglsl.obj : error LNK2001: unresolved external symbol __imp__glewInit
Debug/glutglsl.exe : fatal error LNK1120: 10 unresolved externals

glutglsl.exe - 11 error(s), 0 warning(s)



### #2Slug  Members

Posted 14 January 2005 - 07:17 AM

This is a linker error, they must be some library you forgot to include with your project.

### #3OpenGL_Guru  Members

Posted 14 January 2005 - 07:50 AM

this was the library that came with glew...

glew32mx.lib

thats the only one that i have...

### #4gulgi  Members

Posted 16 January 2005 - 07:13 PM

Quote:
 Original post by OpenGL_Guruthis was the library that came with glew...glew32mx.lib thats the only one that i have...
Mine is called glew32.lib. Are you sure you have the latest version..? (I am using vc7.1.. but it should work with version 6 as well)

### #5OpenGL_Guru  Members

Posted 19 January 2005 - 03:19 AM

yes i am using the latest version yes.. what was the link where you got yours? maybe as a last resort you could send me glew32.lib. when i ran the build that came with the zip it created a glew32mx.dll which is where i get the glew32mx.dll from.

### #6BlackBox  Members

Posted 19 January 2005 - 04:39 AM

Quote:
 Original post by OpenGL_Guruyes i am using the latest version yes.. what was the link where you got yours? maybe as a last resort you could send me glew32.lib. when i ran the build that came with the zip it created a glew32mx.dll which is where i get the glew32mx.dll from.

http://glew.sourceforge.net/

Just follow the instructions inside the zip file.

### #7OpenGL_Guru  Members

Posted 19 January 2005 - 05:18 AM

well thanks for that site.. that is where i went before but now they have in red lettering about the latest zip file download that there were some errors in it. i suspect i may have just gotten unlucky and gotten this.. anyway i got it right this time.. thanks all for help anyway...

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.