I, I'm trying to use glew in a library using SFML to add the 3D but, it doesn't seems to work.
I have those errors when I want to use my library : (And it happens since I'm using tdm-gcc, but when I link only opengl there isn't any link errors.)
C:\ODFAEG\lib\libsfgl-graphics-s.a(renderTarget.cpp.obj):renderTarget.cpp|| undefined reference to `_imp____GLEW_EXT_blend_func_separate'|
C:\ODFAEG\lib\libsfgl-graphics-s.a(renderTarget.cpp.obj):renderTarget.cpp|| undefined reference to `_imp____glewBlendFuncSeparateEXT'|
C:\ODFAEG\lib\libsfgl-graphics-s.a(renderTarget.cpp.obj):renderTarget.cpp|| undefined reference to `_imp____GLEW_EXT_blend_func_separate'|
C:\ODFAEG\lib\libsfgl-graphics-s.a(renderTarget.cpp.obj):renderTarget.cpp|| undefined reference to `_imp____glewBlendFuncSeparateEXT'|
C:\ODFAEG\lib\libsfgl-graphics-s.a(renderTarget.cpp.obj):renderTarget.cpp|| undefined reference to `_imp____glewBlendFuncSeparateEXT'|
||=== Build finished: 5 errors, 0 warnings (0 minutes, 0 seconds) ===|
It seems it doesn't find the glew libs in my lib using SFML, it compile well when I compile my library but it fails when I want to use it.