Trouble with -lGLEW

I just installed everything on this machine; it’s a fresh install of 64-bit RHEL5. I installed (to the best of my knowledge) the 0.9-compatible graphics drivers, the 0.9 toolkit, and the 0.9 SDK. When I try to ‘make’ in the root directory of the SDK, it compiles any project without problems until it gets to one that requires openGL:

/usr/bin/ld: skipping incompatible …/…/common/lib/libGLEW.a when searching for -lGLEW
/usr/bin/ld: cannot find -lGLEW

From what I gather, this has to do with the fact that the libGLEW.a that is a part of the SDK is 32-bit and won’t work for 64-bit. Is there anything I can do to get around this (other than just getting rid of the projects that require openGL)?

Sorry for my lack of experience or any lack of providing information.

For the time being you can download and compile it yourself:

http://glew.sourceforge.net

Just replace the libGLEW.a in the SDK with the one from your 64-bit compilation.

Thanks! That worked perfectly!