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

Author Topic: i am having trouble due to these error..how can i solve it??  (Read 270 times)

0 Members and 1 Guest are viewing this topic.

naearp

  • Newbie
  • *
  • Posts: 2
    • View Profile
i am having trouble due to these error..how can i solve it??
« on: February 06, 2020, 04:10:30 pm »
Severity   Code   Description   Project   File   Line   Suppression State
Error   LNK2019   unresolved external symbol _FT_New_Face referenced in function "public: bool __thiscall sf::Font::loadFromFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?loadFromFile@Font@sf@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)   test 1   F:\test 1\test 1\sfml-graphics-s-d.lib(Font.cpp.obj)   1   

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9405
    • View Profile
    • development blog
    • Email
Re: i am having trouble due to these error..how can i solve it??
« Reply #1 on: February 06, 2020, 07:03:31 pm »
You need to link freetype if you're linking SFML statically.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

naearp

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: i am having trouble due to these error..how can i solve it??
« Reply #2 on: February 07, 2020, 12:04:50 pm »
thanks :) :) :)