Problem with AF_Wave util.h
i have made advanced wave shield class, works. don't understand. see simple test program, contains 1 separate header file mediaplayer.h. headers in in folder libraries\af_wave.
when remove #include "util.h", receive error:
error: af_wave.h: no such file or directory
tab (extra header file mediaplayer.h)
the error message wrong, util.h has nothing mediaplayer.h
when remove #include "util.h", receive error:
error: af_wave.h: no such file or directory
code: [select]
#include <avr/pgmspace.h>
#include "mediaplayer.h"
#include "util.h" // works
//#include "util.h" // error: af_wave.h: no such file or directory
void setup()
{
}
void loop()
{
}
tab (extra header file mediaplayer.h)
code: [select]
#ifndef mediaplayer_h
#define mediaplayer_h
#include <af_wave.h>
#include <wave.h>
#endifthe error message wrong, util.h has nothing mediaplayer.h
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Problem with AF_Wave util.h
arduino
Comments
Post a Comment