error: Wire.h: No such file or directory

Greetings,

I am trying to compile a Sketch from he Linux command line but am receiving errors that I am not sure as how to resolve:

applet/Scratch.cpp:6:20: error: Wire.h: No such file or directory
applet/Scratch.cpp:7:26: error: BlinkM_funcs.h: No such file or directory

I am able to compile this same Sketch fine using the Arduino IDE and am able to compile other Sketches such as the Blink example that do not use these Includes from the Linux command line, how and where do I add the path to these Includes?

Thank you,

  • James

Greetings,

I modified the Makefile found in the arduino-0011-core directory to include the paths to the libraries that were not being found.

CINCS = -I$(ARDUINO) -I$(INSTALL_DIR)/hardware/libraries/BlinkMCommunicator -I$(INSTALL_DIR)/hardware/libraries/SoftwareSerial -I$(INSTALL_DIR)/hardware/libraries/Wire

CXXINCS = -I$(ARDUINO) -I$(INSTALL_DIR)/hardware/libraries/BlinkMCommunicator -I$(INSTALL_DIR)/hardware/libraries/SoftwareSerial -I$(INSTALL_DIR)/hardware/libraries/Wire

Hopefully this will resolve the compile issues that I was experiencing previously...

Thanks,

  • James