# Precompiling Caesar failes

**URL:** <https://discourse.julialang.org/t/precompiling-caesar-failes/26219>\
**Category:** General Usage\
**Created:** [July 10, 2019, 12:44pm UTC](https://discourse.julialang.org/t/precompiling-caesar-failes/26219 "2019-07-10T12:44:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [July 10, 2019, 12:44pm UTC](https://discourse.julialang.org/t/precompiling-caesar-failes/26219/1 "2019-07-10T12:44:34Z")

</div>

Dear all,  
I updated my packages, and precompiling Caesar now fails. It worked a few weeks ago. I am using Julia 1.1 on Linux (Ubuntu 18.04), 64 bits.

Any idea?

Precompiling Caesar  
[Info: Precompiling Caesar [62eebf14-49bc-5f46-9df9-f7b7ef379406]  
[ Info: Multithreaded convolutions possible, Threads.nthreads()=1. See `addFactor!(.;threadmodel=MultiThreaded)`.  
[ Info: KernelDensityEstimate.FORCE\_EVAL\_DIRECT = true  
[ Info: KernelDensityEstimate.FORCE\_EVAL\_DIRECT = true  
WARNING: Method definition lsf(IncrementalInference.FactorGraph) in module IncrementalInference at /home/ufechner/.julia/packages/IncrementalInference/w5U4i/src/Deprecated.jl:233 overwritten at /home/ufechner/.julia/packages/IncrementalInference/w5U4i/src/Deprecated.jl:287.  
WARNING: Method definition lsf(IncrementalInference.FactorGraph) in module IncrementalInference at /home/ufechner/.julia/packages/IncrementalInference/w5U4i/src/Deprecated.jl:287 overwritten at /home/ufechner/.julia/packages/IncrementalInference/w5U4i/src/Deprecated.jl:233.  
WARNING: ignoring conflicting import of IncrementalInference.compare into RoME  
WARNING: Method definition lsf(IncrementalInference.FactorGraph) in module IncrementalInference at /home/ufechner/.julia/packages/IncrementalInference/w5U4i/src/Deprecated.jl:287 overwritten at /home/ufechner/.julia/packages/IncrementalInference/w5U4i/src/Deprecated.jl:233.  
ERROR: LoadError: InitError: UndefVarError: libwand not defined  
Stacktrace:  
[1] magickgenesis at /home/ufechner/.julia/packages/ImageMagick/vMfoS/src/libmagickwand.jl:28 [inlined]  
[2] **init** () at /home/ufechner/.julia/packages/ImageMagick/vMfoS/src/libmagickwand.jl:35  
[3] \_include\_from\_serialized(::String, ::Array{Any,1}) at ./loading.jl:633  
[4] \_require\_search\_from\_serialized(::Base.PkgId, ::String) at ./loading.jl:713  
[5] \_require(::Base.PkgId) at ./loading.jl:937  
[6] require(::Base.PkgId) at ./loading.jl:858  
[7] require(::Module, ::Symbol) at ./loading.jl:853  
[8] include at ./boot.jl:326 [inlined]  
[9] include\_relative(::Module, ::String) at ./loading.jl:1038  
[10] include(::Module, ::String) at ./sysimg.jl:29  
[11] top-level scope at none:2  
[12] eval at ./boot.jl:328 [inlined]  
[13] eval(::Expr) at ./client.jl:404  
[14] top-level scope at ./none:3  
during initialization of module ImageMagick  
in expression starting at /home/ufechner/.julia/packages/Caesar/HFYLk/src/Caesar.jl:15  
ERROR: Failed to precompile Caesar [62eebf14-49bc-5f46-9df9-f7b7ef379406] to /home/ufechner/.julia/compiled/v1.1/Caesar/BNbRm.ji.  
Stacktrace:  
[1] error(::String) at ./error.jl:33  
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197  
[3] precompile(::Pkg.Types.Context) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:429  
[4] do\_precompile!(::Dict{Symbol,Any}, ::Array{String,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:612  
[5] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:742  
[6] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:741  
[7] do\_cmd!(::Pkg.REPLMode.PkgCommand, ::REPL.LineEditREPL) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:561  
[8] #do\_cmd#30(::Bool, ::Function, ::REPL.LineEditREPL, ::String) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:536  
[9] do\_cmd at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:532 [inlined]  
[10] (::getfield(Pkg.REPLMode, Symbol(“##48#51”)){REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:967  
[11] #invokelatest#1 at ./essentials.jl:742 [inlined]  
[12] invokelatest at ./essentials.jl:741 [inlined]  
[13] run\_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/LineEdit.jl:2273  
[14] run\_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:1035  
[15] run\_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:192  
[16] (::getfield(Base, Symbol(“##734#736”)){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:362  
[17] #invokelatest#1 at ./essentials.jl:742 [inlined]  
[18] invokelatest at ./essentials.jl:741 [inlined]  
[19] run\_main\_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:346  
[20] exec\_options(::Base.JLOptions) at ./client.jl:284  
[21] \_start() at ./client.jl:436

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [July 10, 2019, 8:13pm UTC](https://discourse.julialang.org/t/precompiling-caesar-failes/26219/2 "2019-07-10T20:13:22Z")

</div>

Nobody has an idea?  
Shall I create an issue? 🤔

---

<div class="post-metadata">

**Author:** ![tkoolen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkoolen/32/1603_2.png) [@tkoolen](https://discourse.julialang.org/u/tkoolen)\
**Post date:** [July 11, 2019, 12:00am UTC](https://discourse.julialang.org/t/precompiling-caesar-failes/26219/3 "2019-07-11T00:00:30Z")

</div>

I’m running into a different issue during precompile with the latest released version, but I don’t get any errors when I `dev` Caesar in a new project.

> [@ufechner7](#):
>
> Shall I create an issue?

I don’t think Dehann and `GearsAD` are very active on Discourse, so that’s probably a good idea.
