I have a problem with my Arduino ide on Windows. The library only contains 2 folders but why does Arduino Ide still say duplicate library?
Please read the forum guidelines, screenshots are not welcomed here.
Please insert a full error message as a text, using a code tags.
It is impossible to read your screenshots, but I doubt I have ever done a compile/verify without a message or two about duplicate libraries. Once you understand how the hierarchal concatenating library system works you will realize those are just info messages.
This is a problem when I have emptied the libraries in the folder but the Arduino Ide still reads 2 duplicate libraries.
I know the error message is photo is prohibited, I just want to fix why the library folder is empty, Arduino Ide still reads 2 duplicate libraries
Hi @bimosora. I'm going to ask you to provide the full verbose output from a compilation.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Check the box next to "Show verbose output during: ☐ compile" in the "Preferences" dialog.
- Click the "OK" button.
The "Preferences" dialog will close. - Select Sketch > Verify/Compile from the Arduino IDE menus.
- Wait for the compilation to fail.
- 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.
- Open a forum reply here by clicking the "Reply" button.
- 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.
- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the compilation output into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- 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.
Click here for attachment instructions
- Open any text editor program.
- Paste the copied output into the text editor.
- Save the file in
.txtformat. - Open a forum reply here by clicking the "Reply" button.
- Click the "Upload" icon (
) on the post composer toolbar:
The "Open" dialog will open. - Select the
.txtfile you saved from the "Open" dialog. - Click the "Open" button.
The dialog will close. - 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.
In file included from C:\Users\Admin\Documents\Arduino\libraries\ESP32_HUB75_LED_MATRIX_PANEL_DMA_Display\src/ESP32-VirtualMatrixPanel-I2S-DMA.h:28:0,
from C:\Users\Admin\Downloads\Compressed\file\file\file.ino:12:
C:\Users\Admin\Documents\Arduino\libraries\ESP32_HUB75_LED_MATRIX_PANEL_DMA_Display\src/ESP32-HUB75-MatrixPanel-I2S-DMA.h:5:10: fatal error: vector: No such file or directory
#include <vector>
^~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
There is absolutely nothing about duplicate libraries in the output you shared.
Please provide a detailed explanation of what it is that is making you think Arduino IDE is "reading 2 duplicate libraries".
I use this library in my code
ESP32-VirtualMatrixPanel-I2S-DMA.h
But on the Arduino ide instead reads this
ESP32-HUB75-MatrixPanel-I2S-DMA.h
Yes, because that file is part of the library:
So this is normal and expected. You have come to an erroneous conclusion that the cause of your problem is a duplicate library.
The problem is that compilation is failing with this error message:
The library is written for use with boards that use an ESP32 microcontroller as the primary microcontroller. When compiling for one of those boards, the C++ standard library provides a header file named vector. However, if you compile for a different board, such as the boards based on the AVR microcontrollers then the standard library will not provide a header file of that name.
Unfortunately you did not follow the instructions I provided in post #6, which would have told us which board you are compiling for. So I am now forced to waste time by asking you: which board do you have selected in Arduino IDE?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.



