Sony PSP Application appwizard (visual studio 6.0) (update)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Post by johnmph »

Blackwidow wrote:i changed the folder to just pspsdk and now i got the cygwin1.dll not found error. am i suppose to put the cygwin1.dll somewhere? and this is what visual c++ says:

--------------------Configuration: psp - 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
The system cannot find the file specified.
Compilation des fichiers c
Linkage
Effacer les fichiers inutiles
Could Not Find I:\Program Files\Microsoft Visual Studio\MyProjects\psp\libiconv-2.dll
Trouver le bon repertoire
Création du PBP
Creation du PBP terminée -> filesize : 00015337
Renommer en EBOOT.PBP
The system cannot find the file specified.
Error executing i:\windows\system32\cmd.exe.

EBOOT.PBP - 1 error(s), 0 warning(s)

i put the cygwin1.dll and cygiconv-2.dll that it couldn`t find into pspsdk/bin folder and i didn`t get those error`s but now i get this:

--------------------Configuration: psp - 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
The system cannot find the file specified.
Compilation des fichiers c
psp-gcc: spec failure: unrecognized spec option 'v'
psp-gcc: spec failure: unrecognized spec option 'v'
psp-gcc: spec failure: unrecognized spec option 'v'
psp-gcc: spec failure: unrecognized spec option 'p'
psp-gcc: spec failure: unrecognized spec option 'P'
psp-gcc: braced spec '|!pipe:%g.s} |
as %(asm_options) %{!pipe:%g.s} %A' is invalid at '|'
Linkage
crt0.o:/home/dev/pspsdk-1.0+beta/sdk/startup/crt0.S:110: undefined reference to `main'
crt0.o: In function `__entrytable':
crt0.S:(.rodata.sceResident+0xc): undefined reference to `module_info'
Effacer les fichiers inutiles
Could Not Find I:\Program Files\Microsoft Visual Studio\MyProjects\psp\libiconv-2.dll
Trouver le bon repertoire
Création du PBP
A subdirectory or file .\PSP% already exists.
Creation du PBP terminée -> filesize : 00015337
Renommer en EBOOT.PBP
A subdirectory or file .\PSP already exists.
The system cannot find the file specified.
Error executing i:\windows\system32\cmd.exe.

EBOOT.PBP - 1 error(s), 0 warning(s)

can some1 help? thanx
Make a clean install, uninstall all psp programs and then :

- Install the PSPSDK/Compiler for win32 http://psp.jim.sh/setup.exe in the c:\pspsdk folder

- Run c:\pspsdk\start.bat

- Download devkitPSP_4.0.1-win32.exe http://sourceforge.net/project/showfile ... _id=344077

- Unzip it and copy bin, include, lib, libexec and psp folder into c:\pspsdk folder (overwrite existing files)

- Download Elf2pbpm http://ww.chez.com/mph, unzip and copy Elf2pbpm.exe in c:\pspsdk\bin folder

- Download Sony PSP application appwizard http://www.chez.com/mph, unzip and copy Sony PSP Application.awx and Sony PSP Application.hlp in (Microsoft Visual Studio directory)\Common\MSDev98\Template directory

No need to copy dll or other, the appwizard make it himself.
johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Post by johnmph »

sk8er_4_life_ez wrote:thank you for fixing the issue i was having umm.. im a newb to programing but i wanna learn is there anyone that is willing to teach me to code or knows at least some that then can teach me soo i can experiment on my own cause i modify source codes and i get errors and warning soo im assuming im doing something wrong but umm.. yeah i would appreceate it if someone helped me out thanks in advance again my aim sn is skaterforlifeez
Try to understand source code of homebrews, there is not many information but the psp is easy to code.
sk8er_4_life_ez
Posts: 7
Joined: Sat Aug 06, 2005 2:37 pm

Post by sk8er_4_life_ez »

well i found alot of source codes but i dont understand the h and c and the start.s and all that stuf i really dont get it when i find a source like that and every time let say i wanna do something and i put some type of new code it gives me an error it might be the way i spell it or something im not really sure or maybe causei dont finish the code or somethign not really sure but yeah i think ill learn some thank for making the hole kit and i would say it was pretty easy to install
Blackwidow
Posts: 27
Joined: Sun Jun 26, 2005 5:43 am

