PDA

View Full Version : Help compiling the PS2 BOR code


Kirby2000
02-28-2005, 06:55 AM
Hi, I'm having trouble compiling the PS2 Beats of Rage code under XP.

I have installed PS2SDK and gskit properly as far as I can tell, but I can't get the source to compile. I usually use OpenWatcom to edit the PC DOS BOR source, but am unfamiliar with the PS2 SDK and how it works.

I go into the source folder and run MAKE, I then get the error:

H:\ps2bor-src-0.1b>make
Makefile:3: /Defs.make: No such file or directory
make: *** No rule to make target `/Defs.make'. Stop.

I don't seem to have a defs.make, it was not included in the source from what I can tell. I also don't seem to have it in PS2SDK.

I then removed that line from the makefile and tried running it, however then I get plenty of lines such as

H:\ps2bor-src-0.1b>make
G0 -Wall -Werror -fomit-frame-pointer -fno-common -funsigned-char -I/ee/include
-I/common/include -Ih:\PS2Dev/gsKit/include -D_EE -DPS2VERSION=\"0.1b\" -c -o t
racemalloc.o tracemalloc.c
'G0' is not recognized as an internal or external command,
operable program or batch file.
make: [tracemalloc.o] Error 1 (ignored)
G0 -Wall -Werror -fomit-frame-pointer -fno-common -funsigned-char -I/ee/include
-I/common/include -Ih:\PS2Dev/gsKit/include -D_EE -DPS2VERSION=\"0.1b\" -c -o p
s2port.o ps2port.c
'G0' is not recognized as an internal or external command,
operable program or batch file.
make: [ps2port.o] Error 1 (ignored)

What is "G0"? shouldn't it be running something like Gcc? Am I missing some of the SDK or do I need to rename something?

I am currently part of the OpenBOR+ project, designed to add more features and options to the Beats of Rage engine. We already have DC & DOS versions and most of the new mods being made only now work with OpenBOR+. Before I leave the project next month I would like to try and port the new changes to the PS2 version as well so it doesn't miss out on all the new BOR mods.

Kormann
02-28-2005, 09:34 AM
Hello again Kirby! I'm happy that you are still trying to port it to PS2. :)
I really advice you to post it at http://forums.ps2dev.org (full of ps2 coders who can help you), because it seems pixel isnt browsing ps2bor forums for a long time.

I wish you good luck!

EDIT: I've registered at ps2dev forums and I've sent a PM to Pixel asking him to help you in this thread. I hope he reads my PM.

[]'s
Kormann

Kormann
02-28-2005, 11:41 AM
Pixel has answered your doubts Kirby2000 to my PM at ps2dev forums, take a close look:
You are actually missing the environment variables. Plus, it should be run inside cygwin's shell, not from the command line.

Good luck kirby! :D

[]'s
Kormann