SFML community forums

General => SFML website => Topic started by: naearp on February 06, 2020, 04:10:30 pm

Title: i am having trouble due to these error..how can i solve it??
Post by: naearp 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   
Title: Re: i am having trouble due to these error..how can i solve it??
Post by: eXpl0it3r on February 06, 2020, 07:03:31 pm
You need to link freetype if you're linking SFML statically.
Title: Re: i am having trouble due to these error..how can i solve it??
Post by: naearp on February 07, 2020, 12:04:50 pm
thanks :) :) :)