I think I solved the u8g2 problem by removing it and the re-installing it. I'm not getting the messages about missing .h files anymore.
Com port selection is disabled. While uploading the IDE just shows "NodeMCU32S on usb:0/140000/0/1" at the right hand bottom corner.
If I attempt to open the serial monitor I get: "Board at usb:0/140000/0/1 is not available"
The messages shown are now:
Sketch uses 383962 bytes (29%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20196 bytes (6%) of dynamic memory, leaving 307484 bytes for local variables. Maximum is 327680 bytes.
Traceback (most recent call last):
File "esptool.py", line 2959, in <module>
Serial port usb:0/140000/0/1
File "esptool.py", line 2952, in _main
File "esptool.py", line 2652, in main
File "esptool.py", line 222, in __init__
File "site-packages\serial\__init__.py", line 88, in serial_for_url
File "site-packages\serial\serialwin32.py", line 62, in open
serial.serialutil.SerialException: could not open port 'usb:0/140000/0/1': WindowsError(123, 'De syntaxis van de bestandsnaam, mapnaam of volumenaam is onjuist.')
Failed to execute script esptool
the selected serial port Failed to execute script esptool
does not exist or your board is not connected