I know this is not the right place to report Conda issues but I’m not sure where to do it and perhaps our Py guys can redirect this to its due place.
The issue is that somehow the Conda build is screwing somewhere and in a mysterious way. Although the binaries work, they cannot be used from Julia. See, working from the Conda bin dir
julia> pwd()
"C:\\programs\\Miniconda3\\Library\\bin"
now, try a GMT, GDAL and PROJ4 dlls. Only the latter works
julia> ccall((:GMT_Create_Session, "gmt"), Ptr{Cvoid}, (Ptr{UInt8}, UInt32, UInt32, Ptr{Cvoid}), "GMT", 2, 0, C_NULL)
ERROR: could not load library "gmt"
The specified procedure could not be found.
julia> ccall((:GDALVersionInfo, "gdal302"), Cstring, (Cstring,), "--version")
ERROR: could not load library "gdal302"
The specified procedure could not be found.
julia> ccall((:proj_create, "proj_8_0"), Ptr{Cvoid}, (Ptr{Cvoid}, Cstring), C_NULL, "+proj=longlat")
Ptr{Nothing} @0x000000006faaec40
For checking let’s repeat the above but using our own GMT build
julia> ccall((:GMT_Create_Session, "gmt_w64"), Ptr{Cvoid}, (Ptr{UInt8}, UInt32, UInt32, Ptr{Cvoid}), "GMT", 2, 0, C_NULL)
Ptr{Nothing} @0x000000007e462380
julia> ccall((:GDALVersionInfo, "gdal_w64"), Cstring, (Cstring,), "--version")
Cstring(0x000000007e3ea0b0)
julia> ccall((:proj_create, "proj_w64"), Ptr{Cvoid}, (Ptr{Cvoid}, Cstring), C_NULL, "+proj=longlat")
Ptr{Nothing} @0x000000007e49d4c0
All three commands worked well.
I have now quite some experience tracking the very misleading error message The specified procedure could not be found but after quite some time investigating with the DependencyWalker I could not find the failing reason, but the point is: those binaries are useless for Julia (and very likely all other FFI interfaces) usage on Windows.