Closed david-vicente closed 4 years ago
what version of OpenStreetMapX and DataStructures
you have.
This can be checked via the st
package manager command:
julia> using Pkg;pkg"st OpenStreetMapX"
Status `C:\JuliaPkg\Julia1.5.1\environments\v1.5\Project.toml`
[86cd37e6] OpenStreetMapX v0.2.1
julia> using Pkg;pkg"st DataStructures"
Status `C:\JuliaPkg\Julia1.5.1\environments\v1.5\Project.toml`
[864edb3b] DataStructures v0.17.20
I can see that there is a newer release of DataStructures.
I will make a new release of OpenStreetMapX, but it should work with the current version too.
It looks like LightGraphs which is the core library to represent maps in OpenStreetMapX has hard coded that it works only with DataStructures v0.17.20. So you need to have exactly that version of the package.
Finally, I just have added unit tests for and you can see them here 1.5.1 https://travis-ci.org/github/pszufe/OpenStreetMapX.jl. Since they all pass on plain vanilla Julia it must be something specific to your conf. Maybe your Julia 1.5.1 uses the same JULIA_DEPOT_PATH
as 1.4.2 and since they overlap it all crashes?
What would happen if you do export JULIA_DEPOT_PATH=/some/other/folder
(or Windows set JULIA_DEPOT_PATH=c:\some\other\folder
and than start 1.5.1 and try to install OpenStreetMapX?
I think I managed to fix it by
1) manually adding DataStructures, which installed version v0.18.6
2) running the update
package manager command, which downgraded DataStructures to v0.17.20
@4aHxKzD perhaps you could try to open an issue on LightGraphs to update DataStructures dependency.
I'm trying to use this package in Julia Version 1.5.1 but I'm getting compile errors.
With Julia Version 1.4.2 this does not happen though.