-
Notifications
You must be signed in to change notification settings - Fork 28
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
API not defined GMT 6.1.1 Julia 1.5.3 #485
Comments
So strange. First, the two problems are the same. If it doesn't detect a GMT6 then the The strange thing is that inside |
julia> GMTver |
I guess my comment above did not make sense as GMTver shows 5.45. Seems like GMT.jl somehow thinks the path points to GMT5, while the OS thinks it is correctly GMT6. This I hoped would have been corrected by reinstalling the GMT.jl package. Maybe I have to erase everything Julia, GMT, Ghostscript and start over.? |
It should be possible to use different GMT versions (I do) where the one is picked is the first found in the OS path. Try removing |
That worked. Thanks so much. Saved me lots of time while teaching me something new. |
Good. I also learned that I must do something more if I want to detect when different GMT6 versions may have arrived. |
I have upgraded to a new computer from GMT 5.4.3 / Julia 1.2 to now GMT 6.1.1 Julia 1.5.3.
Getting the error "API not defined" when calling any GMT module with gmt(). Another question is why do I get a version 5 no longer support on the first using GMT?:
Thank you in advance.
Version 1.5.3 (2020-11-09)
julia> readlines(
gmt --version
)1-element Array{String,1}:
"6.1.1"
julia> using GMT
julia> using GMT
julia> gmt("pscoast -R-10/0/35/45 -B1 -W1 -Gbrown -JM14c -P -V > lixo.ps")
ERROR: UndefVarError: API not defined
Stacktrace:
[1] gmt(::String) at C:\Users\username.julia\packages\GMT\3tQ7w\src\gmt_main.jl:163
[2] top-level scope at REPL[3]:1
julia>
The text was updated successfully, but these errors were encountered: