-
Notifications
You must be signed in to change notification settings - Fork 19
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
Comments
The pre-github version of wgrib2 (v3.1.3) was tested on Windows using
cygwin. I have only tried compiling the github version of wgrib2 under
Ubuntu. So using WSL and running Ubuntu is almost guaranteed to work.
So will a virtual machine running Ubuntu.
ref: https://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/Windows10/
…On Thu, Feb 6, 2025 at 10:09 AM Daniel ***@***.***> wrote:
Can it be used on Windows system
—
Reply to this email directly, view it on GitHub
<#313>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIB7ZVSD7G5CPGB7P5BNIT2ON3LBAVCNFSM6AAAAABWTY6ULKVHI2DSMVQWIX3LMV43ASLTON2WKOZSHAZTKNZZHEZTSNY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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. |
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. |
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. |
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? |
When trying to 3.5.0 on windows I get the make error There is little to no documentation on how to install since grib2 was migrated to github. |
Can it be used on Windows system
The text was updated successfully, but these errors were encountered: