code will not upload

Hi

I have one of these and when I used it before I could upload to it.

spark fun product : sen 10736

now depreciated can still be found on the website

https://www.sparkfun.com/products/retired/10736 <https://www.sparkfun.com/products/retired/10736>

the unit is working and outputting data but I can not upload any changes to the code

here is the error message.

I am following the instructions here

Tutorial on setting up the DOF 9 Razor

https://github.com/Razor-AHRS/razor-9do … i/Tutorial <https://github.com/Razor-AHRS/razor-9do … i/Tutorial>

if I can not upload the item is useless . Can you tell me what to do to resolve this

I do not want to buy th new version until I understand why this one does not now upload

egards

Max

Arduino: 1.8.8 (Mac OS X), Board: “Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)”

/Applications/Arduino 1.8.8.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino 1.8.8.app/Contents/Java/hardware -hardware /Users/maxbirley/Library/Arduino15/packages -hardware /Users/maxbirley/Dropbox/Arduino/hardware -tools /Applications/Arduino 1.8.8.app/Contents/Java/tools-builder -tools /Applications/Arduino 1.8.8.app/Contents/Java/hardware/tools/avr -tools /Users/maxbirley/Library/Arduino15/packages -built-in-libraries /Applications/Arduino 1.8.8.app/Contents/Java/libraries -libraries /Users/maxbirley/Dropbox/Arduino/libraries -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -ide-version=10808 -build-path /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539 -warnings=none -build-cache /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_cache_751817 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avr-gcc.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.arduinoOTA.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -verbose /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino

/Applications/Arduino 1.8.8.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino 1.8.8.app/Contents/Java/hardware -hardware /Users/maxbirley/Library/Arduino15/packages -hardware /Users/maxbirley/Dropbox/Arduino/hardware -tools /Applications/Arduino 1.8.8.app/Contents/Java/tools-builder -tools /Applications/Arduino 1.8.8.app/Contents/Java/hardware/tools/avr -tools /Users/maxbirley/Library/Arduino15/packages -built-in-libraries /Applications/Arduino 1.8.8.app/Contents/Java/libraries -libraries /Users/maxbirley/Dropbox/Arduino/libraries -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -ide-version=10808 -build-path /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539 -warnings=none -build-cache /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_cache_751817 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avr-gcc.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.arduinoOTA.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -verbose /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino

Using board ‘pro’ from platform in folder: /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23

Using core ‘arduino’ from platform in folder: /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23

WARNING: Category ‘sensors’ in library SparkFun BQ72441 LiPo Fuel Gauge Arduino Library is not valid. Setting to ‘Uncategorized’

WARNING: Category ‘Sensor’ in library SparkFun DS3234 Real-Time Clock (RTC) is not valid. Setting to ‘Uncategorized’

Detecting libraries used…

/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539/sketch/Razor_AHRS.ino.cpp -o /dev/null

/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539/sketch/Razor_AHRS.ino.cpp -o /dev/null

/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src/Wire.cpp -o /dev/null

/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src/utility/twi.c -o /dev/null

Generating function prototypes…

/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539/sketch/Razor_AHRS.ino.cpp -o /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539/preproc/ctags_target_for_gcc_minus_e.cpp

“/Applications/Arduino 1.8.8.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539/preproc/ctags_target_for_gcc_minus_e.cpp

Compiling sketch…

/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539/sketch/Razor_AHRS.ino.cpp -o /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_70539/sketch/Razor_AHRS.ino.cpp.o

/Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino: In function ‘void read_sensors()’:

Razor_AHRS:456:13: error: ‘Read_Gyro’ was not declared in this scope

if (!reset_calibration_session_flag) return;

^

Razor_AHRS:457:14: error: ‘Read_Accel’ was not declared in this scope

Razor_AHRS:458:13: error: ‘Read_Magn’ was not declared in this scope

// Reset acc and mag calibration variables

^

/Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino: In function ‘void reset_sensor_fusion()’:

Razor_AHRS:478:43: error: ‘Vector_Cross_Product’ was not declared in this scope

Razor_AHRS:486:19: error: ‘Compass_Heading’ was not declared in this scope

while (Serial.available() < 1) { } // Block

^

Razor_AHRS:490:52: error: ‘init_rotation_matrix’ was not declared in this scope

/Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino: In function ‘void setup()’:

Razor_AHRS:568:12: error: ‘I2C_Init’ was not declared in this scope

if (values_param == ‘r’) // Output _r_aw sensor values

^

Razor_AHRS:569:14: error: ‘Accel_Init’ was not declared in this scope

output_mode = OUTPUT__MODE_SENSORS_RAW;

^

Razor_AHRS:570:13: error: ‘Magn_Init’ was not declared in this scope

else if (values_param == ‘c’) // Output _c_alibrated sensor values

^

Razor_AHRS:571:13: error: ‘Gyro_Init’ was not declared in this scope

output_mode = OUTPUT__MODE_SENSORS_CALIB;

^

/Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino: In function ‘void loop()’:

Razor_AHRS:699:91: error: ‘output_calibration’ was not declared in this scope

Razor_AHRS:707:23: error: ‘Compass_Heading’ was not declared in this scope

Razor_AHRS:708:21: error: ‘Matrix_update’ was not declared in this scope

Razor_AHRS:709:17: error: ‘Normalize’ was not declared in this scope

Razor_AHRS:710:24: error: ‘Drift_correction’ was not declared in this scope

Razor_AHRS:711:20: error: ‘Euler_angles’ was not declared in this scope

Razor_AHRS:713:63: error: ‘output_angles’ was not declared in this scope

Razor_AHRS:717:64: error: ‘output_sensors’ was not declared in this scope

/Users/maxbirley/Dropbox/Arduino/Razor_AHRS/DCM.ino: In function ‘void Normalize()’:

DCM:12:65: error: ‘Vector_Dot_Product’ was not declared in this scope

error= -Vector_Dot_Product(&DCM_Matrix[0][0],&DCM_Matrix[1][0])*.5; //eq.19

^

DCM:14:58: error: ‘Vector_Scale’ was not declared in this scope

Vector_Scale(&temporary[0][0], &DCM_Matrix[1][0], error); //eq.19

^

DCM:17:67: error: ‘Vector_Add’ was not declared in this scope

Vector_Add(&temporary[0][0], &temporary[0][0], &DCM_Matrix[0][0]);//eq.19

^

DCM:20:74: error: ‘Vector_Cross_Product’ was not declared in this scope

Vector_Cross_Product(&temporary[2][0],&temporary[0][0],&temporary[1][0]); // c= a x b //eq.20

^

/Users/maxbirley/Dropbox/Arduino/Razor_AHRS/DCM.ino: In function ‘void Drift_correction()’:

DCM:54:77: error: ‘Vector_Cross_Product’ was not declared in this scope

Vector_Cross_Product(&errorRollPitch[0],&Accel_Vector[0],&DCM_Matrix[2][0]); //adjust the ground of reference

^

DCM:55:72: error: ‘Vector_Scale’ was not declared in this scope

Vector_Scale(&Omega_P[0],&errorRollPitch[0],Kp_ROLLPITCH*Accel_weight);

^

DCM:58:44: error: ‘Vector_Add’ was not declared in this scope

Vector_Add(Omega_I,Omega_I,Scaled_Omega_I);

^

/Users/maxbirley/Dropbox/Arduino/Razor_AHRS/DCM.ino: In function ‘void Matrix_update()’:

DCM:85:53: error: ‘Vector_Add’ was not declared in this scope

Vector_Add(&Omega[0], &Gyro_Vector[0], &Omega_I[0]); //adding proportional term

^

