1
Graphics / Including GLEW and SFML/Graphics
« on: June 08, 2013, 05:37:18 am »
I'm using SFML 2.0 and including GL/glew.h, SFML/Window.hpp, SFML/Graphics.hpp and SFML/OpenGL.hpp and if I omit the SFML/Graphics module everything works fine and I'm able to render OpenGL as expected. However I wanted to use SFML/Graphics to display text strings in the window. This resulted in errors due to the GLEW items in sfml-graphics-s-d.lib already being defined in glew32s.lib. I'm currently linking to both SFML and GLEW using the static libraries and have SFML_STATIC and GLEW_STATIC defined in the preprocessor.
Any advice on this would be greatly appreciated, thanks!
Any advice on this would be greatly appreciated, thanks!