-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[netcdf-c:x86-windows] link problem - MPI #14263
Comments
Hi @vjandasek Have you tried the latest version in vcpkg? I cannot reproduce this on my machine. |
Hello @NancyLi1013, thanks for the hint. However, I have run git pull, bootstrap-vcpkg.bat, vcpkg update, vcpkg upgrade and then tried vcpkg install netcdf-c already multiple times, still getting the same error. I can build the x64-windows without problems, but the x86-windows keeps producing the link error. |
Yes, it would be better to reinstall the dependencies and delete the related caches. Then try to rebuild this. Here is the build result from my machine:
|
if you have |
Thanks for pointing out the hdf5[parallel] - I really had it installed. Without it, netcdf-c was possible to install. However, even with clean vcpkg installation, only hdf5[parallel], I was not able to get netcdf-c compiled. |
You can try to add |
@NancyLi1013 How should I do this please? |
You can update the Build-Depends
as
|
Hi @vjandasek Thanks. |
Hi @NancyLi1013, I tried both the update of Build-Depends and the changes from your pull request, however with no luck. The update of the Build-Depends produces the same message as before. CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:55 (message): |
Thanks for your update. I will check this again on my local. |
Hi @vjandasek It seems that there are something wrong with the patch. Could you please help provide the install process here or try to clone a new repo based on #14421 to test this? I try to install this again on my machine based on the PR #14421 and there is no any error. Before install
|
Hi @NancyLi1013, sorry, I probably did something incorrectly last time. I retried with fresh vcpkg, checked out your branch and now it works without any problems. |
Host Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg install netcdf-c[core]:x86-windows
Failure logs
The text was updated successfully, but these errors were encountered: