Page 1 of 1

Compile Error - OBD.h

Posted: Wed May 23, 2018 2:32 am
by td1973
Hello,

Can someone please help resolve this error. The OBD.h file is present in the folder (along with OBD.cpp).

Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\AppData\Local\Temp\arduino_build_892897\sketch\FREEMATICS_Marc.ino.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\AppData\Local\Temp\arduino_build_892897\sketch\FREEMATICS_Marc.ino.cpp" -o

"C:\Users\AppData\Local\Temp\arduino_build_892897\preproc\ctags_target_for_gcc_minus_e.cpp"
C:\Users\Desktop\FREEMATICS_Marc\FREEMATICS_Marc.ino:3:17: fatal error: OBD.h: No such file or directory

#include <OBD.h>

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.