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 - Kehrbert

Pages: [1]
1
Graphics / load font error -
« on: February 03, 2024, 06:19:54 pm »
Hello,

I am having troubles loading a font to display text in SFML.
I tried to load the fonts from my System/Library/ folder of my mac m1 as well as fonts that have been copied into the workspace folder. Including the fonts seems to work in both cases but when i hit the build button i get loads of error messages telling me:

warning: null character ignored [-Wnull-character]
error: source file is not valid UTF-8

I am working with visual studio code. My project is based on the FSML Cmake example project. 

I guess this muss be some stupid beginner mistake but i just cant find a solution.
Can anybody please point me in the right direction?

Pages: [1]