sergiomijael / arduino-netbeans

Automatically exported from code.google.com/p/arduino-netbeans
0 stars 0 forks source link

library error when compiling #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when i compile
2.
3.

What version of the product are you using? On what operating system?
OSX mavericks, Netbeans IDE 7.4, Arduino IDE 1.0.5

Please provide any additional information below.
this is my error

"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -f 
nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
"/Applications/Xcode.app/Contents/Developer/usr/bin/make"  -f 
nbproject/Makefile-Debug.mk dist/Debug/Arduino-MacOSX/arduinoprova2plugin
mkdir -p build/Debug/Arduino-MacOSX
rm -f build/Debug/Arduino-MacOSX/main.o.d
avr-g++ -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 
-DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 
-fno-exceptions   -c -g -I-c -g -I/usr/arduino/hardware/arduino/cores/arduino 
-I/usr/arduino/hardware/arduino/variants/mega -I/usr/arduino/libraries/EEPROM 
-I/usr/arduino/libraries/Esplora -I/usr/arduino/libraries/Ethernet 
-I/usr/arduino/libraries/Ethernet/utility -I/usr/arduino/libraries/Firmata 
-I/usr/arduino/libraries/GSMSHIELD -I/usr/arduino/libraries/LiquidCrystal 
-I/usr/arduino/libraries/SD -I/usr/arduino/libraries/SD/utility 
-I/usr/arduino/libraries/Servo -I/usr/arduino/libraries/SoftwareSerial 
-I/usr/arduino/libraries/SPI -I/usr/arduino/libraries/Stepper 
-I/usr/arduino/libraries/Wire -I/usr/arduino/libraries/Wire/utility -MMD -MP 
-MF build/Debug/Arduino-MacOSX/main.o.d -o build/Debug/Arduino-MacOSX/main.o 
main.cpp
main.cpp:12:25: warning: Servo/Servo.h: No such file or directory
main.cpp:262: error: 'Servo' does not name a type
main.cpp: In member function 'void servoManager::inizializza()':
main.cpp:280: error: 'servo' was not declared in this scope
main.cpp:283: error: 'servo' was not declared in this scope
main.cpp:286: error: 'servo' was not declared in this scope
main.cpp: In member function 'void servoManager::resetServo()':
main.cpp:341: error: 'servo' was not declared in this scope
main.cpp: In member function 'void servoManager::movimentoServo(int, int)':
main.cpp:353: error: 'servo' was not declared in this scope
main.cpp:357: error: 'servo' was not declared in this scope
main.cpp:360: error: 'servo' was not declared in this scope
make[2]: *** [build/Debug/Arduino-MacOSX/main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 125ms)

Original issue reported on code.google.com by uni.lore...@gmail.com on 4 Nov 2013 at 9:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello,
You must provide the Servo library folder in your Makefile:
INCLUDE_LIBS=EEPROM;Servo;

Original comment by jaques.c...@gmail.com on 28 Nov 2013 at 12:07