Go Down

Topic: Library on Mac (Read 1 time) previous topic - next topic


I am having difficulty importing the "test" library from the Arduino website (or any other custom library for that matter). I am using Arduino 1.0.3 and Mac OSX.

I have a folder created called Arduino where my sketches are saved in Subfolders (ex. LED_Tone folder contains the LED_Tone sketch). In this Arduino folder I also have a Subfolder called Libraries where I am saving my downloaded custom libraries.

My preferences has the sketchbook location set as:

I can open IDE and import the test library #include <test.h> appears at the top of the page and I can go to file and open the test example however the error I get when I try to verify is:

In file included from doing_something.pde:1:
/Users/Matt/Documents/Arduino/libraries/Test/Test.h:11:24: error: WConstants.h: No such file or directory

Can anyone tell me where I'm going wrong. Thanks


Another Screen Shot



Wconstants.h is the pre-1.0 version of the arduino definition.  Edit test.h and change wconstantS.h to arduino.h

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!

via Egeo 16
Torino, 10131