-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking CXX executable light.elf FAILED: light.elf (CON-1523) #1254
Comments
I was able to build by following this: #758 (comment) I believe the Bluetooth issue is related to my WSL environment. Once i work through this: https://github.com/espressif/esp-matter/blob/main/docs/en/using_chip_tool.rst I will update. |
@JesseDWatts , both of the above issues will be resolved by the submodule update which is currently under process. The change will be available soon. As of now, we support the |
@shripad621git thank you. Downgrading fixed those 2 issues. However, when I attempt to flash the firmware now I get: `A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption. /home/jesse/.espressif/python_env/idf5.2_py3.10_env/bin/python;;/home/jesse/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32c6 Can you suggest anything before I try a fresh install? |
@JesseDWatts , can you please check the USB cable is properly connected. Possibly you can give it a try by using some other USB cable. For more reference, you can refer to the common errors section in esp-idf. |
i pulled the default of the idf, and was able to build a program and load it on an ESP32 (blinking light) and that worked fine. I've not been able to build any of the matter examples, getting what I assume is a linking error, although, the output is just returned error 1, with nothing above that that shows an error. (It's been some 20 years since I had to work in C/C++, man it makes one appreciate c# when you see things like 'error 1') In any event, do I need to roll back my entire 'idf' system to the v5.2.3 in order to build anything if I want it to support Matter? |
I switched idf back to 5.2.3, and was able to get the blinky light again, but then when I went to load up the matter repo I got an error saying 'gn' was not installed, and I tried running the pip on the requirements.txt file (that was suggested somewhere in the help), and it said I was in an externally managed environment, and apparently Python has some cob up its * about having multiple packages and crud all installed globally... which begs the question why anyone would use Python when C# is out there.. but apparently, people actually enjoy these kind of nightmares... Anyway, I asked ChatGPT and it said, that the message that I got about creating a new environment was correct, and the best practice, so I did that... and re-ran the install.sh and it seemed to work... and now idf doesn't run anymore unless I use a different window, so apparently I have to reinstall it using this new environment which I created under the matter directory... And ChatGPT agreed this is a royal mess and 'can get complicated when you have multiple things with different requirements', yeah, DLL heck they used to call it back in the day.. So... I presume the plan is to reinstall idf using this environment and maybe everything will be fine.. or perhaps, I just wipe out the entire thing and use a Raspberry Pi instead?... Been fighting this for over 2 hours now... But at least, I got a little light blinking... no thanks to Matter code... I was so sure I'd have it able to be turned on and off using Home Assistant... |
I was monitoring my disk space as I was installing all this stuff.. and it appears to have sucked in about 30-50 GB of stuff in order to build a 1 MB application (there is only 2MB on the chip), which implies that it is sucking in the world in order to do a small (in terms of a windows application, a TINY) application. Is all of this stuff really needed? It is dying because someone is using 'gn' to do something and apparently that wasn't in the 50GB of stuff that it 'needed' to download in order to run. I ran out of space multiple times loading this... |
I am having issues building the Light example. The first issue relates to a missing file related to bluetooth:
ninja: error: '/home/jesse/esp/esp-idf/components/bt/controller/lib_esp32c6/esp32c6-bt-lib/libble_app.a', needed by 'light.elf', missing and no known rule to make it
To get around this I disabled BT. (Future issue to fix i thought)
The second issue is Linking CXX executable light.elf accompanied with some warnings regarding SEC_CERT_DAC_PROVIDER.
OS: Ubuntu 22.04 on WSL
ESP-IDF Version: 5.5.0
Building for ESP32-C6
idf_py_stdout_output_46922.txt
idf_py_stderr_output_44462.txt
Thank you,
The text was updated successfully, but these errors were encountered: