I am running on 3.10OE, And I was succesfully able to run a few samples of the SDK with psplink, by compiling .prx files.
However, when I try to do it with JGE++ applications (for example Starbugz provided with JGE++, or, obviously, my own project), I get the following error in PSPLINK:
Code: Select all
Failed to Load/Start module 'host0:/StarBugz.prx' Error: 0x800200D9
While searching the forums I saw that it might have something to do with the way I compile stuff, so here is the Makefile :
Code: Select all
TARGET = temp
OBJS = JGEFramework/main.o src/GameApp.o
INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CXXFLAGS)
BUILD_PRX = 1
LIBDIR = ../JGE/lib/psp
LDFLAGS =
LIBS = -ljge -ljgesky -lpng -lz -lm -lmikmod -lmmio -lpsppower -lpspaudiolib -lpspaudio -lpspgu -lpsprtc -lstdc++
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = TEST
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak