Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Is libglew.a still needed by libsfml-graphics.a (and libsfml-graphics-s.a)?  (Read 1647 times)

0 Members and 1 Guest are viewing this topic.

Kvothe

  • Newbie
  • *
  • Posts: 11
    • View Profile
Here http://www.sfml-dev.org/faq.php#build-link-static it says that "glew" is a required library for using "sfml-graphics" (sfml-graphics-s in my case). But linking using MinGW from command line gives error "cannot find -lglew". If I remove this link then everything is fine and my program links and runs.

Looking in the libs directory of my install for SFML shows that libglew.a is not there. It isn't the dependencies folder for MinGW on GitHub either (https://github.com/SFML/SFML/tree/master/extlibs/libs-mingw/x86). Does this mean it is not required anymore?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Better look at the tutorial, looks like we haven't update the FAQ yet. ;)

With SFML 2.3 you don't need GLEW anymore.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Kvothe

  • Newbie
  • *
  • Posts: 11
    • View Profile
Thank you  :)

My current "project" is just trying out bits from the tutorials. I'd glossed over the dependencies and kept coming back to the FAQ for that though...  ;)