SFML community forums

Help => General => Topic started by: Xrey274 on May 19, 2018, 12:26:23 pm

Title: Undefined reference to sf::Font
Post by: Xrey274 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.
Title: Re: Undefined reference to sf::Font
Post by: eXpl0it3r 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.
Title: Re: Undefined reference to sf::Font
Post by: Xrey274 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?
Title: Re: Undefined reference to sf::Font
Post by: Xrey274 on May 21, 2018, 08:05:36 pm
Any response?