-
Notifications
You must be signed in to change notification settings - Fork 227
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
Support for Windows #46
Comments
Hi @ganesheshwar, the main thing holding us back from Windows is getting a GMT conda package for Windows working (see conda-forge/gmt-feedstock#15 for some work that @ocefpaf is doing). But if you can get the current development version of GMT (trunk) built on your machine, you might be able to get this working. I'll have to include a flag for finding the Windows dll. But I haven't tested this under Windows yet and things might break mysteriously. If you're willing to give it a shot, I'd really appreciate it. Another option is to use the Windows Subsystem for Linux that came out for Windows 10. Then everything should work as a normal Linux terminal for you. This might be the most painless option. |
Really interested in this project, @leouieda. I'm a geologist and long-time Matlab user, just joining the Python world. I do a lot with topography/bathymetry and maps in general--I loved the slide in your SciPy talk where you showed a map of the Moho in South America! |
Hi Steve, thanks for writing in! I was hoping to get the conda package soon but I think it's going to take a while. I have no experience with Windows and it's hard to debug the problems with the build. But it will move forward and get done before we make an official release. For now, if you have Windows 10 you can access the bash shell from Ubuntu directly. That would allow you to use the Linux packages from inside your Windows machine (see link in my previous post). I'd be interested to know if that works. PS: The figures in that paper took a lot of code to make. I can't wait to be able to use GMT6 for this. |
The name of the shared library is `gmt_w64.dll` for 64-bit Windows, and `gmt_w32.dll` for 32-bit Windows, and the library is located in `C:\programs\gmt6\bin` by default. Change `get_clib_path` so that it can return the correct library name for Windows. Working towards #46
You have mentioned that this has been tested in Unix and OSX. I tried intalling in Windows through cloning the repo. However when I import gmt in Jupyter, it gave me the following error.
GMTOSError: Unknown operating system: win32
Any solution for a Windows support?
The text was updated successfully, but these errors were encountered: