When I find that in the library manager and click "install", it shows a list of 25 or so "dependencies" and does not install. Help!
Hi @chuck659
Please provide a detailed description of what you mean by "does not install".
Did you see an error message when you attempted to install the library? If so, please provide the full and exact text of the error message.
I just installed the library and all dependencies without any problems using Arduino IDE 2.3.4. It did take a painfully long time to finish. The main reason is that the "M5GFX" library dependency is a ridiculous 137 MB. Although not as significant individually, it also must install the relatively large "U8g2" (46 MB), "ESP8266Audio" (21 MB) and "FastLED" (20 MB) dependencies. So it takes a significant amount of time to download and extract these libraries.
Wasn't sure what was "messing up" when I does not install"....now have gotten these installed and included:
M5GFX: GitHub - m5stack/M5GFX: Graphics library for M5Stack series
M5Unified: GitHub - m5stack/M5Unified: Unified library for M5Stack series
M5StickCPlus2: GitHub - m5stack/M5StickCPlus2
And the compiler reports:
"Alternatives for soc/soc_caps.h: []duino\libraries\M5Unified-master\src\utility\Power_Class.cpp:14:26: fatal error: soc/soc_caps.h: No such file or directory
ResolveLibrary(soc/soc_caps.h)"
I am using Ardino IDE 1.8.18
Also cannot find a board manager named "M5StickCPlus2", could find "M5Stick-C" so using that, which could be part of the problem.
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 > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Check the box next to "Show verbose output during: ☐ compilation" in the "Preferences" dialog.
- Click the "OK" button.
The "Preferences" dialog will close. - Select Sketch > Verify/Compile from the Arduino IDE menus.
- 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.
This copies the full output to the clipboard. - 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.
aye.
I don't see where to attach a .txt file. Compiler output is 600K.
Stick_compile_Dec18_1414hrs.txt (597.6 KB)
I think this is the problem. You are using the ancient version 1.0.6 of the "esp32" boards platform. Please use the Arduino IDE Boards Manager to update to the latest version. I'll provide instructions you can follow to do that:
Please try this:
- Select Tools > Board > Boards Manager... from the Arduino IDE menus.
The "Boards Manager" dialog will open. - Wait for the updates to finish, as shown by the messages printed at the bottom of the "Boards Manager" dialog.
- Scroll down through the list of boards platforms until you find the "esp32" entry. Click on it.
Some buttons will appear on the entry. - Click the "Update" button on the "esp32" entry.
- Wait for the update to finish.
- Click the "Close" button on the "Boards Manager" dialog.
The "Boards Manager" dialog will close. - Select Tools > Board > esp32 > M5StickCPlus2 from the Arduino IDE menus.
Now try compiling the sketch again. Hopefully this time it will be successful.
ptillisch - YES on the compile. Thank you so much for leading me through the steps.
You are welcome. I'm glad it is working now.
Regards, Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

