Merci,
Exact j'ai corrigé mais j ai toujours et encore une erreur
Je met mon fichier main.c
/* Auteur: CosmoS App : Helloworld */#include<pspkernel.h>#include<pspdebug.h>PSP_MODUKE_INFO("helloworld",0,0,1)#define printf pspDebugScreenPrintf/*Rappel de service de sortie*/int exit_callback(int arg1,int arg2, void *common){sceKernelExitGame();return0;} /*Rappel de service*/int CallbackThread(SceSize args, void *argp){int cbid;cbid=sceKernelCreateCallback("Exit Callback", exit_callback, NULL);sceKernelRegisterExitCallback(cbid);sceKernelSleepThreadCB()return 0;}/*Monte le Rappel de service et envoie son ID*/int SetupCallback(void){int thid=0;thid=sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);if(thid>=0){sceKernelStartThread(thid, 0, 0);}return thid;}int main(){pspDebugScreenInit();SetupCallbacks();printf("Hello CosmoS");sceKernelSleepThread();retour 0;}
et mon makefile
TARGET = CosmoSOBJS = main.o INCDIR = CFLAGS = -O2 -G0 -WallCXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rttiASFLAGS = $(CFLAGS)LIBDIR =LDFLAGS =STDLIBS= EXTRA_TARGETS = EBOOT.PBPPSP_EBOOT_TITLE = testPSP_EBOOT_ICON = ICON0.pngPSPSDK=$(shell psp-config --pspsdk-path)include $(PSPSDK)/lib/build.mak
Merci d'avance,
CosmoS