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

Author Topic: cannot find -ljpeg error  (Read 2603 times)

0 Members and 1 Guest are viewing this topic.

Programmy

  • Newbie
  • *
  • Posts: 19
    • View Profile
cannot find -ljpeg error
« on: June 10, 2018, 08:12:03 am »
I installed SFML, but it shows this error when I compile it with the opening a window code. need help pls

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: cannot find -ljpeg error
« Reply #1 on: June 10, 2018, 09:01:32 am »
Because libjpeg isn't a dependency of SFML anymore as of SFML 2.5.
« Last Edit: June 10, 2018, 09:28:34 am by eXpl0it3r »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Programmy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: cannot find -ljpeg error
« Reply #2 on: June 10, 2018, 03:52:48 pm »
how do I make it compile  then?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: cannot find -ljpeg error
« Reply #3 on: June 10, 2018, 04:36:12 pm »
By not linking against libjpeg.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/