IDE 1.5.7 and UNO compatibility

Hi,
I just install the new Arduino IDE 1.5.7

Tested sketch: MPU6050_DMP6.ino.

On arduino DUE it compile but on the UNO it gives a compilation error .


In file included from MPU6050_DMP6.ino:50:0:

C:\Documents and Settings\Mes documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:89:7: error: 'prog_uchar' does not name a type
const prog_uchar dmpMemory[MPU6050_DMP_CODE_SIZE] PROGMEM = {


Please help. Thanks

Ok. What exactly are you expecting us to say?

Would that be the BETA version of the IDE ?

Perhaps using a version that is not BETA would be helpful (i really don't know).

I Think I know what he hes refering to and it is the same as posted here:

Arduino 1.5.7 ships with avr gcc 4.8.1 which requires that all AVR progmem data be const.

If it is he will have to post his library, we can't guess why the code is not working otherwise.

This is also worth a read:
http://www.catb.org/~esr/faqs/smart-questions.html#intro