Is there anyone who was able to successfully install GMT.jl? I am trying to run following:
However, getting following error:
error compiling common_plot_xyz: error compiling gmt: could not load library “gmt_w64”
The specified module could not be found.
Is there anyone knowing the solution?
I hate when I see that
The specified module could not be found error because it means stupid Windows is not able to tell the name of the module that could not be found. Normally it’s a dependency problem, and from GMT in this case. I’m assuming you installed GMT6 from its Windows installer, right? What does this print?
also, does this command run from Win cmd (NOT the Julia REPL) show a red circle, or complains with same
echo 1 1 | gmt plot -Ba -Sc0.5 -Gred -png map
But better that you open an issue in
GMT.jl where we can continue this talk.
Yes, I installed GMT6 (gmt-6.0.0-win64). I would like to be sure that I understand the ways you mentioned correctly:
Where do I do “run(‘gmt --version’)” ?
I run it at julia REPL, it gave me this:
The second command showed me a red circle like this:
What do you mean by GMT.jl? I couldn’t find any package category post regarding to GMT.jl, do you mean Github?
Thank you very much
Yes GMT.jl is the github site (but GMT is also in github).
The fact that it worked on the cmd is even more confusing because it uses exactly the same binaries. The Julia REPL error is for sure due to a copy paste change of characters. It needs to be back-ticks. This is what I get (but note that I’m using GMT master version)
julia> run(`gmt --version`)
The problem was solved, it is all about version issue.
I deleted the GMT.jl at …julia\compiled\v1.3\GMT, and it worked.
Check https://github.com/GenericMappingTools/GMT.jl/issues/328 for more details.