I recently switched a laptop to Linix Mint. I have transfered all my sketchs and librarys over from a Win10 machine. All the uno and nano sketcks complie fine. Problem is none of the ESP32 sketchs will. Error says, "ERROR compiling for board DOIT ESP32 DEVKIT V1"
I recently switched a laptop to Linix Mint. I have transfered all my sketchs and librarys over from a Win10 machine. All the uno and nano sketcks complie fine. Problem is none of the ESP32 sketchs will. Error says, "ERROR compiling for board DOIT ESP32 DEVKIT V1"
When you say 'transfered' do you mean the sketches and LIBRARY (NO S) folder which reside under the 'Sketchbook location:'?
If that is true, did you then install the IDE? Then add all the 'Additional boards manager URLs:'?
The minimum set would be as follows
https://arduino.esp8266.com/stable/package_esp8266com_index.json
https://espressif.github.io/arduino-esp32/package_esp32_index.json
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
If all that is done, I will look at my *nix PC to get the information for my next questions.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Ron, Yes I have done all you mentioned.With the exception of the first line. Maybe that is the problem. I'll look into it more tomorrow. Thanks.
@donnor If you were referring to the addt'l boards, the 1st line is esp8266, the 2nd line is esp32 where you are having the problem. Copy them to a reply so we can check syntax etc.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
The code is from WiFi Manager examples. Runs fine in Win10.
Hi @donnor,
Sorry, this is not my area of expertise, but I notice your error log finishes with
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
So maybe try following that advice and try posting the result.
Furthermore, I suggest you post either directly to the forum, or in a more convenient format ... maybe even a simple "xx.txt" will do, as , as not all on this forum will recognise "xx.odt" files.
Meanwhile, in case Ron (@zander) or others can immediately recognise the problem, the Errors.odt file you posted is
Arduino: 1.8.19 (Linux), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None, Disabled"
WARNING: Category 'Sound' in library ESP_I2S is not valid. Setting to 'Uncategorized'
WARNING: Category 'Sensor' in library ESP_NOW is not valid. Setting to 'Uncategorized'
WARNING: Category 'Sound' in library ESP_SR is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library ESP Insights is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library ESP RainMaker is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library TFLite Micro is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized'
Traceback (most recent call last):
File "/home/don/.arduino15/packages/esp32/tools/esptool_py/4.6/esptool.py", line 34, in <module>
import esptool
File "/home/don/.arduino15/packages/esp32/tools/esptool_py/4.6/esptool/__init__.py", line 41, in <module>
from esptool.cmds import (
File "/home/don/.arduino15/packages/esp32/tools/esptool_py/4.6/esptool/cmds.py", line 14, in <module>
from .bin_image import ELFFile, ImageSegment, LoadFirmwareImage
File "/home/don/.arduino15/packages/esp32/tools/esptool_py/4.6/esptool/bin_image.py", line 14, in <module>
from .loader import ESPLoader
File "/home/don/.arduino15/packages/esp32/tools/esptool_py/4.6/esptool/loader.py", line 30, in <module>
import serial
ModuleNotFoundError: No module named 'serial'
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Best wishes and good luck, Dave
@davee Since he did not follow my instructions nor the IDE instructions, he is on his own. I hate these kinds of %#@$%^^&^
BTW, the OS has nothing to do with if an example works or not. A botched installation however.....
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@davee There are two errors reported there. One appears to be a missing support library or a missing board entry. The other is almost certainly a board error but as an autistic 82 yo I have been known to be more error-prone than I was at 42. It's unfortunate the OP failed to see the instruction from the IDE to turn on Verbose, had he done that we may have more data to work with. In the meantime, I will try to replicate on my Mac which as you know is BSD Unix under the covers.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Thanks, Ron @zander,
I appreciated the situation, but just hoped that my minor intervention would oil the wheels a bit. I have Ubuntu, from which Mint is a derivative, and haven't noticed any major differences from Win 10, with respect to Arduino, so I presumed it was an installation issue. However, I know to my cost, that the smallest typo or misread/misapplication of instructions can sometimes be the hardest problem to fix!
Best wishes, Dave
@davee The VERBOSE option may help, but my hunch has not changed.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@davee @donnor Here are a few pieces of the esp32 board support folder/files and I am specifically showing one of the mentioned missing files. The path to the missing file(s) I think is identical regardless of OS after the Arduino15 folder, there will be differences prior to that.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Thanks again for all your help. Between appointments and my modem going south I havn't had time to look into this. Tomorrow is another day.
I am starting over. I spent yesterday running a utility called Drive Erase Pro. It took over 6 hours and wiped the hard drive clean. I am going to reinstall Linix then Ardiuno. I have the feeling somthing didn't get installed properly. We are gettig company for the weekend so it my be Monday or later befor I get back.
@donnor Remember you can't just 'copy over' the 1st and 2nd level libraries. You can copy your sketchbook folder which contains all your sketches plus your 3rd level libraries. BUT step 1 is to install the Arduino IDE for Linux. Don't forget to fix the USB port permissions! See Bill's document at HERE See pic for TOC location
once the IDE is installed, copy the contents of your old Win Sketchbook folder to the Linux Sketchbook folder. If the Linux Sketchbook folder already has a libraries folder, then merge the two, from windows libraries copy into Linux libraries.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.