JuliaRobotics / MeshCatMechanisms.jl

3D Visualization of mechanisms and URDFs using MeshCat.jl and RigidBodyDynamics.jl
Other
40 stars 10 forks source link

Precompilation error #47

Closed baggepinnen closed 4 years ago

baggepinnen commented 4 years ago

I just tried to install this package under julia v1.5.1 and got the following error (after the pkg log)

(@v1.5) pkg> add MeshCatMechanisms
   Updating registry at `~/.julia/registries/General`
  Resolving package versions...
  Installed Mux ─────────────────────── v0.7.2
  Installed MeshCatMechanisms ───────── v0.7.1
  Installed OffsetArrays ────────────── v1.1.3
  Installed DiffEqBase ──────────────── v6.46.1
  Installed Pluto ───────────────────── v0.11.10
  Installed Atom ────────────────────── v0.12.21
  Installed RigidBodyDynamics ───────── v2.1.1
  Installed OrdinaryDiffEq ──────────── v5.42.5
  Installed SentinelArrays ──────────── v1.2.14
  Installed Requires ────────────────── v1.0.2
  Installed CSSUtil ─────────────────── v0.1.1
  Installed GPUCompiler ─────────────── v0.6.1
  Installed Compat ──────────────────── v3.15.0
  Installed DataStructures ──────────── v0.18.2
  Installed GeometryTypes ───────────── v0.7.6
  Installed StochasticDiffEq ────────── v6.25.1
  Installed FFMPEG ──────────────────── v0.3.0
  Installed Knockout ────────────────── v0.2.4
  Installed PlotUtils ───────────────── v1.0.6
  Installed Rotations ───────────────── v1.0.1
  Installed DiffEqCallbacks ─────────── v2.14.1
  Installed LightGraphs ─────────────── v1.3.0
  Installed FlameGraphs ─────────────── v0.2.4
  Installed Polynomials ─────────────── v1.1.6
  Installed DistributionsAD ─────────── v0.6.7
  Installed MechanismGeometries ─────── v0.5.0
  Installed FuzzyCompletions ────────── v0.2.3
  Installed DelayDiffEq ─────────────── v5.24.2
  Installed Lazy ────────────────────── v0.14.0
  Installed InteractBase ────────────── v0.10.5
  Installed CoordinateTransformations ─ v0.6.0
  Installed MeshCat ─────────────────── v0.11.2
  Installed LightXML ────────────────── v0.9.0
  Installed ChainRules ──────────────── v0.7.15
  Installed StatsBase ───────────────── v0.32.0
  Installed CommonMark ──────────────── v0.6.3
Updating `~/.julia/environments/v1.5/Project.toml`
  [c52e3926] ↑ Atom v0.12.20 ⇒ v0.12.21
  [6ad125db] + MeshCatMechanisms v0.7.1
  [1dea7af3] ↑ OrdinaryDiffEq v5.42.3 ⇒ v5.42.5
  [c3e4b0f8] ↑ Pluto v0.11.9 ⇒ v0.11.10
  [366cf18f] ↓ RigidBodyDynamics v2.2.0 ⇒ v2.1.1
