Page 1 of 1

Posted: Sat Apr 29, 2006 9:43 am
by xmOD
hello,
i'm new to the ps2dev scene... i dloaded cygwin with the mentioned packages and then compiled the ps2sdk with the toolchain.sh file... now how do i run the package n how do i start writing some code?... when i click on nething from the ee or iop folder(any exe), then i get the error cygwin1.dll not found..wat could be causing this? i dont wanna dload cygwin again as i have a slow net connection and that would take lot of time.. any suggestions..?

Posted: Sat Apr 29, 2006 6:33 pm
by dlanor
xmOD wrote:hello,
i'm new to the ps2dev scene... i dloaded cygwin with the mentioned packages and then compiled the ps2sdk with the toolchain.sh file... now how do i run the package n how do i start writing some code?...
I'm not sure exactly what you mean, as the gnu compilers for PS2Dev accept the same kind of C/C++ source texts as they do for other platforms. Just edit sources in a normal text editor and you should be fine.

If you really meant how to get into PS2 methods for doing things in a program, then the best way of all to learn is to study existing sources, which are available in plentiful supply. Newer ones are to be preferred of course, as old sources often rely on old and outmoded libs...
when i click on nething from the ee or iop folder(any exe), then i get the error cygwin1.dll not found..wat could be causing this? i dont wanna dload cygwin again as i have a slow net connection and that would take lot of time.. any suggestions..?
This problem is probably due to your not having added the Cygwin/bin/ path to the PATH variable of Windows, causing it to fail finding the Cygwin DLLs. This is something you really don't have to do, if you make sure to always start all these tools through bash instead, just like you must have done when executing the toolchain script.

Of course, it can be much more convenient to use drag-drop methods, and for that purpose I have designed a set of Windows BAT scripts that invoke bash with appropriate .SH scripts to perform many standard tasks, such as "make clean" or "make all" (applied to a drag-dropped makefile of course).

I'll send these to you in a normal email (as discussed previously).

Best regards: dlanor

Posted: Sun Apr 30, 2006 12:18 am
by Drakonite
keep in mind the gnu tools are not gui tools, they are command line tools. They are not intended to be clicked; they are intended to be run with arguments from a command line.

To get started with ps2dev you should really read up a little on how to use the gnu toolchain.... Of course, assume makefiles are setup correctly, it really comes down to just being in a bash shell and typing 'make' in your project directory...


[NOTE] Split to it's own topic, as it was offtopic in the current thread.