Pages: [1]   Go Down
Author Topic: Library on Mac  (Read 510 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
/Users/Matt/Documents/Arduino

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


* Screen Shot 2013-02-04 at 10.05.04 PM.png (326.48 KB, 1280x800 - viewed 10 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Another Screen Shot


* Screen Shot 2013-02-04 at 10.05.13 PM.png (326.92 KB, 1280x800 - viewed 10 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Another


* Screen Shot 2013-02-04 at 10.05.16 PM.png (297.71 KB, 1280x800 - viewed 10 times.)
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 124
Posts: 6645
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: