Skip to content

Commit

Permalink
Require at least LTS julia + known issue with adding Plots
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuRoule committed Feb 26, 2024
1 parent 8c3a0fc commit 02d3fcd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ HypergeometricFunctions = "34004b35-14d8-5ef3-9330-4cdb6864b03a"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"

[compat]
julia = "1.6" # Equivalent to "^1.6", will allow any 1.a.b version with a>=6
julia = "1.6.7" # Equivalent to "^1.6.7", will allow any 1.a.b version with a.b>=6.7
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Then run the code with the following command
julia test_OrbitalElements.jl
```

This example will first install some required libraries (`Plots`, `LaTeXStrings`) and their dependencies. These installations might take up to 4 minutes.
This example will first install some required libraries (`Plots`, `LaTeXStrings`) and their dependencies. These installations might take up to 4 minutes. If it fails have a look at [known issues](#known-issues), open an issue or [contact us](#authors)

The resulting plots will be created in the same folder as the test code under the names `IsochroneFrequencies.png`

Expand All @@ -43,6 +43,15 @@ and `ForwardBackwardErrors.png`.

![`Forward+backward errors`](examples/ForwardBackwardErrors_original.png)

---
### Known issues

- ```Plots``` fails to precompile due to ```FFMPEG``` and ```BinaryProvider```: ```Plots``` probably installed an old version of ```FFMPEG``` while newer are supported (```BinaryProvider``` is outdated). Force the update of ```FFMPEG``` and recompile by running:
```
julia -e 'using Pkg; Pkg.update("FFMPEG");Pkg.precompile();'
```
<sup><sub>*Do not forget the* `--project=/path/to/my_env` *option if you are running in a local environment.*</sub></sup>

---
### Note on working with environments

Expand Down

0 comments on commit 02d3fcd

Please sign in to comment.