 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
iynaix
Joined: 29 Oct 2005 Posts: 2 Location: Singapore
|
Posted: Sun Oct 30, 2005 12:03 am Post subject: Compile error in VC++ |
|
|
Im kinda new to psp programming, just started like maybe last week. I downloaded and successfully installed MPH's appwizard for Visucal C++. However, today i encountered a problem while trying to compile, here is the bulid report:
| Code: | --------------------Configuration: Sample - Win32 Debug--------------------
Copie du crt0.o dans le dossier du projet
1 file(s) copied.
Copie de la dll libiconv-2.dll pour psp-gcc
1 file(s) copied.
Compilation des fichiers c
main.c: In function 'CallbackThread':
main.c:67: warning: passing argument 2 of 'sceKernelCreateCallback' from incompatible pointer type
main.c: In function 'SetupCallbacks':
main.c:78: warning: passing argument 2 of 'sceKernelCreateThread' from incompatible pointer type
main.c:96:2: warning: no newline at end of file
pg.c: In function 'pgFillvram':
pg.c:105: warning: pointer targets in assignment differ in signedness
pg.c: In function 'pgBitBlt':
pg.c:119: warning: pointer targets in assignment differ in signedness
pg.c: In function 'pgPutChar':
pg.c:148: warning: comparison is always false due to limited range of data type
pg.c:150: warning: pointer targets in assignment differ in signedness
Linkage
pg.o: In function `pgWaitVn':
D:\Xianyi\c++\psptest/pg.c:32: multiple definition of `font'
font.o:(.rodata+0x0): first defined here
main.o: In function `main':
D:\Xianyi\c++\psptest/main.c:92: undefined reference to `RGBx'
D:\Xianyi\c++\psptest/main.c:92: undefined reference to `pgFillVram'
pg.o: In function `pgBoxFillAlpha':
pg.c:(.text+0x11c0): undefined reference to `BackBmp'
pg.c:(.text+0x11c8): undefined reference to `BackBmp'
pg.c:(.text+0x1204): undefined reference to `BackBmp'
pg.c:(.text+0x120c): undefined reference to `BackBmp'
pg.c:(.text+0x1250): undefined reference to `BackBmp'
pg.o:pg.c:(.text+0x1258): more undefined references to `BackBmp' follow
Effacer les fichiers inutiles
Trouver le bon repertoire
Création du PBP
A subdirectory or file .\SAMPLE% already exists.
Creation du PBP terminée -> filesize : 00015361
Renommer en EBOOT.PBP
A subdirectory or file .\SAMPLE already exists.
The system cannot find the file specified.
Error executing c:\windows\system32\cmd.exe.
EBOOT.PBP - 1 error(s), 7 warning(s)
|
What is the error here? It says that there is an error executing cmd.exe, but this has never happened before, and im not sure how to fix it. Any help on this problem would be much appreciated!
A link to my project:
http://www.megaupload.com/?d=IJLTQC4M |
|
| Back to top |
|
 |
ReKleSS

Joined: 18 Jun 2005 Posts: 73 Location: Melbourne, Australia
|
Posted: Sun Oct 30, 2005 10:17 am Post subject: |
|
|
You're using the old build system, pre pspsdk. Take a look at the sdk samples and around the forums to see how you should be doing things now. It's gotten a lot easier.
-ReK |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|