I have just recently succeeded in doing this and have got the Hello World code to compile and run. Eg I got \local\ps2dev\ps2sdk\samples\cube to compile after running the instal described on the tutorial above without much trouble.
I have just recently succeeded in doing this and have got the Hello World code to compile and run. Eg I got \local\ps2dev\ps2sdk\samples\cube to compile after running the instal described on the tutorial above without much trouble.
You need to describe what you're doing, not just the results. The results are clear: you haven't set the environment variables for the toolchain. Now tell us what OS you're using, and how you are trying to run the toolchain.
J.F. wrote:You need to describe what you're doing, not just the results. The results are clear: you haven't set the environment variables for the toolchain. Now tell us what OS you're using, and how you are trying to run the toolchain.
I have Windows XP.
I run cmd, i type "ps2dev.bat", then "make", and i get this :
What would help greatly in locating your problem would be if you could search your file system for ee-gcc.exe and see if its located in C:\ps2dev\ee\bin.
I noticed that you have slash '/' instead for backslash '\' in the paths in your ps2dev.bat, you might want to try changing the slashes to backslashes.
You can't just enter the envvar commands into the Windows command shell. As the linked tutorial says, msys requires you to add them to the msys login.
First thing you need to do is to add the PS2Dev enviroment variables your MSYS login script. This is done by adding the following to etc/profile in the MSYS directory. Use an editor which supports Unix file format like Crimson Editor (Preferences -> File -> Save in Unix format) to edit the file.
Lukasz wrote:What would help greatly in locating your problem would be if you could search your file system for ee-gcc.exe and see if its located in C:\ps2dev\ee\bin.
I noticed that you have slash '/' instead for backslash '\' in the paths in your ps2dev.bat, you might want to try changing the slashes to backslashes.
Yes, i have ee-gcc.exe in C:\ps2dev\ee\bin
I type just "make" in ps2dev.bat ! so i can't change '/' in '\'
J.F. wrote:You can't just enter the envvar commands into the Windows command shell. As the linked tutorial says, msys requires you to add them to the msys login.
First thing you need to do is to add the PS2Dev enviroment variables your MSYS login script. This is done by adding the following to etc/profile in the MSYS directory. Use an editor which supports Unix file format like Crimson Editor (Preferences -> File -> Save in Unix format) to edit the file.