Skip to content
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

libclang search failure with 1.8.1 (works with 1.8.0) #182

Open
tripokey opened this issue Jun 3, 2024 · 1 comment · May be fixed by #185
Open

libclang search failure with 1.8.1 (works with 1.8.0) #182

tripokey opened this issue Jun 3, 2024 · 1 comment · May be fixed by #185

Comments

@tripokey
Copy link

tripokey commented Jun 3, 2024

As of clang-sys version 1.8.1 build for my project fails on Windows (after rollback to 1.8.0 it passes again) with:

--- stderr
  ** Configuring for x86_64 Windows with SSE optimizations.
  Note: Using a custom HMAC-SHA1 implementation.
  CMake Warning:
    Manually-specified variables were not used by the project:
      CMAKE_ASM_FLAGS
      CMAKE_ASM_FLAGS_RELEASE
      CMAKE_BUILD_TYPE
  thread 'main' panicked at C:\Users\ContainerAdministrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bindgen-0.63.0\./lib.rs:2338:31:
  Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Error[1] (Command): The 'cargo' application failed with exit code = 101
Cleaning up project directory and file based variables
00:04
ERROR: Job failed: exit code 1
@tripokey
Copy link
Author

I'm suspecting 8ee54d6 as it removes BuildTools from DIRECTORIES_WINDOWS.

@KyleMayes was \\**\\VC intended here instead of \\*\\VC?

@tripokey tripokey linked a pull request Jun 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant