# "Circular dependency detected" preventing precompile

**URL:** https://discourse.julialang.org/t/circular-dependency-detected-preventing-precompile/131715
**Category:** General Usage
**Created:** [August 19, 2025, 4:43pm UTC](https://discourse.julialang.org/t/circular-dependency-detected-preventing-precompile/131715 "2025-08-19T16:43:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)
#### Post date: [August 19, 2025, 4:43pm UTC](https://discourse.julialang.org/t/circular-dependency-detected-preventing-precompile/131715/1 "2025-08-19T16:43:25Z")

</div>

```julia-auto
julia> using GLMakie
┌ Warning: Circular dependency detected.
│ Precompilation will be skipped for dependencies in this cycle:
│ ┌ FilePathsBase → FilePathsBaseMmapExt
│ └─ FilePathsBase → FilePathsBaseTestExt
│ Precompilation will also be skipped for the following, which depend on the above cycle:
│ GLMakie
│ Makie
│ FilePaths
│ Polynomials → PolynomialsMakieExt
└ @ Pkg.API.Precompilation C:\Software\Julia\julia-1.10.10\share\julia\stdlib\v1.10\Pkg\src\precompilation.jl:583
[Info: Precompiling GLMakie [e9467ef8-e4e7-5192-8a1a-b1aee30e663a]

I see that the problem is known and I had seen it before but from the
warning message it appears that it prevents precompilation ahead of
time. This is a real trip back to TTFX for GLMakie and others...

Does anyone know a work around?
```

---

<div class="post-metadata">

### Author: ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)
#### Post date: [August 19, 2025, 5:31pm UTC](https://discourse.julialang.org/t/circular-dependency-detected-preventing-precompile/131715/2 "2025-08-19T17:31:24Z")

</div>

If you use Julia 1.11, this is fixed.

---

<div class="post-metadata">

### Author: ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)
#### Post date: [August 19, 2025, 6:10pm UTC](https://discourse.julialang.org/t/circular-dependency-detected-preventing-precompile/131715/3 "2025-08-19T18:10:14Z")

</div>

For operational reasons, I am using LTS.

---

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [August 19, 2025, 6:22pm UTC](https://discourse.julialang.org/t/circular-dependency-detected-preventing-precompile/131715/4 "2025-08-19T18:22:42Z")

</div>

Open an issue in Makie.jl
