you're looking for sdl-config in the wrong place
if its not in C:/pspdev/psp/bin
then it should be in C:/pspdev/bin
The first time i used sdl i did $(shell $(PSPBIN)/sdl-config --cflags) as well and got the same error
I just changed it to $(shell sdl-config --cflags) and it worked.
I don't know if it will work for both /bin and /psp/bin though.
psPea wrote:you're looking for sdl-config in the wrong place
if its not in C:/pspdev/psp/bin
then it should be in C:/pspdev/bin
The first time i used sdl i did $(shell $(PSPBIN)/sdl-config --cflags) as well and got the same error
I just changed it to $(shell sdl-config --cflags) and it worked.
I don't know if it will work for both /bin and /psp/bin though.
Using "$(shell sdl-config --cflags)" runs the system's sdl-config, not the PSP toolchain's sdl-config. You have to put the path in there, and the way he was doing it was correct. Most SDL stuff on the PSP does it just like that. From the failure messages he posted, it's like sdl-config is not installed in the toolchain. He needs to be sure it's there or get rid of it by changing the makefile to have what "$(shell sdl-config --cflags)" would have returned.
Oh, I was thinking it was used the other way for some reason. I'm testing now. I'll update this post to tell you my results.
EDIT:
It compiled. I used HardHat's pspflashcards src as a model. So a thanks to him.