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

Compilation issues (Windows build) #4

Open
Alexander-Barth opened this issue May 23, 2020 · 0 comments
Open

Compilation issues (Windows build) #4

Alexander-Barth opened this issue May 23, 2020 · 0 comments

Comments

@Alexander-Barth
Copy link
Collaborator

Alexander-Barth commented May 23, 2020

List of issues preventing static Windows build:

make STATIC=on OS=mingw LIBS="-L/usr/lib -llapack -larpack -lopenblas $(nf-config --flibs) /mingw64/lib/libcurl.a -pipe -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -lnghttp2 -lidn2 -lssh2 -L/mingw64/lib -lssh2 -lws2_32 -lpsl -lssl -lcrypto -lssl -lcrypto -lgdi32 -lcrypt32 -lwldap32 -lbrotlidec -lbrotlidec -lz -lws2_32 "
gfortran -static -o dineof ReadMatrix.o ufileformat.o initfile.o stat.o norm.o dineof_utils.o smeanToZero.o smeanByRow.o svariExp.o ssvd_lancz.o dineof.o  -L/usr/lib -llapack -larpack -lopenblas -L/usr/lib -lnetcdff -lnetcdf -lnetcdf -lm /mingw64/lib/libcurl.a -pipe -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -L/mingw64/lib -lnghttp2 -lidn2 -lssh2 -L/mingw64/lib -lssh2 -lws2_32 -lpsl -lssl -lcrypto -lssl -lcrypto -lgdi32 -lcrypt32 -lwldap32 -lbrotlidec -lbrotlidec -lz -lws2_32
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbrotlidec
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbrotlidec

Work-around: disable opendap

Work-around: disable utilities (ncdump,...)

Windows binaries (to test):
https://ci.appveyor.com/api/projects/Alexander-Barth/dineof/artifacts/dineof.exe

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