Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented May 20, 2020

On Windows, the gmt.dll is located in the bin directory, instead of
the usual lib directory. Thus, for windows, we need to set
GMT_LIBDIR_RELATIVE to bin.

Closes #3353.

On Windows, the gmt.dll is located in the `bin` directory, instead of
the usual `lib` directory. Thus, for windows, we need to set
`GMT_LIBDIR_RELATIVE` to `bin`.

Closes #3353.
@seisman seisman merged commit d5b80a5 into master May 20, 2020
@seisman seisman deleted the libdir-win branch May 20, 2020 07:23
seisman added a commit to GenericMappingTools/pygmt that referenced this pull request May 20, 2020
The variable GMT_SHAREDIR was needed due to a GMT bug.
See GenericMappingTools/gmt#3353 for the bug report,
and GenericMappingTools/gmt#3361 for the fix.

The conda GMT package was rebuilt in conda-forge/gmt-feedstock#94,
in which the patch was applied to GMT 6.0.0.

Now PyGMT should work well with no need to add the variable GMT_SHAREDIR.
seisman added a commit to GenericMappingTools/pygmt that referenced this pull request May 20, 2020
The variable GMT_SHAREDIR was needed due to a GMT bug.
See GenericMappingTools/gmt#3353 for the bug report,
and GenericMappingTools/gmt#3361 for the fix.

The conda GMT package was rebuilt in conda-forge/gmt-feedstock#94,
in which the patch was applied to GMT 6.0.0.

Now PyGMT should work well with no need to add the variable GMT_SHAREDIR.
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

Successfully merging this pull request may close these issues.

A potential bug in guessing GMT's share directory

3 participants