Post by Blackwidow »

hey johnmph i reinstalled everything like you said. but could you explain how i can compile and make a eboot.pbp for a program that i have the source for(simpleturn, etc..) it has the main (c source), pg (c source), pg (c/c++ header), mk (ms-dos batch), font (c source), startup.s (assembler source) and the ICON0 png file. i`m just trying to get the basic of how to compile before i try to figure out how to add my own code or make my own program. thanks for all the help
johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Post by johnmph »

Blackwidow wrote:hey johnmph i reinstalled everything like you said. but could you explain how i can compile and make a eboot.pbp for a program that i have the source for(simpleturn, etc..) it has the main (c source), pg (c source), pg (c/c++ header), mk (ms-dos batch), font (c source), startup.s (assembler source) and the ICON0 png file. i`m just trying to get the basic of how to compile before i try to figure out how to add my own code or make my own program. thanks for all the help
Delete the mk.bat and startup.s, create a new psp application, in step 3, choose icon0.png that you have.

In your app folder, copy pg.h and pg.c, copy and rename font.c to font.bin and copy the code of main.c and put it in your app main.c (some modifications to do).

replace #include "font.c" in pg.c to #include "font.bin" and compile it.
MadButch
Posts: 16
Joined: Sat Aug 20, 2005 7:11 pm

Post by MadButch »

What's the status of the VC++ 7 template?
johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Post by johnmph »

MadButch wrote:What's the status of the VC++ 7 template?
Soon, i terminate HTML dialogs.
JangoKing
Posts: 4
Joined: Thu Sep 15, 2005 7:13 am

Post by JangoKing »

Hi,

I read all the previous post and as i don't have VC++ installed i configured UltraEdit 32 to lauch the make.bat (a little bit modified for the work) then all seems working fine but can u please confirm i should obtain:

SAMPLE\EBOOT.PBP size = 144.688 bytes
SAMPLE%\EBOOT.PBP size = 15.321 bytes

Are the files size correct ?

Thank you in advance...
johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Post by johnmph »

JangoKing wrote:Hi,

I read all the previous post and as i don't have VC++ installed i configured UltraEdit 32 to lauch the make.bat (a little bit modified for the work) then all seems working fine but can u please confirm i should obtain:

SAMPLE\EBOOT.PBP size = 144.688 bytes
SAMPLE%\EBOOT.PBP size = 15.321 bytes

Are the files size correct ?

Thank you in advance...
It's possible, that depend code of your program.
JangoKing
Posts: 4
Joined: Thu Sep 15, 2005 7:13 am

Post by JangoKing »

It's possible, that depend code of your program.
Arg sorry i forgot to tell u that i'm compiling the sample code "as it" i found in the archive " Sample (http://www.chez.com/mph) for testing your installation"

Can you compile it and tell me the size of both files ?

Thank you
johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Post by johnmph »

JangoKing wrote:
It's possible, that depend code of your program.
Arg sorry i forgot to tell u that i'm compiling the sample code "as it" i found in the archive " Sample (http://www.chez.com/mph) for testing your installation"

Can you compile it and tell me the size of both files ?

Thank you
sample/eboot.pbp -> 144.684 bytes
sample%/eboot.pbp -> 15.321 bytes
CyberBill
Posts: 86
Joined: Tue Jul 26, 2005 3:53 pm
Location: Redmond, WA

Post by CyberBill »

sk8er_4_life_ez wrote:thank you for fixing the issue i was having umm.. im a newb to programing but i wanna learn is there anyone that is willing to teach me to code or knows at least some that then can teach me soo i can experiment on my own cause i modify source codes and i get errors and warning soo im assuming im doing something wrong but umm.. yeah i would appreceate it if someone helped me out thanks in advance again my aim sn is skaterforlifeez
Take a look at: http://cplusplus.com/doc/tutorial/ Its where I first learned to program C/C++, and its veryhelpful.
JangoKing
Posts: 4
Joined: Thu Sep 15, 2005 7:13 am

