|
|
|
|
|
|
kech
Newbie
Karma: +0/-0
Offline
Posts: 5
0.00 points View InventorySend Money to kech
|
 |
« Reply #2 on: May 05, 2006, 03:14:41 PM » |
|
i am learning with this tutorials now my first project is a port of OpenMugen thanks Yeldarb
|
|
|
|
|
Logged
|
sorry about my poor english
|
|
|
cass
Newbie
Karma: +0/-0
Offline
Posts: 2
0.00 points View InventorySend Money to cass
|
 |
« Reply #3 on: May 06, 2006, 01:45:56 AM » |
|
I have one question. Are these tuts good for me, if i dont have ANY experience in programming?
|
|
|
|
|
Logged
|
|
|
|
eggwonder
Full Member
 
Karma: +10/-10
Offline
Posts: 181
100681.19 points View InventorySend Money to eggwonder
RAWR
|
 |
« Reply #4 on: May 06, 2006, 03:15:02 PM » |
|
I just did the 4th tutorial and its being extremely evil:
$ make psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c main.c: In function 'exit_callback': main.c:28: warning:implicit declaration of function 'SceKernelExitGame' psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -L/usr/local/pspdev/psp/sdk/lib main.o graphics.o framebuffer.o -lpspgu -lpng -lz -lm -lpspdebug -pspdisplay -lpspage -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o hello.elf main.o: In function 'exit_callback': main.c:(.text+0x8): undefined reference to 'SceKernelExitGame' collect2: ld returned 1 exit status make: *** [hello.elf] Error 1
phew that took a while to type... ok can someone tell me whats wrong?preferably yeldarb cause its his tutorial.
|
|
|
|
|
Logged
|
|
|
|
nathan42100
Give miinaturvat Points!
Administrator
Hero Member
Karma: +32/-2
Offline
Posts: 1161
934.18 points View InventorySend Money to nathan42100
|
 |
« Reply #5 on: May 06, 2006, 05:18:32 PM » |
|
Make sure you included all of the necessary header files. Check to make sure this is at the top of the file: #include <pspdisplay.h> #include <pspctrl.h> #include <pspkernel.h> #include <pspdebug.h> #include <pspgu.h> #include <png.h> #include <stdio.h> #include "graphics.h"
|
|
|
|
|
Logged
|
 All of my work is released under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. dn ʎɐʍ sıɥʇ Help support my computer projects! 
|
|
|
eggwonder
Full Member
 
Karma: +10/-10
Offline
Posts: 181
100681.19 points View InventorySend Money to eggwonder
RAWR
|
 |
« Reply #6 on: May 06, 2006, 05:33:11 PM » |
|
yea i definitely have them all i copied all the functions and such in the tutorial from the page that it said to put in. and when i tried to copile it all it made was the new main graphics and framebuffer
|
|
|
|
|
Logged
|
|
|
|
nathan42100
Give miinaturvat Points!
Administrator
Hero Member
Karma: +32/-2
Offline
Posts: 1161
934.18 points View InventorySend Money to nathan42100
|
 |
« Reply #7 on: May 06, 2006, 06:34:14 PM » |
|
make sure psptoolchain installed correctly and you have the latest version
|
|
|
|
|
Logged
|
 All of my work is released under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. dn ʎɐʍ sıɥʇ Help support my computer projects! 
|
|
|
Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
Karma: +16/-3
Offline
Posts: 601
4152.65 points View InventorySend Money to Yeldarb
|
 |
« Reply #8 on: May 06, 2006, 06:37:00 PM » |
|
C is case sensitive, "SceKernelExitGame" is not the same as "sceKernelExitGame" (note the lowercase "s")
|
|
|
|
|
Logged
|
|
|
|
eggwonder
Full Member
 
Karma: +10/-10
Offline
Posts: 181
100681.19 points View InventorySend Money to eggwonder
RAWR
|
 |
« Reply #9 on: May 06, 2006, 06:56:42 PM » |
|
ty ty ty ty ou just helped me finish tutorial 4 and taught me something about C so now i can move on to 5
|
|
|
|
|
Logged
|
|
|
|
nathan42100
Give miinaturvat Points!
Administrator
Hero Member
Karma: +32/-2
Offline
Posts: 1161
934.18 points View InventorySend Money to nathan42100
|
 |
« Reply #10 on: May 06, 2006, 07:05:50 PM » |
|
I never would have noticed that. Good eye Brad!
|
|
|
|
|
Logged
|
 All of my work is released under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. dn ʎɐʍ sıɥʇ Help support my computer projects! 
|
|
|
eggwonder
Full Member
 
Karma: +10/-10
Offline
Posts: 181
100681.19 points View InventorySend Money to eggwonder
RAWR
|
 |
« Reply #11 on: May 07, 2006, 05:54:07 AM » |
|
ok last night i decided to call it a night after finishing the 4th tutorial and now when i tried to load up the image example it always fails is there any way to fix that? 
|
|
|
|
|
Logged
|
|
|
|
Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
Karma: +16/-3
Offline
Posts: 601
4152.65 points View InventorySend Money to Yeldarb
|
 |
« Reply #12 on: May 07, 2006, 05:55:13 AM » |
|
Load it up on your PSP or compile it?
Is there an error message?
|
|
|
|
|
Logged
|
|
|
|
eggwonder
Full Member
 
Karma: +10/-10
Offline
Posts: 181
100681.19 points View InventorySend Money to eggwonder
RAWR
|
 |
« Reply #13 on: May 07, 2006, 06:02:09 AM » |
|
i compiled it with no errors or warnings and when i loaded it up with bock loader evry time i tried it said "image load failed!" so the game works except the image never loads 
|
|
|
|
|
Logged
|
|
|
|
Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
Karma: +16/-3
Offline
Posts: 601
4152.65 points View InventorySend Money to Yeldarb
|
 |
« Reply #14 on: May 07, 2006, 06:10:10 AM » |
|
Did you remember to put the image on your PSP into the directory with the EBOOT?
|
|
|
|
|
Logged
|
|
|
|
|