DCM:110:60: error: ‘Matrix_Multiply’ was not declared in this scope

Matrix_Multiply(DCM_Matrix,Update_Matrix,Temporary_Matrix); //a*b=c

^

Using library Wire at version 1.0 in folder: /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire

exit status 1

‘Read_Gyro’ was not declared in this scope

Invalid library found in /Users/maxbirley/Dropbox/Arduino/libraries/i2cdevcollection: no headers files (.h) found in /Users/maxbirley/Dropbox/Arduino/libraries/i2cdevcollection

Invalid library found in /Users/maxbirley/Dropbox/Arduino/libraries/minimu9_AHRS: no headers files (.h) found in /Users/maxbirley/Dropbox/Arduino/libraries/minimu9_AHRS

Invalid library found in /Users/maxbirley/Dropbox/Arduino/libraries/SabertoothArduinoLibraries: no headers files (.h) found in /Users/maxbirley/Dropbox/Arduino/libraries/SabertoothArduinoLibraries

Invalid library found in /Users/maxbirley/Dropbox/Arduino/libraries/i2cdevcollection: no headers files (.h) found in /Users/maxbirley/Dropbox/Arduino/libraries/i2cdevcollection

Invalid library found in /Users/maxbirley/Dropbox/Arduino/libraries/minimu9_AHRS: no headers files (.h) found in /Users/maxbirley/Dropbox/Arduino/libraries/minimu9_AHRS

Invalid library found in /Users/maxbirley/Dropbox/Arduino/libraries/SabertoothArduinoLibraries: no headers files (.h) found in /Users/maxbirley/Dropbox/Arduino/libraries/SabertoothArduinoLibraries

Hi Max.

Arduino is never getting to the upload process because the code isn’t compiling.