Post by JangoKing »

Thank you very much johnmph...

This means my installation is working fine... it was not hard to set up...

What is the advantage of using the Visual Studio C++ ? i mean for compilation ?
johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Post by johnmph »

JangoKing wrote:Thank you very much johnmph...

This means my installation is working fine... it was not hard to set up...

What is the advantage of using the Visual Studio C++ ? i mean for compilation ?
it's a good IDE ;-)
JangoKing
Posts: 4
Joined: Thu Sep 15, 2005 7:13 am

Post by JangoKing »

I see thank you
Ghoti
Posts: 288
Joined: Sat Dec 31, 2005 11:06 pm

Post by Ghoti »

Hi,

I read this thread about installing the sdk but i also get an error but i have downloaded all the latest programs and when compiling the example code i get this error:

Code: Select all

--------------------Configuration: Sample - Win32 Debug--------------------
Compilation du projet
make: psp-config: Command not found
makefile:14: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'.  Stop.
Effacer les fichiers inutiles
Kan C:\PSPsdk\Projects\Sample\*.o niet vinden
Trouver le bon repertoire
Création du PBP
Er bestaat al een submap of bestand .\SAMPLE%.
Creation du PBP terminée -> filesize : 00015361
Renommer en EBOOT.PBP
Er bestaat al een submap of bestand .\SAMPLE.
Het systeem kan het opgegeven bestand niet vinden.
Druk op een toets om door te gaan. . . 

EBOOT.PBP - 0 error(s), 0 warning(s)
What exaclty am i doing wrong?
Kreationz
Posts: 52
Joined: Sun May 18, 2008 11:01 am

Post by Kreationz »

Sorry to revive a very old topic, but is there something similar to this but only updated to a newer SDK and newer VS edition?
Onii
Posts: 40
Joined: Sun Oct 05, 2008 1:07 pm

Post by Onii »

If you use Heimdall's install, you can build with Visual Studio just fine, just use a makefile project. He's pretty good about keeping it up to date.

That being said it's best to just bite the bullet and install cygwin, then you're not bound to anyone schedule and you can update your sdk whenever you like. And it's not difficult to set up at all if you follow the directions and understand how it all works. You can still use whatever IDE you like and just create an external call to run the make.
ropspdev
Posts: 3
Joined: Sun Nov 01, 2009 6:23 am

Post by ropspdev »

Code: Select all

--------------------Configuration: aaa - Win32 Debug--------------------
Compilation du projet
Error, path not large enough for creating the PSPSDK path
makefile:14: /lib/build.mak: No such file or directory
make.exe: *** No rule to make target `/lib/build.mak'.  Stop.
Effacer les fichiers inutiles
Could Not Find C:\@PSPDEVKIZKO\aaa\*.o
Trouver le bon repertoire
Création du PBP
Creation du PBP terminée -> filesize : 00015337
Renommer en EBOOT.PBP
The system cannot find the file specified.
Error executing d:\windows\system32\cmd.exe.
EBOOT.PBP - 1 error(s), 0 warning(s)


I don`t know what to do. It is going me crazy!

The file i try to compile is the sample from this tutorial.
And here is the Makefile:

Code: Select all

TARGET = out
OBJS = $(wildcard *.c)

INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR =
LDFLAGS =
LIBS =

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak


What to do please!
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

You probably didn't set your PATH. that error is coming from psp-config.c, check the source to see why if setting PATH correctly doesn't fix it.
ropspdev
Posts: 3
Joined: Sun Nov 01, 2009 6:23 am

Post by ropspdev »

jimparis wrote:You probably didn't set your PATH. that error is coming from psp-config.c, check the source to see why if setting PATH correctly doesn't fix it.
And where to find PSP-CONFIG.C ?
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

ropspdev
Posts: 3
Joined: Sun Nov 01, 2009 6:23 am

Post by ropspdev »

Ok. I will create this file, it dowsn`t exist in my pspsdk folder. Where to put it? Or where do i find the path to it?
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

You don't need it except as a reference to see why that error is occurring.
Post Reply