Go Down

Topic: PSXLibrary Problems (Read 821 times) previous topic - next topic

aeemnrsu

so I downloaded this library from http://arduino.cc/playground/Main/PSXLibrary and unzipped it in ~/arduino-0021/libraries/
I just tried loading the library in the following code:
Code: [Select]


#include <Psx.h>

void setup() {
}

void loop() {
 
}


and I couldn't get it to work and I got this error:
Quote


In file included from C:\Programs\arduino-0021\arduino-0021\hardware\arduino\cores\arduino/WProgram.h:6,
                 from Dualshock.cpp:4:
c:/programs/arduino-0021/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'
c:/programs/arduino-0021/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'
c:/programs/arduino-0021/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'


I tried googling the error but I can't find a proper fix.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy