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

Author Topic: Can't create font face, can't load images.  (Read 1842 times)

0 Members and 1 Guest are viewing this topic.

sandwich hoop

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Can't create font face, can't load images.
« on: June 10, 2024, 10:25:21 am »
This happens even though all of the files are in the correct directories. (I've put them in every directory simultaneously to make sure it can't miss them, and it still can't find them). All of the code is correct and error free as it is copied exactly from another machine. I really do not know what else I've done wrong. I feel like there may have been something really basic that I've missed but I can't think of it. I've setup sfml about 4 times now.

Help appreciated.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Can't create font face, can't load images.
« Reply #1 on: June 10, 2024, 10:41:20 am »
Make sure you're not mixing debug and release libraries. In debug mode link the SFML libraries with the -d suffix. In release mode link the SFML libraries without the -d suffix.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/