I’m getting the following error when I try to compile the NEO-M8P-2/Example3_BaseWithLCD function.
Arduino: 1.8.10 (Linux), Board: "SparkFun SAMD21 Pro RF"
/home/pi/Arduino/libraries/SparkFun_Ublox_Arduino_Library/examples/NEO-M8P-2/Example3_BaseWithLCD/Example3_BaseWithLCD.ino: In function 'void setup()':
Multiple libraries were found for "Wire.h"
Example3_BaseWithLCD:146:54: error: 'UBX_RTCM_I2C_PORT' was not declared in this scope
Used: /home/pi/.arduino15/packages/SparkFun/hardware/samd/1.7.3/libraries/Wire
Multiple libraries were found for "SparkFun_Ublox_Arduino_Library.h"
Used: /home/pi/Arduino/libraries/SparkFun_Ublox_Arduino_Library
response &= myGPS.enableRTCMmessage(UBX_RTCM_1005, UBX_RTCM_I2C_PORT, 1); //Enable message 1005 to output through I2C port, message every second
Multiple libraries were found for "SerLCD.h"
^
Used: /home/pi/Arduino/libraries/SparkFun_SerLCD_Arduino_Library
Multiple libraries were found for "SPI.h"
Used: /home/pi/.arduino15/packages/SparkFun/hardware/samd/1.7.3/libraries/SPI
exit status 1
'UBX_RTCM_I2C_PORT' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.