Updating `~/.julia/environments/v1.5/Manifest.toml`
  [c52e3926] ↑ Atom v0.12.20 ⇒ v0.12.21
  [70588ee8] + CSSUtil v0.1.1
  [082447d4] ↑ ChainRules v0.7.14 ⇒ v0.7.15
  [a80b9123] ↑ CommonMark v0.6.2 ⇒ v0.6.3
  [34da2185] ↑ Compat v3.14.0 ⇒ v3.15.0
  [150eb455] + CoordinateTransformations v0.6.0
  [864edb3b] ↑ DataStructures v0.17.20 ⇒ v0.18.2
  [bcd4f6db] ↑ DelayDiffEq v5.24.1 ⇒ v5.24.2
  [2b5f629d] ↑ DiffEqBase v6.44.3 ⇒ v6.46.1
  [459566f4] ↑ DiffEqCallbacks v2.13.5 ⇒ v2.14.1
  [c894b116] ↑ DiffEqJump v6.10.0 ⇒ v6.10.1
  [ced4e74d] ↑ DistributionsAD v0.6.6 ⇒ v0.6.7
  [c87230d0] ↓ FFMPEG v0.4.0 ⇒ v0.3.0
  [08572546] ↑ FlameGraphs v0.2.3 ⇒ v0.2.4
  [fb4132e2] ↑ FuzzyCompletions v0.2.1 ⇒ v0.2.3
  [61eb1bfa] ↑ GPUCompiler v0.6.0 ⇒ v0.6.1
  [4d00f742] ↓ GeometryTypes v0.8.3 ⇒ v0.7.6
  [d3863d7c] + InteractBase v0.10.5
  [bcebb21b] + Knockout v0.2.4
  [50d2b5c4] ↓ Lazy v0.15.1 ⇒ v0.14.0
  [093fc24a] ↓ LightGraphs v1.3.3 ⇒ v1.3.0
  [9c8b4983] ↑ LightXML v0.8.1 ⇒ v0.9.0
  [931e9471] + MechanismGeometries v0.5.0
  [283c5d60] + MeshCat v0.11.2
  [6ad125db] + MeshCatMechanisms v0.7.1
  [a975b10e] ↑ Mux v0.7.0 ⇒ v0.7.2
  [6fe1bfb0] ↑ OffsetArrays v1.1.2 ⇒ v1.1.3
  [1dea7af3] ↑ OrdinaryDiffEq v5.42.3 ⇒ v5.42.5
  [995b91a9] ↑ PlotUtils v1.0.5 ⇒ v1.0.6
  [c3e4b0f8] ↑ Pluto v0.11.9 ⇒ v0.11.10
  [f27b6e38] ↑ Polynomials v1.1.5 ⇒ v1.1.6
  [ae029012] ↑ Requires v1.0.1 ⇒ v1.0.2
  [366cf18f] ↓ RigidBodyDynamics v2.2.0 ⇒ v2.1.1
  [6038ab10] ↑ Rotations v0.13.0 ⇒ v1.0.1
  [91c51154] ↑ SentinelArrays v1.2.13 ⇒ v1.2.14
  [2913bbd2] ↓ StatsBase v0.33.1 ⇒ v0.32.0
  [789caeaf] ↑ StochasticDiffEq v6.25.0 ⇒ v6.25.1
   Building RigidBodyDynamics → `~/.julia/packages/RigidBodyDynamics/XgNGG/deps/build.log`
   Building Knockout ─────────→ `~/.julia/packages/Knockout/IP1uR/deps/build.log`
   Building MeshCat ──────────→ `~/.julia/packages/MeshCat/ECbzr/deps/build.log`
   Building InteractBase ─────→ `~/.julia/packages/InteractBase/sOe2Z/deps/build.log`

[ Info: Precompiling MeshCatMechanisms [6ad125db-dd91-5488-b820-c1df6aab299d]
ERROR: LoadError: UndefVarError: UnitQuaternion not defined
Stacktrace:
 [1] include(::Function, ::Module, ::String) at ./Base.jl:380
 [2] include(::Module, ::String) at ./Base.jl:368
 [3] top-level scope at none:2
 [4] eval at ./boot.jl:331 [inlined]
 [5] eval(::Expr) at ./client.jl:467
 [6] top-level scope at ./none:3
in expression starting at /home/fredrikb/.julia/packages/MeshCat/ECbzr/src/MeshCat.jl:4
ERROR: LoadError: Failed to precompile MeshCat [283c5d60-a78f-5afe-a0af-af636b173e11] to /home/fredrikb/.julia/compiled/v1.5/MeshCat/CZdjb_OIo6V.ji.
baggepinnen commented 4 years ago

Clsoing in favor of https://github.com/rdeits/MeshCat.jl/issues/172