forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sony PSP Application appwizard (visual studio 6.0) (update)
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
johnmph



Joined: 23 Jul 2005
Posts: 119

PostPosted: Thu Aug 11, 2005 9:40 am    Post subject: Reply with quote

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/showfiles.php?group_id=114505&package_id=150769&release_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.
Back to top
View user's profile Send private message
johnmph



Joined: 23 Jul 2005
Posts: 119

PostPosted: Thu Aug 11, 2005 9:47 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
sk8er_4_life_ez



Joined: 06 Aug 2005
Posts: 7

PostPosted: Thu Aug 11, 2005 5:21 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message AIM Address
Blackwidow



Joined: 26 Jun 2005
Posts: 27

PostPosted: Fri Aug 12, 2005 8:57 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
johnmph



Joined: 23 Jul 2005
Posts: 119

PostPosted: Sat Aug 13, 2005 1:04 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
MadButch



Joined: 20 Aug 2005
Posts: 16

PostPosted: Sat Aug 20, 2005 7:12 pm    Post subject: Reply with quote

What's the status of the VC++ 7 template?
Back to top
View user's profile Send private message
johnmph



Joined: 23 Jul 2005
Posts: 119

PostPosted: Sun Aug 21, 2005 4:47 am    Post subject: Reply with quote

MadButch wrote:
What's the status of the VC++ 7 template?


Soon, i terminate HTML dialogs.
Back to top
View user's profile Send private message
JangoKing



Joined: 15 Sep 2005
Posts: 4

PostPosted: Thu Sep 15, 2005 7:19 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
johnmph



Joined: 23 Jul 2005
Posts: 119

PostPosted: Thu Sep 15, 2005 9:35 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
JangoKing



Joined: 15 Sep 2005
Posts: 4

PostPosted: Thu Sep 15, 2005 9:59 pm    Post subject: Reply with quote

Quote:
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
Back to top
View user's profile Send private message
johnmph



Joined: 23 Jul 2005
Posts: 119

PostPosted: Sat Sep 17, 2005 1:14 am    Post subject: Reply with quote

JangoKing wrote:
Quote:
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
Back to top
View user's profile Send private message
CyberBill



Joined: 26 Jul 2005
Posts: 86
Location: Redmond, WA

PostPosted: Sat Sep 17, 2005 2:27 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address MSN Messenger
JangoKing



Joined: 15 Sep 2005
Posts: 4

PostPosted: Sat Sep 17, 2005 3:27 am    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message
johnmph



Joined: 23 Jul 2005
Posts: 119

PostPosted: Mon Sep 19, 2005 5:59 am    Post subject: Reply with quote

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 ;-)
Back to top
View user's profile Send private message
JangoKing



Joined: 15 Sep 2005
Posts: 4

PostPosted: Mon Sep 19, 2005 6:51 am    Post subject: Reply with quote

I see thank you
Back to top
View user's profile Send private message
Ghoti



Joined: 31 Dec 2005
Posts: 288

PostPosted: Sat Dec 31, 2005 11:08 pm    Post subject: Reply with quote

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:
--------------------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?
_________________
My PSP games:

Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
Back to top
View user's profile Send private message
Kreationz



Joined: 18 May 2008
Posts: 53

PostPosted: Wed Oct 15, 2008 1:06 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Onii



Joined: 05 Oct 2008
Posts: 40

PostPosted: Wed Oct 15, 2008 1:55 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
ropspdev



Joined: 01 Nov 2009
Posts: 3

PostPosted: Sun Nov 01, 2009 6:32 am    Post subject: Reply with quote

Code:
--------------------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:
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!
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Mon Nov 02, 2009 3:07 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
ropspdev



Joined: 01 Nov 2009
Posts: 3

PostPosted: Mon Nov 02, 2009 5:22 am    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Mon Nov 02, 2009 7:53 am    Post subject: Reply with quote

http://svn.ps2dev.org/filedetails.php?repname=psp&path=%2Ftrunk%2Fpspsdk%2Ftools%2Fpsp-config.c&sc=1
Back to top
View user's profile Send private message
ropspdev



Joined: 01 Nov 2009
Posts: 3

PostPosted: Tue Nov 03, 2009 3:13 am    Post subject: Reply with quote

jimparis wrote:
http://svn.ps2dev.org/filedetails.php?repname=psp&path=%2Ftrunk%2Fpspsdk%2Ftools%2Fpsp-config.c&sc=1


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?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Nov 03, 2009 3:34 am    Post subject: Reply with quote

You don't need it except as a reference to see why that error is occurring.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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