The errors you’re seeing indicate you haven’t installed the libraries needed for the sensor chip on the board and that’s why the code isn’t compiling. You need to download and install the libraries for the following IC’s:

  • - ITG3200
  • - ADXL345
  • - HMC5883L
  • We have libraries for the ITG and ADXL [here and a library for the HMC [here.

    The library manager should be able to install the HMC5883L library but the other two are pretty old and will need to be installed into Arduino manually.](GitHub - jarzebski/Arduino-HMC5883L: HMC5883L Triple Axis Digital Compass Arduino Library)](GitHub - sparkfun/IMU_Digital_Combo_Board: A simple breakout for the ADXL345 accelerometer and the ITG-3200 MEMS gyro. (https://www.sparkfun.com/products/10121))

    Very helpful. As it was working before I thought the libraries were installed. Many thanks

    ok the libraries are all loaded. When I use the example code for each ic separately they all work. when I try to compile with the razor IMUs code it fails with the following. So it seems the board is ok but the code is not working with the libraries…any thoughts

    most appreciated

    Arduino: 1.8.8 (Mac OS X), Board: “Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)”

    /Applications/Arduino 1.8.8.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino 1.8.8.app/Contents/Java/hardware -hardware /Users/maxbirley/Library/Arduino15/packages -hardware /Users/maxbirley/Dropbox/Arduino/hardware -tools /Applications/Arduino 1.8.8.app/Contents/Java/tools-builder -tools /Applications/Arduino 1.8.8.app/Contents/Java/hardware/tools/avr -tools /Users/maxbirley/Library/Arduino15/packages -built-in-libraries /Applications/Arduino 1.8.8.app/Contents/Java/libraries -libraries /Users/maxbirley/Dropbox/Arduino/libraries -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -ide-version=10808 -build-path /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696 -warnings=none -build-cache /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_cache_516120 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avr-gcc.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.arduinoOTA.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -verbose /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino

    /Applications/Arduino 1.8.8.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino 1.8.8.app/Contents/Java/hardware -hardware /Users/maxbirley/Library/Arduino15/packages -hardware /Users/maxbirley/Dropbox/Arduino/hardware -tools /Applications/Arduino 1.8.8.app/Contents/Java/tools-builder -tools /Applications/Arduino 1.8.8.app/Contents/Java/hardware/tools/avr -tools /Users/maxbirley/Library/Arduino15/packages -built-in-libraries /Applications/Arduino 1.8.8.app/Contents/Java/libraries -libraries /Users/maxbirley/Dropbox/Arduino/libraries -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -ide-version=10808 -build-path /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696 -warnings=none -build-cache /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_cache_516120 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avr-gcc.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.arduinoOTA.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/maxbirley/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -verbose /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino

    Using board ‘pro’ from platform in folder: /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23

    Using core ‘arduino’ from platform in folder: /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23

    WARNING: Category ‘sensors’ in library SparkFun BQ72441 LiPo Fuel Gauge Arduino Library is not valid. Setting to ‘Uncategorized’

    WARNING: Category ‘Sensor’ in library SparkFun DS3234 Real-Time Clock (RTC) is not valid. Setting to ‘Uncategorized’

    Build options changed, rebuilding all

    Detecting libraries used…

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src/Wire.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src/utility/twi.c -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /Users/maxbirley/Dropbox/Arduino/libraries/gy-88/BMP085.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /Users/maxbirley/Dropbox/Arduino/libraries/gy-88/I2Cdev.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /Users/maxbirley/Dropbox/Arduino/libraries/gy-88/MPU6050.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /Users/maxbirley/Dropbox/Arduino/libraries/ITG3200/ITG3200.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /Users/maxbirley/Dropbox/Arduino/libraries/ADXL345/ADXL345.cpp -o /dev/null

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L/HMC5883L.cpp -o /dev/null

    Generating function prototypes…

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp -o /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/preproc/ctags_target_for_gcc_minus_e.cpp

    “/Applications/Arduino 1.8.8.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/preproc/ctags_target_for_gcc_minus_e.cpp

    Compiling sketch…

    /Users/maxbirley/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/variants/eightanaloginputs -I/Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire/src -I/Users/maxbirley/Dropbox/Arduino/libraries/gy-88 -I/Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 -I/Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 -I/Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp -o /var/folders/tm/05gm32_j4g92jgb80dx_nl7c0000gn/T/arduino_build_131696/sketch/Razor_AHRS.ino.cpp.o

    /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino: In function ‘void read_sensors()’:

    Razor_AHRS:464:13: error: ‘Read_Gyro’ was not declared in this scope

    if (!reset_calibration_session_flag) return;

    ^

    Razor_AHRS:465:14: error: ‘Read_Accel’ was not declared in this scope

    Razor_AHRS:466:13: error: ‘Read_Magn’ was not declared in this scope

    // Reset acc and mag calibration variables

    ^

    /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino: In function ‘void reset_sensor_fusion()’:

    Razor_AHRS:486:43: error: ‘Vector_Cross_Product’ was not declared in this scope

    Razor_AHRS:494:19: error: ‘Compass_Heading’ was not declared in this scope

    while (Serial.available() < 1) { } // Block

    ^

    Razor_AHRS:498:52: error: ‘init_rotation_matrix’ was not declared in this scope

    /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino: In function ‘void setup()’:

    Razor_AHRS:576:12: error: ‘I2C_Init’ was not declared in this scope

    if (values_param == ‘r’) // Output _r_aw sensor values

    ^

    Razor_AHRS:577:14: error: ‘Accel_Init’ was not declared in this scope

    output_mode = OUTPUT__MODE_SENSORS_RAW;

    ^

    Razor_AHRS:578:13: error: ‘Magn_Init’ was not declared in this scope

    else if (values_param == ‘c’) // Output _c_alibrated sensor values

    ^

    Razor_AHRS:579:13: error: ‘Gyro_Init’ was not declared in this scope

    output_mode = OUTPUT__MODE_SENSORS_CALIB;

    ^

    /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/Razor_AHRS.ino: In function ‘void loop()’:

    Razor_AHRS:707:91: error: ‘output_calibration’ was not declared in this scope

    Razor_AHRS:715:23: error: ‘Compass_Heading’ was not declared in this scope

    Razor_AHRS:716:21: error: ‘Matrix_update’ was not declared in this scope

    Razor_AHRS:717:17: error: ‘Normalize’ was not declared in this scope

    Razor_AHRS:718:24: error: ‘Drift_correction’ was not declared in this scope

    Razor_AHRS:719:20: error: ‘Euler_angles’ was not declared in this scope

    Razor_AHRS:721:63: error: ‘output_angles’ was not declared in this scope

    Razor_AHRS:725:64: error: ‘output_sensors’ was not declared in this scope

    /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/DCM.ino: In function ‘void Normalize()’:

    DCM:12:65: error: ‘Vector_Dot_Product’ was not declared in this scope

    error= -Vector_Dot_Product(&DCM_Matrix[0][0],&DCM_Matrix[1][0])*.5; //eq.19

    ^

    DCM:14:58: error: ‘Vector_Scale’ was not declared in this scope

    Vector_Scale(&temporary[0][0], &DCM_Matrix[1][0], error); //eq.19

    ^

    DCM:17:67: error: ‘Vector_Add’ was not declared in this scope

    Vector_Add(&temporary[0][0], &temporary[0][0], &DCM_Matrix[0][0]);//eq.19

    ^

    DCM:20:74: error: ‘Vector_Cross_Product’ was not declared in this scope

    Vector_Cross_Product(&temporary[2][0],&temporary[0][0],&temporary[1][0]); // c= a x b //eq.20

    ^

    /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/DCM.ino: In function ‘void Drift_correction()’:

    DCM:54:77: error: ‘Vector_Cross_Product’ was not declared in this scope

    Vector_Cross_Product(&errorRollPitch[0],&Accel_Vector[0],&DCM_Matrix[2][0]); //adjust the ground of reference

    ^

    DCM:55:72: error: ‘Vector_Scale’ was not declared in this scope

    Vector_Scale(&Omega_P[0],&errorRollPitch[0],Kp_ROLLPITCH*Accel_weight);

    ^

    DCM:58:44: error: ‘Vector_Add’ was not declared in this scope

    Vector_Add(Omega_I,Omega_I,Scaled_Omega_I);

    ^

    /Users/maxbirley/Dropbox/Arduino/Razor_AHRS/DCM.ino: In function ‘void Matrix_update()’:

    DCM:85:53: error: ‘Vector_Add’ was not declared in this scope

    Vector_Add(&Omega[0], &Gyro_Vector[0], &Omega_I[0]); //adding proportional term

    ^

    DCM:110:60: error: ‘Matrix_Multiply’ was not declared in this scope

    Matrix_Multiply(DCM_Matrix,Update_Matrix,Temporary_Matrix); //a*b=c

    ^

    Using library Wire at version 1.0 in folder: /Users/maxbirley/Library/Arduino15/packages/arduino/hardware/avr/1.6.23/libraries/Wire

    Using library gy-88 in folder: /Users/maxbirley/Dropbox/Arduino/libraries/gy-88 (legacy)

    Using library ITG3200 in folder: /Users/maxbirley/Dropbox/Arduino/libraries/ITG3200 (legacy)

    Using library ADXL345 in folder: /Users/maxbirley/Dropbox/Arduino/libraries/ADXL345 (legacy)

    Using library HMC5883L in folder: /Users/maxbirley/Dropbox/Arduino/libraries/HMC5883L (legacy)

    exit status 1

    ‘Read_Gyro’ was not declared in this scope

    It doesn’t look like the libraries installed correctly.

    The " was not declared in this scope " errors you’re seeing indicate that Arduino isn’t able to see the libraries that call those functions.