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 

help please!! psp devkit on windows

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
nicotrial



Joined: 29 Feb 2008
Posts: 15

PostPosted: Tue Nov 04, 2008 6:23 am    Post subject: help please!! psp devkit on windows Reply with quote

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



Joined: 29 Feb 2008
Posts: 15

PostPosted: Tue Nov 04, 2008 7:05 am    Post subject: Reply with quote

anyone???

btw im using windows vista if its any help in saying this..
Back to top
View user's profile Send private message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Tue Nov 04, 2008 7:16 am    Post subject: Reply with quote

whats your make file look like
Back to top
View user's profile Send private message MSN Messenger
nicotrial



Joined: 29 Feb 2008
Posts: 15

PostPosted: Tue Nov 04, 2008 7:59 am    Post subject: Reply with quote

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



Joined: 06 Sep 2008
Posts: 23

PostPosted: Thu Nov 06, 2008 3:02 am    Post subject: Reply with quote

create main.c somewhere with this code:
Code:
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
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Thu Nov 06, 2008 3:46 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
blu_eye4



Joined: 26 Oct 2008
Posts: 37

PostPosted: Thu Nov 06, 2008 5:51 am    Post subject: Reply with quote

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



Joined: 29 Aug 2007
Posts: 168

PostPosted: Thu Nov 06, 2008 10:14 am    Post subject: Reply with quote

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:
if (YouNeedHelp)
{
LetUsKnow ();
} else {
GoodLuckCoding();
}


Angelo
Back to top
View user's profile Send private message Send e-mail MSN Messenger
nicotrial



Joined: 29 Feb 2008
Posts: 15

PostPosted: Sat Nov 15, 2008 10:25 pm    Post subject: Reply with quote

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 <bug-make@gnu.org>.
------------------------------------------------------------------
------------------------------------------------------------------
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...
Back to top
View user's profile Send private message
nicotrial



Joined: 29 Feb 2008
Posts: 15

PostPosted: Sat Nov 15, 2008 11:20 pm    Post subject: Reply with quote

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



Joined: 29 Feb 2008
Posts: 15

PostPosted: Sun Nov 16, 2008 12:01 am    Post subject: Reply with quote

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.....
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
Page 1 of 1

 
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