I have problems with IDE 2.3.2

I have problems with IDE 2.3.2 - somttimes a library such as Wire.h goes missing - can't find it in IDE Library Manager after it programmed two CPU's perfectly - Teensy 4.1 with iMXRT1062=success, Pi Pico with RP2040 = success. ESP WEMOS Lolin32 != success (no success - missing Wire.h then could.nt find Wire.h in library manager. When searching with windows explorer wire.h exists in Arduino/library. The Ide (2.3.2) somtimes can't find libraries. I did get to program the ESP WEMOS lolin32 once but after that the IDE could not find the Wire.h library in one instance and the SSD1306.h library in another instance. However, both libraries exist when searching with windows explorer and the same missing libraries is found perfectly well when I program the iMXRT1062 on Teensy 4.1 and when I program RP2040 on Pi Pico. Is the problem the Ide or the ESP WEMOS lolin32 board or software? - somttimes a library such as Wire.h goes missing - can't find it in IDE Library Manager after it programmed two CPU's

Welcome to the forum

I have edited your post to make the text smaller and not bold to make it easier to read

Please do us a favour and make further changes to it to break it into sentences and paragraphs to make it even easier to read and provide help

Please don't post in "Uncategorized"; see the sticky topics in in Uncategorized - Arduino Forum.

Topic moved to a more suitable location on the forum.

A post was split to a new topic: IDE 2.3.1 slows my pc down on other apps

I have problems with Arduino IDE 2.3.2. Sometimes a library such as Wire.h goes missing according to the message from the IDE when error messages indicate that the IDE cannot find the Wire.h library. However, the IDE programmed two CPU's perfectly – a (Teensy 4.1 with iMXRT1062) successfully), a (Pi Pico with RP2040) also successfully. ESP WEMOS Lolin32 unsuccessfully (no success because it indicates the Ide cannot find the Wire.h library.

I have noticed that whichever library is at the top of the program (the first - #include library.h ) is the one which cause the IDE to generate an error message which indicates that the IDE cannot find that specific library.) I swapped libraries to test what could be happening and the previous sentence describes what actually appeared as error messages.

When searching with windows explorer the libraries other than the wire.h, do exist in their correct locations in the Arduino/library folders on Windows 11. The IDE (2.3.2) only sometimes (but frequently and many times) can't find libraries. I did get to program the ESP WEMOS lolin32 TWICE but after that the IDE once again could not find the Wire.h library in one instance and the SSD1306.h library in another instance as well as not being able to find the Adafruit_GFX library, choosing the one tha appears at the top of the include files.

However, each library do exist when searching with windows explorer and the missing libraries is found perfectly well when I program the iMXRT1062 on Teensy 4.1 and when I program RP2040 on Pi Pico. Is the problem with the IDE or could the ESP WEMOS lolin32 board cause the problem?

@hermanb7

Your other topic on the same subject deleted.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

:+1:

I have the same issue. I didn't read any rules of forum, but the issue is presented in 2.3.2

Hi @hermanb7

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


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


Please do this:

  1. Open the sketch that would not compile for the "ESP WEMOS Lolin32" board in Arduino IDE.
  2. Select the appropriate board for the "ESP WEMOS Lolin32" from the Tools > Board menu in Arduino IDE.
  3. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) 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. Select Sketch > Verify/Compile from the Arduino IDE menus.
  7. Wait for the compilation to fail.
  8. You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  9. Open a forum reply here by clicking the "Reply" button.
  10. 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 block icon on toolbar
  11. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the compilation output into the code block.
  12. Move the cursor outside of the code block markup before you add any additional text to your reply.
  13. 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 (Upload icon) on the post composer toolbar:
    Upload icon on toolbar
    The "Open" dialog will open.
  6. Select the .txt file you saved from the "Open" dialog.
  7. Click the "Open" button.
    The dialog will close.
  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.

First of all, the library name is "Wire", not "Wire.h". "Wire.h" is a header file that happens to exist in the Wire library. Library Manager is a list of libraries, not of header files so you should not go looking for header files in Library Manager, but instead look for library names.

Second, it is normal and expected that you will not see the Wire library in Library Manager. The Wire library is what is referred to as a "platform bundled library". Because the implementation of the Wire library is very architecture specific, each boards platform uses its own variant of the library. This library is installed along with the boards platform when you install it via the Arduino IDE Boards Manager. For this reason, the Wire library is not listed in Library Manager.

Please also post the full verbose output from a compilation that fails due to the missing "SSD1306.h library".

Please tell us the exact paths where you found the libraries.

Hi @dimsa. I'm going to ask you to post the full verbose output from a compilation where you had "the same issue".


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


Please do this:

  1. Open the sketch that didn't compile in Arduino IDE.
  2. Select the board the sketch didn't compile for from the Tools > Board menu in Arduino IDE.
  3. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) 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. Select Sketch > Verify/Compile from the Arduino IDE menus.
  7. Wait for the compilation to fail.
  8. You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  9. Open a forum reply here by clicking the "Reply" button.
  10. 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 block icon on toolbar
  11. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the compilation output into the code block.
  12. Move the cursor outside of the code block markup before you add any additional text to your reply.
  13. 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 (Upload icon) on the post composer toolbar:
    Upload icon on toolbar
    The "Open" dialog will open.
  6. Select the .txt file you saved from the "Open" dialog.
  7. Click the "Open" button.
    The dialog will close.
  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.

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