Help please, i am stuck.
Help please, i am stuck.
I have my slim ps2 connected via ethernet and using swapmagic to boot the ps2 side of the link, i can run demos fine using inlink.
Where i get stuck is compiling my own, i have installed PS2Dev Environment for Win32 but i have no idea how to use it to compile.
I have Suse linux installed but dont have Inlink for it and i dont use Linux that much only when im developing with php, my experiences lie with microsoft visual studio and directx and various languges.
It is really starting to wind me up how i can't figure this out, iv looked in tutorials and i cant fined any that explain how to compile in windows.
Does any one have any help please.
I also have an interest in having a go at development with the gametrak controller if any one has any information on this too, thans
Where i get stuck is compiling my own, i have installed PS2Dev Environment for Win32 but i have no idea how to use it to compile.
I have Suse linux installed but dont have Inlink for it and i dont use Linux that much only when im developing with php, my experiences lie with microsoft visual studio and directx and various languges.
It is really starting to wind me up how i can't figure this out, iv looked in tutorials and i cant fined any that explain how to compile in windows.
Does any one have any help please.
I also have an interest in having a go at development with the gametrak controller if any one has any information on this too, thans
Open a command prompt (Type "cmd" into Start->Run).
cd to the directory you installed into.
Run the cygwin paths batch file.
cd into the samples directory (ps2sdk/samples I think)
type "make"
cd into a sample.
you can then run the .elf using inlink or ps2client. Try:
"make run"
if you have ps2client.
cd to the directory you installed into.
Run the cygwin paths batch file.
cd into the samples directory (ps2sdk/samples I think)
type "make"
cd into a sample.
you can then run the .elf using inlink or ps2client. Try:
"make run"
if you have ps2client.
This is a Windows cmd error. It cannot find make. What this means is you are not running a bash shell when make is run. There should be a script called "cygwin.bat" in the root cygwin folder which starts a bash shell for you.jloyd_ wrote:i get make as an unreconized internal or external command
The alternatives are setting up Windows batch scripts to wrap around the commands you use (like make) that starts bash and then runs the command. I would imagine this would be slow.
I start the following command "<path to cygwin install dir>\bin\rxvt.exe -e bash --login -i" in my cygwin bin directory (its actually a shortcut on my desktop), but it means you need the no-x rxvt installed as well (it is faster than cmd, though).
Probably, but it does work quite fine with cygwin. Using cygwin does mean you need to be aware of Unix like environments though (just like linux).jloyd_ wrote:would this be easier to do in linux, even though my linux experience is very limitied
Not that I'm aware of.jloyd_ wrote:is there a was to use ms visual studio
Look deep into their eyes for what they have to say, Emotions take control of life everyday
Death (Nothing Is Everything)
Death (Nothing Is Everything)
usr is not "user" folders... it's for sharable (multi-user) read-only. Basically all the programs, libs, and other shared resources that are used on a regular basis live in /usr
The idea that it's short for 'user' is also false... It's an acronym, and IIRC it stands for User Sharable Resources ... but don't quote me on that.
The directory you put your files, documents, and projects in is inside of the home dir. specifically it should be /home/username/ but I don't know exactly how cygwin has things screwed up
EDIT: Okay, I looked it up and it's Unix System Resources... I had my acronym wrong.
The idea that it's short for 'user' is also false... It's an acronym, and IIRC it stands for User Sharable Resources ... but don't quote me on that.
The directory you put your files, documents, and projects in is inside of the home dir. specifically it should be /home/username/ but I don't know exactly how cygwin has things screwed up
EDIT: Okay, I looked it up and it's Unix System Resources... I had my acronym wrong.
Shoot Pixels Not People!
Makeshift Development
Makeshift Development
Just as screwed up as any other Unix OS then, huh (yes its /home/username/).Drakonite wrote: specifically it should be /home/username/ but I don't know exactly how cygwin has things screwed up
Look deep into their eyes for what they have to say, Emotions take control of life everyday
Death (Nothing Is Everything)
Death (Nothing Is Everything)
Heh, fair enough.. unix directory structure isn't exactly intuitive for the newbie... But I was more talking about how cygwin has a record of doing some things in a bastardized way ;)Orfax wrote:Just as screwed up as any other Unix OS then, huh (yes its /home/username/).Drakonite wrote: specifically it should be /home/username/ but I don't know exactly how cygwin has things screwed up
Shoot Pixels Not People!
Makeshift Development
Makeshift Development
ERLs are relocatable executables... TBH I haven't played with them, so while they may be neat I have no idea what the situation is with them ;)
There is a line in the makefile that starts with "ERL_BIN =" ... if you change it to "EE_BIN =" it will cause it to build elfs instead of erls.
There is a line in the makefile that starts with "ERL_BIN =" ... if you change it to "EE_BIN =" it will cause it to build elfs instead of erls.
Shoot Pixels Not People!
Makeshift Development
Makeshift Development
I get this error when running the makefile from inside the /graph/ sample
$ make graph
ee-gcc -D_EE -O2 -G0 -Wall -IC:/ps2dev/ps2sdk/ee/include -IC:/ps2dev/ps2sdk/com
mon/include -I. -c graph.c -o graph.o
gcc graph.o -o graph
ld: graph.o: Relocations in generic ELF (EM: 8)
graph.o: could not read symbols: File in wrong format
make: *** [graph] Error 1
but it makes fine when I run the make file in the parent directory (/sample/) can anyone elighten me please :) ?
$ make graph
ee-gcc -D_EE -O2 -G0 -Wall -IC:/ps2dev/ps2sdk/ee/include -IC:/ps2dev/ps2sdk/com
mon/include -I. -c graph.c -o graph.o
gcc graph.o -o graph
ld: graph.o: Relocations in generic ELF (EM: 8)
graph.o: could not read symbols: File in wrong format
make: *** [graph] Error 1
but it makes fine when I run the make file in the parent directory (/sample/) can anyone elighten me please :) ?