help please!! psp devkit on windows

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

Moderators: cheriff, TyRaNiD

Post Reply
nicotrial
Posts: 15
Joined: Fri Feb 29, 2008 7:11 am

help please!! psp devkit on windows

Post by nicotrial »

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!!!!
nicotrial
Posts: 15
Joined: Fri Feb 29, 2008 7:11 am

Post by nicotrial »

anyone???

btw im using windows vista if its any help in saying this..
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

whats your make file look like
nicotrial
Posts: 15
Joined: Fri Feb 29, 2008 7:11 am

Post by nicotrial »

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...??
Noko
Posts: 23
Joined: Sat Sep 06, 2008 8:35 pm

Post by Noko »

create main.c somewhere with this code:

Code: Select all

main(){return 0;}
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
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

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
blu_eye4
Posts: 37
Joined: Sun Oct 26, 2008 8:41 pm

Post by blu_eye4 »

Heimdall 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
maybe he have to reinstall all... it seems that psp-gcc isn't found by linker or maybe you must change your system variables
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Post by angelo »

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!

Code: Select all

if (YouNeedHelp)
{
LetUsKnow ();
} else {
GoodLuckCoding();
}
Angelo
nicotrial
Posts: 15
Joined: Fri Feb 29, 2008 7:11 am

Post by nicotrial »

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...
nicotrial
Posts: 15
Joined: Fri Feb 29, 2008 7:11 am

Post by nicotrial »

ok it works when i installed pspsdk 0.8.10 tahnks... one more thing..
how do i get dev c++ to compile with the psp devkit... thanx.. i havent looked through the forum if its already here you dont have to anwer back




THANKSSS!!!!!!!
nicotrial
Posts: 15
Joined: Fri Feb 29, 2008 7:11 am

Post by nicotrial »

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.....
Post Reply