Arduino IDE 2.1.1 ESP32 Compilation error: No connection established

i will try it but, dont i have to uninstall the Microsoft one and some files might still stay on the pc?

You do not need to uninstall it. You can have both packages installed on your computer at the same time. The package you get from the "Windows ZIP file" download link doesn't even use an installer so it doesn't make any changes to the Windows registry. You install it by unzipping the downloaded file to a convenient location and you can uninstall it at any time by deleting the folder you unzipped it to.

Ok, after unzipping it what do i do now? Run the same command in power shell?

To start, I'm going to ask you to try another compilation, but this time using the IDE from the ZIP package, then post the full verbose output from the compilation as you did before if it fails.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Quit from the Arduino IDE menus if you already have Arduino IDE running.
  2. Double click on the file arduino.exe you find in the unzipped folder.
    Arduino IDE will now start up.
  3. Select File > Preferences... from the Arduino IDE menus.
    The "Preferences" dialog will open.
  4. Check the box next to "Show verbose output during: ☐ compilation" in the "Preferences" dialog.
  5. Click the OK button.
  6. Attempt to compile for your ESP32 board, just as you did before.
  7. If the compilation fails you'll see a button on the right side of the orange bar in Arduino IDE: Copy error messages. Click that button.
    This copies the full output to the clipboard.
  8. Open a forum reply here by clicking the Reply button.
  9. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code tags icon on toolbar
  10. Press Ctrl+V.
    This will paste the compilation output into the code block.
  11. Move the cursor outside of the code tags before you add any additional text to your reply.
  12. Click the Reply button to post the output.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the Reply button.
  5. Click the "Upload" icon (image) on the post composer toolbar:
    Upload icon on toolbar
    A dialog will open.
  6. In the dialog, select the .txt file you saved.
  7. Click the Open button.
  8. Click the Reply button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

Done:
text.txt (1.3 MB)

OK, now you should be able to try the experiment of running arduino-builder directly from the command line to see if it is the cause of this unexpected error:

Please try this:

  1. Click the Windows "Start" button.
  2. Type powershell in the search field.
  3. Select "Windows PowerShell ISE" from the search results.
    A "Windows PowerShell ISE" window will open.
  4. Click on the terminal panel of the "Windows PowerShell ISE" window.
    The terminal panel is the part that has the command prompt like PS C:\Users\per>
  5. Type the following command:
    C:\Users\danch\Downloads\arduino-1.8.19-windows\arduino-1.8.19\arduino-builder
    
  6. Press the Enter key.

When things are working correctly, we expect this to cause the command line help for the tool to be printed in the PowerShell terminal:

PS C:\> C:\Users\danch\Downloads\arduino-1.8.19-windows\arduino-1.8.19\arduino-builder
Parameter 'hardware' is mandatory
Usage of C:\Users\danch\Downloads\arduino-1.8.19-windows\arduino-1.8.19\arduino-builder:
  -build-cache string
        builds of 'core.a' are saved into this folder to be cached and reused
  -build-options-file string
        Instead of specifying --hardware, --tools etc every time, you can load all such options from a file
  -build-path string
        build path
  -built-in-libraries value
        Specify a built-in 'libraries' folder. These are low priority libraries. Can be added multiple times for specifying multiple built-in 'libraries' folders
  -code-complete-at string
        output code completions for sketch at a specific location. Location format is "file:line:col"
  -compile
        compiles the given sketch
  -core-api-version string
        version of core APIs (used to populate ARDUINO #define) (default "10600")
  -daemon
        daemonizes and serves its functions via rpc
  -debug-level int
        Turns on debugging messages. The higher, the chattier (default 5)
  -dump-prefs
        dumps build properties used when compiling
  -experimental
        enables experimental features
  -fqbn string
        fully qualified board name
  -hardware value
        Specify a 'hardware' folder. Can be added multiple times for specifying multiple 'hardware' folders
  -ide-version string
        [deprecated] use 'core-api-version' instead (default "10600")
  -jobs int
        specify how many concurrent gcc processes should run at the same time. Defaults to the number of available cores on the running machine
  -libraries value
        Specify a 'libraries' folder. Can be added multiple times for specifying multiple 'libraries' folders
  -logger string
        Sets type of logger. Available values are 'human', 'humantags', 'machine' (default "human")
  -prefs value
        Specify a custom preference. Can be added multiple times for specifying multiple custom preferences
  -preprocess
        preprocess the given sketch
  -quiet
        if 'true' doesn't print any warnings or progress or whatever
  -tools value
        Specify a 'tools' folder. Can be added multiple times for specifying multiple 'tools' folders
  -trace
        traces the whole process lifecycle
  -verbose
        if 'true' prints lots of stuff
  -version
        prints version and exits
  -vid-pid string
        specify to use vid/pid specific build properties, as defined in boards.txt
  -warnings string
        Sets warnings level. Available values are 'none', 'default', 'more' and 'all'
PS C:\> 

Do you see that expected output when you perform the instructions I provided, or something else? If something else, please post the full output from the PowerShell terminal or any dialogs that might have appeared.

C:\Users\danch\Downloads\arduino-1.8.19-windows\arduino-1.8.19\arduino-builder : Parameter 'hardware' is mandatory
At line:1 char:1
+ C:\Users\danch\Downloads\arduino-1.8.19-windows\arduino-1.8.19\arduin ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Parameter 'hardware' is mandatory:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
Usage of C:\Users\danch\Downloads\arduino-1.8.19-windows\arduino-1.8.19\arduino-builder.exe:
  -build-cache string
    	builds of 'core.a' are saved into this folder to be cached and reused
  -build-options-file string
    	Instead of specifying --hardware, --tools etc every time, you can load all such options from a file
  -build-path string
    	build path
  -built-in-libraries value
    	Specify a built-in 'libraries' folder. These are low priority libraries. Can be added multiple times for specifying multiple 
built-in 'libraries' folders
  -code-complete-at string
    	output code completions for sketch at a specific location. Location format is "file:line:col"
  -compile
    	compiles the given sketch
  -core-api-version string
    	version of core APIs (used to populate ARDUINO #define) (default "10600")
  -daemon
    	daemonizes and serves its functions via rpc
  -debug-level int
    	Turns on debugging messages. The higher, the chattier (default 5)
  -dump-prefs
    	dumps build properties used when compiling
  -experimental
    	enables experimental features
  -fqbn string
    	fully qualified board name
  -hardware value
    	Specify a 'hardware' folder. Can be added multiple times for specifying multiple 'hardware' folders
  -ide-version string
    	[deprecated] use 'core-api-version' instead (default "10600")
  -jobs int
    	specify how many concurrent gcc processes should run at the same time. Defaults to the number of available cores on the running 
machine
  -libraries value
    	Specify a 'libraries' folder. Can be added multiple times for specifying multiple 'libraries' folders
  -logger string
    	Sets type of logger. Available values are 'human', 'humantags', 'machine' (default "human")
  -prefs value
    	Specify a custom preference. Can be added multiple times for specifying multiple custom preferences
  -preprocess
    	preprocess the given sketch
  -quiet
    	if 'true' doesn't print any warnings or progress or whatever
  -tools value
    	Specify a 'tools' folder. Can be added multiple times for specifying multiple 'tools' folders
  -trace
    	traces the whole process lifecycle
  -verbose
    	if 'true' prints lots of stuff
  -version
    	prints version and exits
  -vid-pid string
    	specify to use vid/pid specific build properties, as defined in boards.txt
  -warnings string
    	Sets warnings level. Available values are 'none', 'default', 'more' and 'all'

@ptillisch Sorry for the mention but have you figured anything out?

Sorry, I'm stumped. Maybe one of the other forum helpers will have an idea.

Anyway thank you for the help. If I don`t figure out something I might just reinstall windows when I can.

First I uninstalled the IDE ,then I opened the File Manager and searched "arduino" in This PC. I deleted everything possible. After a restart I downloaded the arduino IDE again. Still doesnt work. Here is the error message:
text.txt (206.4 KB)

We can investigate your original problem with Arduino IDE 2.x if you like. It might have the same mysterious cause that seems to be unique to your system (since I don't find any other results for this error message reported by Arduino users anywhere on the Internet), but maybe we would get lucky and find there is a different problem with Arduino IDE 2.x that is more approachable.

Thanks for your concern. Unfortunately I kinda rage while trying to find a solution and now I am waiting for windows to reinstall. If that doesn't fix my problem I don't know what will. Anyway I am using a 10 year old laptop which had some problems with windows. Sometimes I get a blue screen for nothing, others random comand prompts open. So I am guessing the problem was the operating system, because the laptop might be old but it is a powerful machine.

@ptillisch Well we can continue the investigation because on a fresh windows instalation I can verify for esp32 but now for arduino uno it says that: 'SoftwareSerial' does not name a type; :upside_down_face:.

That is great news!

Please post your full sketch that produces this error.

I'll provide instructions you can follow to do that:

  1. Select Tools > Auto Format from the Arduino IDE menus.
    This is done to make the code easier for us to read.
  2. Select Edit > Copy for Forum from the Arduino IDE menus.
  3. In a forum reply here, click on the post composer field.
  4. Press Ctrl+V.
    This will paste the sketch to the post composer.
  5. Move the cursor outside of the code tags before you add any additional text to your reply.
  6. Repeat the above process if your sketch has multiple tabs.
  7. Click the Reply button to post your reply.

When your code requires a library that's not included with the Arduino IDE please post a link to where you downloaded that library from, or if you installed it using Library Manager (Sketch > Include Library > Manage Libraries in Arduino IDE) then say so and state the full name of the library.


I'm also going to ask you to post the full output from a compilation.

Please do this:

  1. Select Sketch > Verify/Compile from the Arduino IDE menus.
  2. After the compilation fails you'll see a button on the right side of the orange bar in Arduino IDE: Copy error messages. Click that button.
  3. Open a forum reply here by clicking the Reply button.
  4. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code tags icon on toolbar
  5. Press Ctrl+V.
    This will paste the compilation output into the code block.
  6. Move the cursor outside of the code tags before you add any additional text to your reply.
  7. Click the Reply button to post the output.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the Reply button.
  5. Click the "Upload" icon (image) on the post composer toolbar:
    Upload icon on toolbar
    A dialog will open.
  6. In the dialog, select the .txt file you saved.
  7. Click the Open button.
  8. Click the Reply button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

So here is the code:

[code]
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <TinyGPS++.h>

#define OLED_RESET -1
Adafruit_SSD1306 display(OLED_RESET);

TinyGPSPlus gps;
SoftwareSerial ss(0, 1); // RX, TX for NEO-6M (make sure to use appropriate pins)

void setup() {
  Serial.begin(9600);
  ss.begin(9600);

  // Initialize OLED display with 128x32 pixels
  if (!display.begin(SSD1306_I2C_ADDRESS, 0, 1)) {
    Serial.println(F("SSD1306 allocation failed"));
    for (;;);
  }

  display.display(); // display splash screen
  delay(2000);
  display.clearDisplay(); // clear the display buffer

  display.setTextSize(1);
  display.setTextColor(SSD1306_WHITE);
  display.setCursor(0, 0);
  display.println("GPS Data:");
  display.display();
}

void loop() {
  while (ss.available() > 0) {
    gps.encode(ss.read());
    if (gps.location.isUpdated() && gps.altitude.isUpdated()) {
      display.clearDisplay();
      display.setCursor(0, 0);
      display.print("Latitude: ");
      display.println(gps.location.lat(), 6);
      display.print("Longitude: ");
      display.println(gps.location.lng(), 6);
      display.print("Altitude: ");
      display.print(gps.altitude.meters());
      display.println(" m");
      display.display();
    }
  }
}

[/code]

and here is the error:

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Uno"





















C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\DG_tao\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\DG_tao\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\DG_tao\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10819 -build-path C:\Users\DG_tao\AppData\Local\Temp\arduino_build_534135 -warnings=none -build-cache C:\Users\DG_tao\AppData\Local\Temp\arduino_cache_393392 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -verbose C:\Users\DG_tao\Documents\Arduino\oled_gps\oled_gps.ino

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\DG_tao\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\DG_tao\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\DG_tao\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10819 -build-path C:\Users\DG_tao\AppData\Local\Temp\arduino_build_534135 -warnings=none -build-cache C:\Users\DG_tao\AppData\Local\Temp\arduino_cache_393392 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -verbose C:\Users\DG_tao\Documents\Arduino\oled_gps\oled_gps.ino

Using board 'uno' from platform in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr

Using core 'arduino' from platform in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr

Detecting libraries used...

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o nul

Alternatives for Wire.h: [Wire@1.0]

ResolveLibrary(Wire.h)

  -> candidates: [Wire@1.0]

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o nul

Alternatives for Adafruit_GFX.h: [Adafruit_GFX_Library@1.11.7]

ResolveLibrary(Adafruit_GFX.h)

  -> candidates: [Adafruit_GFX_Library@1.11.7]

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o nul

Alternatives for Adafruit_I2CDevice.h: [Adafruit_BusIO@1.14.1]

ResolveLibrary(Adafruit_I2CDevice.h)

  -> candidates: [Adafruit_BusIO@1.14.1]

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o nul

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

  -> candidates: [SPI@1.0]

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o nul

Alternatives for Adafruit_SSD1306.h: [Adafruit_SSD1306@2.5.7]

ResolveLibrary(Adafruit_SSD1306.h)

  -> candidates: [Adafruit_SSD1306@2.5.7]

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o nul

Alternatives for TinyGPS++.h: [TinyGPSPlus@1.0.3]

ResolveLibrary(TinyGPS++.h)

  -> candidates: [TinyGPSPlus@1.0.3]

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src\\Wire.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src\\utility\\twi.c" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GrayOLED.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_SPITFT.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\glcdfont.c" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src\\SPI.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306\\Adafruit_SSD1306.cpp" -o nul

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src\\TinyGPS++.cpp" -o nul

Generating function prototypes...

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\preproc\\ctags_target_for_gcc_minus_e.cpp"

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr/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=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\DG_tao\\Documents\\Arduino\\libraries\\TinyGPSPlus\\src" "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp" -o "C:\\Users\\DG_tao\\AppData\\Local\\Temp\\arduino_build_534135\\sketch\\oled_gps.ino.cpp.o"

oled_gps:10:1: error: 'SoftwareSerial' does not name a type; did you mean 'HardwareSerial'?

 SoftwareSerial ss(0, 1); // RX, TX for NEO-6M (make sure to use appropriate pins)

 ^~~~~~~~~~~~~~

 HardwareSerial

C:\Users\DG_tao\Documents\Arduino\oled_gps\oled_gps.ino: In function 'void setup()':

oled_gps:14:3: error: 'ss' was not declared in this scope

   ss.begin(9600);

   ^~

C:\Users\DG_tao\Documents\Arduino\oled_gps\oled_gps.ino:14:3: note: suggested alternative: 'sq'

   ss.begin(9600);

   ^~

   sq

oled_gps:17:22: error: 'SSD1306_I2C_ADDRESS' was not declared in this scope

   if (!display.begin(SSD1306_I2C_ADDRESS, 0, 1)) {

                      ^~~~~~~~~~~~~~~~~~~

C:\Users\DG_tao\Documents\Arduino\oled_gps\oled_gps.ino:17:22: note: suggested alternative: 'SSD1306_PAGEADDR'

   if (!display.begin(SSD1306_I2C_ADDRESS, 0, 1)) {

                      ^~~~~~~~~~~~~~~~~~~

                      SSD1306_PAGEADDR

C:\Users\DG_tao\Documents\Arduino\oled_gps\oled_gps.ino: In function 'void loop()':

oled_gps:34:10: error: 'ss' was not declared in this scope

   while (ss.available() > 0) {

          ^~

C:\Users\DG_tao\Documents\Arduino\oled_gps\oled_gps.ino:34:10: note: suggested alternative: 'sq'

   while (ss.available() > 0) {

          ^~

          sq

Using library Wire at version 1.0 in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire 

Using library Adafruit_GFX_Library at version 1.11.7 in folder: C:\Users\DG_tao\Documents\Arduino\libraries\Adafruit_GFX_Library 

Using library Adafruit_BusIO at version 1.14.1 in folder: C:\Users\DG_tao\Documents\Arduino\libraries\Adafruit_BusIO 

Using library SPI at version 1.0 in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI 

Using library Adafruit_SSD1306 at version 2.5.7 in folder: C:\Users\DG_tao\Documents\Arduino\libraries\Adafruit_SSD1306 

Using library TinyGPSPlus at version 1.0.3 in folder: C:\Users\DG_tao\Documents\Arduino\libraries\TinyGPSPlus 

exit status 1

'SoftwareSerial' does not name a type; did you mean 'HardwareSerial'?


Shouldn't you be #including the SoftwareSerial library somewhere ?

Yeah, makes sense xd. I am never using ChatGPT again for programing.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.