-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Description
Describe the bug
I am still trying to compile ADIOS2 with C-Blosc2 on Windows in openPMD/openPMD-api#1554.
I now try to use ADIOS 2.10.0-rc1.
This does not link on windows with libffi issues.
To Reproduce
I am doing an all-static build.
curl -sLo adios2-2.10.0-rc1.zip ^
https://github.com/ornladios/ADIOS2/archive/refs/tags/v2.10.0-rc1.zip
powershell Expand-Archive adios2-2.10.0-rc1.zip -DestinationPath dep-adios2
cmake -S dep-adios2/ADIOS2-2.10.0-rc1 -B build-adios2 ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED_LIBS=OFF ^
-DBUILD_TESTING=OFF ^
-DADIOS2_USE_MPI=OFF ^
-DADIOS2_BUILD_EXAMPLES=OFF ^
-DADIOS2_Blosc2_PREFER_SHARED=OFF ^
-DADIOS2_USE_Blosc2=ON ^
-DADIOS2_USE_BZip2=OFF ^
-DADIOS2_USE_Fortran=OFF ^
-DADIOS2_USE_HDF5=OFF ^
-DADIOS2_USE_MHS=OFF ^
-DADIOS2_USE_PNG=OFF ^
-DADIOS2_USE_Profiling=OFF ^
-DADIOS2_USE_Python=OFF ^
-DADIOS2_USE_ZeroMQ=OFF ^
-DADIOS2_USE_ZFP=ON ^
-DADIOS2_RUN_INSTALL_TEST=OFF
cmake --build build-adios2 --parallel 2
cmake --build build-adios2 --target install --config Release
See CI of openPMD/openPMD-api#1554, logs here:
adios2-2.10.0-rc1_libffi-link-issue.txt
2024-01-30T18:43:37.2016284Z adios2_c_variable.cpp
2024-01-30T18:43:37.4167988Z LINK : fatal error LNK1104: cannot open file 'ffi.lib' [D:\a\openPMD-api\openPMD-api\src\build-adios2\source\utils\bpls.vcxproj]
2024-01-30T18:43:37.4954992Z main.cpp
2024-01-30T18:43:38.2227279Z Reorganize.cpp
2024-01-30T18:43:38.2323129Z adios2_c_attribute.cpp
2024-01-30T18:43:38.5659633Z IO.cpp
2024-01-30T18:43:39.1746622Z adios2_c_operator.cpp
2024-01-30T18:43:39.4554626Z Utils.cpp
2024-01-30T18:43:39.6007589Z Operator.cpp
2024-01-30T18:43:39.9410487Z Generating Code...
2024-01-30T18:43:40.0518750Z Generating Code...
2024-01-30T18:43:40.3069063Z LINK : fatal error LNK1104: cannot open file 'ffi.lib' [D:\a\openPMD-api\openPMD-api\src\build-adios2\source\utils\adios_reorganize.vcxproj]
cc @eisenhauer ?
Metadata
Metadata
Assignees
Labels
No labels