Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

On Windows, failure to load the dll file that libclang.dll depends on. #187

Open
taks opened this issue Jul 31, 2024 · 0 comments · May be fixed by #188
Open

On Windows, failure to load the dll file that libclang.dll depends on. #187

taks opened this issue Jul 31, 2024 · 0 comments · May be fixed by #188

Comments

@taks
Copy link

taks commented Jul 31, 2024

Currently, the esp-idf-sys library, which is used to compile this clang-sys library, fails to compile.
(esp-rs/espup#440)

When compiling esp-idf-sys, the executable files required to compile the esp microcontroller are downloaded and the directory is added to the PATH environment variable.
The dll file in this downloaded conflicts with the dll file that libclang.dll depends on, causing libclang.dll to fail to load.

This error can be resolved by prioritizing loading dll in the directory containing libclang.dll.

※ This is not a problem for non-Windows users because they do not use the PATH environment variable to search for libraries.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant