| View previous topic :: View next topic |
| Author |
Message |
nicotrial
Joined: 29 Feb 2008 Posts: 15
|
Posted: Tue Nov 04, 2008 6:23 am Post subject: 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!!!! |
|
| Back to top |
|
 |
nicotrial
Joined: 29 Feb 2008 Posts: 15
|
Posted: Tue Nov 04, 2008 7:05 am Post subject: |
|
|
anyone???
btw im using windows vista if its any help in saying this.. |
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Tue Nov 04, 2008 7:16 am Post subject: |
|
|
| whats your make file look like |
|
| Back to top |
|
 |
nicotrial
Joined: 29 Feb 2008 Posts: 15
|
Posted: Tue Nov 04, 2008 7:59 am Post subject: |
|
|
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 |
|
 |
Noko
Joined: 06 Sep 2008 Posts: 23
|
Posted: Thu Nov 06, 2008 3:02 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Thu Nov 06, 2008 3:46 am Post subject: |
|
|
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 |
|
 |
blu_eye4
Joined: 26 Oct 2008 Posts: 37
|
Posted: Thu Nov 06, 2008 5:51 am Post subject: |
|
|
| 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 |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Thu Nov 06, 2008 10:14 am Post subject: |
|
|
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 |
|
 |
nicotrial
Joined: 29 Feb 2008 Posts: 15
|
Posted: Sat Nov 15, 2008 10:25 pm Post subject: |
|
|
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 |
|
 |
nicotrial
Joined: 29 Feb 2008 Posts: 15
|
Posted: Sat Nov 15, 2008 11:20 pm Post subject: |
|
|
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 |
|
 |
nicotrial
Joined: 29 Feb 2008 Posts: 15
|
Posted: Sun Nov 16, 2008 12:01 am Post subject: |
|
|
| 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 |
|
 |
|