Skip to content

note: LINK : fatal error LNK1181: cannot open input file 'gmp.lib' #72

@huangjj27

Description

@huangjj27

Environment

> cargo --version
cargo 1.49.0 (d00d64df9 2020-12-05)
> rustup toolchain list 
stable-x86_64-pc-windows-msvc (default)
nightly-x86_64-pc-windows-msvc
1.41.0-x86_64-pc-windows-msvc

compile the demo in README.md with cargo +nightly run

Error

> cargo +nightly run
error: linking with `link.exe` failed: exit code: 1181
  |
  # many notes
  = note: LINK : fatal error LNK1181: cannot open input file 'gmp.lib'


error: aborting due to previous error

error: could not compile `paillier-demo`

To learn more, run the command again with --verbose.

Expect

install gmp.lib before the lib build, so that it could link.

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