No, I don't think I used this stuff.
The actual thing is: I recently switched to Luma3ds, but somehow my old homebrew stuff, which was written with sf2dlib doesnt work anymore with the new homebrew menu 2.0. I just get a black screen.
So I figured, updating all the libraries would be the solution. But now I see that sf2dlib is not supported anymore and I am looking for a decent simple 2d-library.
As @realWinterMute said check first if you ran "make instal"
Than, with no pkg-config available for now, to reach the include file of the lib, that is in a SDL subfolder, you have two options:
1. (The clean way)
add the SDL folder in the includes of the SDL header, i.e use:
Code:
#include "SDL/SDL.h"
Code:
#include "SDL.h"
The same for SDL_mixer SDL_ttf, etc,
2. (the tricky way, the one I use)
Modify the makefile to look in for header files in the SDL subfolder. here is how I do for my homebrew
Code:
export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \
$(foreach dir,$(LIBDIRS),-I$(dir)/include),$(foreach dir,$(LIBDIRS),-I$(dir)/include/SDL) \
-I$(CURDIR)/$(BUILD)
Regarding the problem with sf2dlib on Luma, I'm not using Boot9strap yet, but haven't received report of hb of mine not working on it. Please check one of the game using sf2dlib (Retrobattle for example). If it works maybe you only need to fix something. And remember to update Citro3d to the "next" branch on github, not the Master branch.
Last thing, in sf2dlib the first two letters mean "simple fast", The firsts 's' in SDL means "fast" too, but notice that there is no 'f' following .
Using SDL you'll reach no more than 30FPS.
Last edited by nop90,