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

Author Topic: Undefined reference to sf::Font  (Read 1118 times)

0 Members and 1 Guest are viewing this topic.

Xrey274

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Undefined reference to sf::Font
« on: May 19, 2018, 12:26:23 pm »
So a couple of weeks ago I decided to install SFML  to try to make a game. Quick after installing it  I was faced with an error(the title). I went to a forum to seek help and after trying to help me the people there advised me to come here. Here is a link to the thread: http://www.dreamincode.net/forums/topic/410920-sfml-undefined-reference-to/page__p__2364761__fromsearch__1&#entry2364761
There you will find what errors i got and what i've tried to fix them.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10821
    • View Profile
    • development blog
    • Email
Re: Undefined reference to sf::Font
« Reply #1 on: May 19, 2018, 03:52:04 pm »
The compiler you use must 100% match the one used to build the SFML binaries.

If you use pre-compiled binaries from the download page, you'll find the used compilers linked on that page.

If you want to use your own compiler, you can also build from source, as was pointed out in the other thread.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Xrey274

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Undefined reference to sf::Font
« Reply #2 on: May 19, 2018, 06:18:53 pm »
1st If you read the thread that I linked you would know that I did build the source code. 2nd after downloading the compiler where do i put it?

Xrey274

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Undefined reference to sf::Font
« Reply #3 on: May 21, 2018, 08:05:36 pm »
Any response?