SDL Readme File error

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

SDL Readme File error

Post by Wally »

Guys,

This had me stumped but i figured it out


The clipping below does not have a source for the PSPSDK folder

Building applications
---------------------
Write your source file as you would a normal SDL program. Use the standard
Makefile as supplied with any PSPSDK sample program. Above the final "include"
line, add:

PSPBIN = $(PSPSDK)/../bin
CFLAGS += $(shell $(PSPBIN)/sdl-config --cflags)
LIBS += $(shell $(PSPBIN)/sdl-config --libs)


I found that the PSPSDK was not declared making a whole heap of errors, this probably stumped other people too.

Cheers

Wally
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Re: SDL Readme File error

Post by jimparis »

wally4000 wrote:The clipping below does not have a source for the PSPSDK folder

Building applications
---------------------
Write your source file as you would a normal SDL program. Use the standard
Makefile as supplied with any PSPSDK sample program
. Above the final "include"
line, add:
/usr/local/pspdev/psp/sdk/samples/gu/copy/Makefile wrote:PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
Post Reply