Homebrew Can't compile sf2dlib

Status
Not open for further replies.

MistWisp

Well-Known Member
OP
Member
Joined
Aug 29, 2016
Messages
165
Trophies
0
Age
31
XP
218
Country
Brazil
I have no idea how can i fix this, if someone can help me on this

pu3nxcf.png
 

MistWisp

Well-Known Member
OP
Member
Joined
Aug 29, 2016
Messages
165
Trophies
0
Age
31
XP
218
Country
Brazil
So, another question, how to i display [and clear] some text on the screen if i'm using sf2dlib, when i try to start the console [after i set the background with sf2dlib] i get a glitched top screen
 

MistWisp

Well-Known Member
OP
Member
Joined
Aug 29, 2016
Messages
165
Trophies
0
Age
31
XP
218
Country
Brazil
So, another question, how to i display [and clear] some text on the screen if i'm using sf2dlib, when i try to start the console [after i set the background with sf2dlib] i get a glitched top screen
Well looks like i'm on my own this time, ok
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,030
Country
United States
Well looks like i'm on my own this time, ok
The ctrulib console implementation sets the frame buffer format and writes to it directly so it is not directly compatible with sf2dlib as it uses the 3D hardware. So you can either use the bottom screen for the console and the top screen for sf2dlib or you can use something else for displaying text.
 
  • Like
Reactions: Wolfvak

MistWisp

Well-Known Member
OP
Member
Joined
Aug 29, 2016
Messages
165
Trophies
0
Age
31
XP
218
Country
Brazil
The ctrulib console implementation sets the frame buffer format and writes to it directly so it is not directly compatible with sf2dlib as it uses the 3D hardware. So you can either use the bottom screen for the console and the top screen for sf2dlib or you can use something else for displaying text.
Yeah, i got this working by using sftdlib
https://github.com/xerpi/sftdlib
 

RoundOxytocin

Member
Newcomer
Joined
Sep 22, 2020
Messages
16
Trophies
0
Age
46
XP
126
Country
Hungary
I'm pretty sure i do have this but i'll try thanks

--------------------- MERGED ---------------------------

So i compiled and everything went fine, no errors, but when i try to compile a project that uses it, this happens
MuPXRzV.png

Did you add -lsf2d to the front of the LIBS?
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ButterScott101 @ ButterScott101: