#I cant find any way how to fix this error

27 messages · Page 1 of 1 (latest)

shadow surge
#

It says Loaded correctly

foggy summit
#

How did you setup sfml? This is a common issue when mixing debug and release binaries

ocean jungle
ocean jungle
sterile finchBOT
#

@ocean jungle has reached level 1. GG!

foggy summit
ocean jungle
#

The problem is that no freetype.dll came with it I only have freetype.lib

foggy summit
ocean jungle
#

Copy library path and paste in option for that same for include in vs 2022

ocean jungle
#

Where ?

ocean jungle
foggy summit
frigid skiff
#

Show the full code.

ocean jungle
ocean jungle
steep locust
frigid skiff
# ocean jungle Code is not problem problem is that it cant create font face

I'm just trying to rule out that possibility because a memory leak or by something unknown, the font might not load. I have had this issue before where the font would load if I placed it globally but not locally and as weird as that is, it shows that the rest of the code had an impact on how the font was loaded.

#

But perhaps it is a linker issue.

foggy summit
#

You can't just take a random DLL from the internet

ocean jungle
frigid skiff
#

I assume you're using SFML dynamic right? Static ,the default for SFML 3, doesn't require freetype.dll.

foggy summit
#

SFML doesn't have a default unless you're using the cmake template

ocean jungle
#

So how can i get it ?

sterile finchBOT
#

@ocean jungle has reached level 2. GG!

ocean jungle
#

Nevermind i fixed the issue freetype.dll is already inclused in graphic.dll thats why it wasnt separate file and i didnt putted -d for debugging in linked include