# Precompile errors Makie (AbstractPlotting)

**URL:** <https://discourse.julialang.org/t/precompile-errors-makie-abstractplotting/53810>\
**Category:** Visualization\
**Created:** [January 22, 2021, 11:36pm UTC](https://discourse.julialang.org/t/precompile-errors-makie-abstractplotting/53810 "2021-01-22T23:36:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fyzycyst](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@fyzycyst](https://discourse.julialang.org/u/fyzycyst)\
**Post date:** [January 22, 2021, 11:36pm UTC](https://discourse.julialang.org/t/precompile-errors-makie-abstractplotting/53810/1 "2021-01-22T23:36:02Z")

</div>

Attempted to try out Makie, but the precompile fails. I’m including a sample for the AbstractPlotting precompile, but it’s the same for CairoMakie, etc. I know similar problems are reported from time to time, but none of the solutions seem to resolve this.

Thanks in advance!

Precompile error trace…

 ![errors](https://global.discourse-cdn.com/julialang/original/3X/0/1/013967f86c64eefaadad65bc18f945d28bd0bca4.png)

Results of versioninfo()…

 ![versInfo](https://global.discourse-cdn.com/julialang/original/3X/7/a/7a16a3d8e296b0f1023276a0488ca2db0edcde2c.png)

And package status…

 ![status](https://global.discourse-cdn.com/julialang/original/3X/9/d/9d654bcc92f127d5e034a8f7af67ef6a7952f0e6.png)

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [January 23, 2021, 3:39pm UTC](https://discourse.julialang.org/t/precompile-errors-makie-abstractplotting/53810/2 "2021-01-23T15:39:42Z")

</div>

I tried to reproduce by

```julia
(@v1.5) pkg> activate MakieTest

(MakieTest) pkg> add AbstractPlotting

```

and didn’t re- but produced another error.  
After going back to the default environment with

```julia
(MakieTest) pkg> activate

(@v1.5) pkg> add AbstractPlotting

```

and `add` and `using` worked. So it is perhaps a bug with AbstractPlotting and different environments.

---

<div class="post-metadata">

**Author:** ![fyzycyst](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@fyzycyst](https://discourse.julialang.org/u/fyzycyst)\
**Post date:** [February 2, 2021, 5:48pm UTC](https://discourse.julialang.org/t/precompile-errors-makie-abstractplotting/53810/3 "2021-02-02T17:48:42Z")

</div>

Solved… appears to have been incomplete removal of earlier versions or some such.

1. did a " pkg\> rm " of everything Makie related.

2. did a " pkg\> gc " to ensure everything was cleared out

3. did " pkg\> add AbstractPlotting#master " & also CairoMakie#master (NOTE: the versions installed are slightly different from the above pics… AbstractPlotting is up to v0.15.12. Not sure if that changes things also.)

4. at this point, “using AbstractPlotting” & “using CairoMakie” now work.

5. (this is very important) apply liberal amounts of salt over the shoulder and rattling of chicken bones to ensure the gremlins have been properly appeased.
