Go Down

Topic: Cannot include Wiring.h in Library (Read 1 time) previous topic - next topic



I try to get an old program running which uses the Libraries by Pololu. When I try to compile I get the following errors:

PololuQTRSensors.cpp:109:75: error: wiring.h: No such file or directory

PololuQTRSensors.cpp:545: error: 'delayMicroseconds' was not declared in this scope

Why isnt it possible to include wiring.h in the Library? If I delete the include statement in the library only the last error persists. So it really seams to be related to the missing wiring.h...



Some things that might be useful for you to tell us include which version of the IDE you are using, which OS you are on, what is in your sketch, and where you got the library that you are now having difficulties with.

I have a wiring.h file in each of the 4 versions of Arduino that I have installed (17, 18, 19, & 20) on Win 7 64 bit.
The art of getting good answers lies in asking good questions.



I am using Arduino 19. I pasted the library here: http://pastebin.com/CB9KgZdm

The error occurs in line 109.

The library is located in ~/Arduino/libraries/Pololu...

If I just include this library in my code the error occurs.


Go Up