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

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

Open
huangjj27 opened this issue Jan 24, 2021 · 0 comments
Open

Comments

@huangjj27
Copy link

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.

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

No branches or pull requests

1 participant