Skip to content

Using static libraries but getting error of gcrypt.dll not found #3

@stanley101music

Description

@stanley101music

Context

I'm using the static libraries downloaded from the release page. I've checked the settings of the project configurations including C/C++ and Linker in visual studio 2022, and when I try to run the program, it'll give a system error "This application failed to start because gcrypt.dll was not found. Re-installing the application may fix this problem.". The error can be solved by adding gcrypt.dll to the project folder, but I was wondering if the static library in Releases should be an import library or an object library.

Expected Behavior

The program can run without adding gcrypt.dll to the project folder

Actual Behavior

Need to add gcrypt.dll to the project folder to run the program

Your Environment

  • Libgcrypt Release Version Used: libgcrypt_libgcrypt-1.10.0_msvc17.zip
  • Operating System and Version: Win 10 21H1
  • Compiler/IDE Version(s): Microsoft Visual Studio Community 2022 17.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions