PSX library issues

I have downloaded the following PSX library:

http://www.arduino.cc/playground/Main/PSXLibrary

and it didn't work with my Arduino IDE, it was giving a few errors in Math.h about '(' not being present.

I thought my IDE was old and downloaded the latest version from arduino.cc

Now, it's giving a bigger error log when I try to compile. See below.

Do you know what it might be?

In file included from C:\arduino-0022\arduino-0022\hardware\arduino\cores\arduino/Arduino.h:6,
                 from Psx.cpp:35:
c:/arduino-0022/arduino-0022/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'
c:/arduino-0022/arduino-0022/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'
c:/arduino-0022/arduino-0022/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'
In file included from Psx.cpp:35:
C:\arduino-0022\arduino-0022\hardware\arduino\cores\arduino/Arduino.h:110: error: expected ',' or '...' before numeric constant
C:\arduino-0022\arduino-0022\hardware\arduino\cores\arduino/Arduino.h:110: error: declaration of C function 'void shiftOut(uint8_t)' conflicts with
C:\arduino-0022\arduino-0022\hardware\arduino\cores\arduino/wiring.h:122: error: previous declaration 'void shiftOut(uint8_t, uint8_t, uint8_t, uint8_t)' here
C:\arduino-0022\arduino-0022\hardware\arduino\cores\arduino/Arduino.h:111: error: expected ',' or '...' before numeric constant
C:\arduino-0022\arduino-0022\hardware\arduino\cores\arduino/Arduino.h:111: error: declaration of C function 'uint8_t shiftIn(uint8_t)' conflicts with
C:\arduino-0022\arduino-0022\hardware\arduino\cores\arduino/wiring.h:123: error: previous declaration 'uint8_t shiftIn(uint8_t, uint8_t, uint8_t)' here

do not know what is the solution to your problem, but i have a similar one...

i downloaded the psx-library and tried to use it with arduino 1.0 - without any success. if i trust the compiling errors there are some problems in the psx.h file. seems to be a problem with the new version of arduino, but i do not know how to solve it. is anybody using the psx.h with arduino 1.0?

In file included from Psx.cpp:26: C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:54: error: 'byte' has not been declared C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:54: error: 'byte' has not been declared C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:54: error: 'byte' has not been declared C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:54: error: 'byte' has not been declared C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:54: error: 'byte' has not been declared C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:65: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:67: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:68: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:69: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:70: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:72: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:73: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:74: error: 'boolean' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:75: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:77: error: 'byte' does not name a type C:\Users\Ranisav\Desktop\arduino\arduino-1.0\libraries\Psx/Psx.h:78: error: 'byte' does not name a type In file included from Psx.cpp:35: C:\Users\Ranisav\Desktop\arduino\arduino-1.0\hardware\arduino\cores\arduino/Arduino.h:110: error: expected ',' or '...' before numeric constant C:\Users\Ranisav\Desktop\arduino\arduino-1.0\hardware\arduino\cores\arduino/Arduino.h:111: error: expected ',' or '...' before numeric constant