Skip to content

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

@tripokey

Description

@tripokey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions