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

Can it be used on Windows system #313

Open
dainellzl opened this issue Feb 6, 2025 · 6 comments
Open

Can it be used on Windows system #313

dainellzl opened this issue Feb 6, 2025 · 6 comments

Comments

@dainellzl
Copy link

Can it be used on Windows system

@webisu
Copy link
Collaborator

webisu commented Feb 6, 2025 via email

@webisu
Copy link
Collaborator

webisu commented Feb 7, 2025

I just checked the available cygwin libraries, and openblas, jasper, netcdf and aec libraries are available. So compiling wgrib2 from the current github sources is theoretically possible. Without documentation .. success will depend on your experience with cmake.

@edwardhartnett
Copy link
Contributor

GitHub actions offer windows builds as well, so we need to have a windows CI run if windows is to be supported.

See the g2c project for an example.

@webisu
Copy link
Collaborator

webisu commented Feb 7, 2025

Supporting arbitrary Windows compilers is a pain because they support varying subsets of the Posix standard. So you have to know which codes to turn off. The cygwin compiler has been "free" to support because it works like a linux version of gcc.

@edwardhartnett
Copy link
Contributor

On g2c we support gcc and clang on windows. See https://github.com/NOAA-EMC/NCEPLIBS-g2c/blob/develop/.github/workflows/windows.yml

wgrib2 is C right?

@mdupilka
Copy link

mdupilka commented Feb 8, 2025

When trying to 3.5.0 on windows I get the make error
make: *** No targets specified and no makefile found. Stop.

There is little to no documentation on how to install since grib2 was migrated to github.
Any help and documentation would be greatly appreciated.

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

4 participants