-
Notifications
You must be signed in to change notification settings - Fork 24
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
Build failed due to failure of loading libclang.dll when generating bindings #440
Comments
Can confirm that I have the same issue after updating rustup, espup & espup update. The dll is on the specified path but could not be opened for some reason. This persists after (re)installing the ESP IDF cargo subcommands and doing espup remove & espup install. I reverted to an older espup version ( |
what version of the esp rust toolchain did you currently have installed? E.g what is the result of You can checkout the respective repos here and here. Depending on your version installed try to downgrade one compiler version earlier and check if that helps. You can see on the linked release page from above, how you can install a specific compiler version. Also than make sure to either delete the "newer" so the other one is actually used. |
Here is the toolchain version I using currently: I just ran |
I tried with 3 espup versions, each time doing an uninstall first and installing the default toolchain (1.79.0.0 nightly) again. Tested on a clean build of my current project.
Fails
Also fails
Works in my case. Would it be possible that the issue is related to the way how espup sets up the environment? |
@SergioGasquez @MabezDev are you aware of windows specific issues in espup v12 ? Should i transfer the issue? |
The same error occurred in my environment. |
Out of curiosity, what happens if you only replace the |
If only I tried to get the cause of the load error with the Incidentally, the error code when replacing only |
Thanks for the detailed information, at the moment I don't have a Windows environment to reproduce the error and Im not sure what we can do from the
|
I found the cause of the error. When loading (the
Both do not work well. |
Hi !
with the contents of the same folders from https://github.com/espressif/llvm-project/releases/tag/esp-16.0.4-20231113 Build logs (cargo clean -> cargo build) Project config files: Environment:
|
Same above. |
building logs:
and I have set the LIBCLANG_PATH env:
The text was updated successfully, but these errors were encountered: