help please!! psp devkit on windows
help please!! psp devkit on windows
hi im new at programing and psp so i wanted to try out some code (helloworld) on the psp.. so i downloaded the pspsdk devkit 0.8.9 for windows.. i installed everything.. so then i went to try to compile my code by typing make and i get this i also tryed the samples that came with the devkit and get the same thing....
((this is with the samples))
C:\pspsdk\psp\sdk\samples\audio\wavegen>make
psp-gcc -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -c
-o main.o main.c
psp-gcc: CreateProcess: No such file or directory
make: *** [main.o] Error 1
what am i doing wrong??
do i need to install somthing else??
i got the main.c where my code is
and i made a makefile for it too based on the sample ones..
tnx!!!!
((this is with the samples))
C:\pspsdk\psp\sdk\samples\audio\wavegen>make
psp-gcc -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -c
-o main.o main.c
psp-gcc: CreateProcess: No such file or directory
make: *** [main.o] Error 1
what am i doing wrong??
do i need to install somthing else??
i got the main.c where my code is
and i made a makefile for it too based on the sample ones..
tnx!!!!
this si my make file
TARGET = hello
OBJS = main.o
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Nico es el mejor
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
though even though i could have made somthing wrong shouldent at least the samples that came with the sdk compile...??
TARGET = hello
OBJS = main.o
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Nico es el mejor
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
though even though i could have made somthing wrong shouldent at least the samples that came with the sdk compile...??
create main.c somewhere with this code:
chdir to where you saved it and type this:
gcc main.c -o main
psp-gcc main.c -o main
and then paste results here
Code: Select all
main(){return 0;}
gcc main.c -o main
psp-gcc main.c -o main
and then paste results here
maybe he have to reinstall all... it seems that psp-gcc isn't found by linker or maybe you must change your system variablesHeimdall wrote:it looks like you don't have the pspsdk bin in your path which is kind of strange since make works. if make works maybe you have it because you have cygwin or devkitpro and they are colliding
check where you installed pspsdk and paste here your path and the make version
C:\pspsdk\psp\sdk\samples\audio\wavegen>make
Slashes wrong way maybe? If all fails try this:
- Uninstall everything.
- Install Devkit Pro.
- Compile a basic working "Hello World!" sample. If this fails tell us!
- Install the latest PSPSDK (0.8.10) over at http://minpspw.sourceforge.net/
This should have you set up to compile most items! You shoud also install some include files and samples from Dark_AleX's CFW packs. There are some usefull functions there!
Angelo
Slashes wrong way maybe? If all fails try this:
- Uninstall everything.
- Install Devkit Pro.
- Compile a basic working "Hello World!" sample. If this fails tell us!
- Install the latest PSPSDK (0.8.10) over at http://minpspw.sourceforge.net/
This should have you set up to compile most items! You shoud also install some include files and samples from Dark_AleX's CFW packs. There are some usefull functions there!
Code: Select all
if (YouNeedHelp)
{
LetUsKnow ();
} else {
GoodLuckCoding();
}
To noko:
C:\>gcc main.c -o main
"gcc" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
C:\>psp-gcc main.c -o main
psp-gcc: CreateProcess: No such file or directory
-----------------------------------------------------------------------
-----------------------------------------------------------------------
To: Haimdall
its installed in
C:\>pspsdk\
----------------------------------
C:\pspsdk>make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for mingw32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[email protected]>.
------------------------------------------------------------------
------------------------------------------------------------------
To: angelo
yea im am going to try that now....
To: EVERYONE
thanx and sorry i didnt respond earlier cuz i had to study a bit...
C:\>gcc main.c -o main
"gcc" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
C:\>psp-gcc main.c -o main
psp-gcc: CreateProcess: No such file or directory
-----------------------------------------------------------------------
-----------------------------------------------------------------------
To: Haimdall
its installed in
C:\>pspsdk\
----------------------------------
C:\pspsdk>make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for mingw32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[email protected]>.
------------------------------------------------------------------
------------------------------------------------------------------
To: angelo
yea im am going to try that now....
To: EVERYONE
thanx and sorry i didnt respond earlier cuz i had to study a bit...
ok iv got another problem....... iv managed to compile my program but when i compile it it seems to use the makefile of the example program that comes with the devkit that i compiled earlier to test to see if it works.... i get the eboot and my program but with the title of the poliphonic sample program that comes with the samples of the devkit.....