Answer» Hello, I'm TRYING to make a Sphere Map, and I GET an error that says: Redeclaration of C++ built in type 'short'
That error comes from a .h file that i link to, which is included with OpenGL 3.7 Any ideas?what compiler are you using?DevC++Not familar with that; has this OpenGL library worked for other PROGRAMS? That is, have you used it and compiled successfully?
can you see the declaration that causes the error? You might be able to comment it out or change the declaration yourself to get it to compile successfully. Yeah. It's an error that comes up in the glsmap.h file, that is included in the GL/ FOLDER in both my includes (the GL folder, and my DevC++ include folder). OpenGL WORKS anytime else I build an OpenGL project. If i comment out the declaration (which is: typedef unsigned short wchar_t) it gives me a whole bunch of link errors that have to do with the glsmap.h file. I've tried to get a new version of the file, but it still gives me the same error.
|