Arduino + MP3Trigger lib = Won't Compile

Hello,

I am having a hell of a time getting the MP3Trigger trigger library to work within my arduino program. I am trying a simple sample application and keep getting the same error PC and on MAC.

error: WProgram.h: No such file or directory

I have tried changing the < > to " " but that doesn’t help. Are any of you seeing this error?

Any help would be much appreciated,

Joe

#include <MP3Trigger.h>
MP3Trigger trigger;
void setup()
{
//start serial communication with the trigger (over Serial)
trigger.setup();
//start looping TRACK001.MP3
trigger.setLooping(true,1);
}

void loop()
{
//necessary to receive signals from trigger
trigger.update();
}

Are you using the new Arduino IDE (Version 1.0)?

If so, they changed some things. I am not familiar with that library, but it may just be as simple as opening the library files and changing

#include “WProgram.h”

to

#if ARDUINO >= 100

#include “Arduino.h”

#else

#include “WProgram.h”

#endif

That was it, thanks you!

Yeah, this is a gripe I have about the 1.0 upgrade. it seems to have broken a lot of libraries. While it’s easy to blame the library developers, it seems like bad form to me to force something like this - especially since Arduino is used a lot for learning. Why not include a WProgran.h that had “#include arduino.h”