OK, i need some help BAADDDD!!!! I recently have begun trying to teach myself some C/C++ with my intentions being developing a PRX with a code that I got, that is unreleased. It is a variation of a knife code, that is all I can say (its extremely exlclusive) for FTB2. Now, I know that with making plugins/homebrew, you have to have the pspToolchain installed on your machine.
I followed the steps that I found, for downloading CYGWIN, and using the batch file to install the PSP toolchain. The download site for the 20051202 toolchain is useless (ps2dev) and doesnt work. I was able to find the 20050625 toolchain, and I installed CYGWIN and ran the toolchain.sh script that was included last night while I was sleeping. I imagine this toolchain took anywhere between 6-8 hours to fully run itself.
I thought that would be it, i could now start writing my PRX, or complete some tutorials real quick, get myself acclimated with the environment, and then begin my prx, and decided on the latter. I got a tutorial for writing your basic "Hello World" pbp and coded it all, just as instructed in the tutorial.
When I tried to compile the eboot, i got the following error:
This is the body of my stupid little hello world app:Code:Owner@Owner-PC ~/projects/helloworld $ make make: psp-config: Command not found Makefile:12: /lib/build.mak: No such file or directory make: *** No rule to make target `/lib/build.mak'. Stop.
and the makefile:Code://Hello World PSP Application /* This program was written by mario on 8/11/2010 and is a simple hello world application */ #include <pspkernel.h> #include <pspdebug.h> PSP_MODULE_INFO("Hello World by Mario!",0,1,1); #define printf pspDebugScreenPrintf /* Exit callback */ int exit_callback(int arg1, int arg2, void *common) { sceKernelExitGame(); return 0; } /* Callback thread */ int CallbackThread(SceSize args, void *argp) { int cbid; cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL); sceKernelRegisterExitCallback(cbid); sceKernelSleepThreadCB(); return 0; } /* Sets up the callback thread and returns its thread id */ int SetupCallbacks(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("Whattup BITCHES!!!!!!!"); sceKernelSleepThread(); return 0; }
If anyone could help me figure out what the hell i am doing wrong, it would be GREATLY appreciated, because I have much of the PRX coded already, and would like to be able to compile it. With this error on a simple hello world eboot i doubt that is going to happen. I know that some of the best psp programmers come to this site, and I hope you guys are willing to help a lowly noob like myself. I am very good with VB although, C is MUCH different. VB is an event driven, GUI rich environment, where C is pretty much a multi purpose compile language, and there are not many similarities. PLEASE, any help would be awesome. Thanks in advance.Code:TARGET = hello OBJS = main.o CFLAGS = -O2 -G0 -Wall CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti ASFLAGS = $(CFLAGS) EXTRA_TARGETS = EBOOT.PBP PSP_EBOOT_TITLE = Whattup Peeple PSPSDK=$(shell psp-config --pspsdk-path) include $(PSPSDK)/lib/build.mak



Reply With Quote




Bookmarks