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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - intweek

Pages: [1]
1
Graphics / Re: Using sf::Text and sf::Font in Windows ×64 MinGW
« on: May 31, 2023, 06:02:09 am »
The linker error tells FreeType is not linked.
If you link SFML statically, then you need to link its dependencies too. FreeType is one of the dependencies.

See the list of dependencies for each SFML module here: https://www.sfml-dev.org/faq.php#build-link-static
They are also listed in this tutorial: https://www.sfml-dev.org/tutorials/2.5/start-vc.php

So if I linked dynamically, I wouldn't need to do anything regarding downloading/linking freetype?

The question becomes, should I even link staticaly?

2
Graphics / Using sf::Text and sf::Font in Windows ×64 MinGW
« on: May 30, 2023, 09:31:18 pm »
Hello everyone,
I tried using sf::Text (or any other text related thing), but whenever I do so, I get a lot of errors, which all look like:

"Font.cpp:(.text+0x3178): undefined reference to `FT_Get_Char_Index"

What am I doing wrong?

NOTE: I am using VS code, windows 11, SFML is staticaly linked.

Pages: [1]