I’m trying t compile a script using JuliaC.jl and julia version 1.12.3, and I’m getting this error:
◓ Compiling... Activating project at `/home/jmerelo/Code/julia/BraveNewAlgorithm.jl`
◓ Compiling...ArgumentError: Package Parameters not found in current path.
- Run `import Pkg; Pkg.add("Parameters")` to install the Parameters package.
Stacktrace:
[1] macro expansion
@ ./loading.jl:2403 [inlined]
[2] macro expansion
@ ./lock.jl:376 [inlined]
[3] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2386
[4] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2362
[5] include(mapexpr::Function, mod::Module, _path::String)
@ Base ./Base.jl:307
[6] top-level scope
@ /home/jmerelo/Code/julia/BraveNewAlgorithm.jl/src/BraveNewAlgorithm.jl:18
[7] include(mapexpr::Function, mod::Module, _path::String)
@ Base ./Base.jl:307
[8] top-level scope
@ /home/jmerelo/Code/julia/BraveNewAlgorithm.jl/examples/BBOB_sphere_with_baseline.jl:10
[9] include(mod::Module, _path::String)
@ Base ./Base.jl:306
[10] top-level scope
@ ~/.julia/packages/JuliaC/EFQEY/src/scripts/juliac-buildscript.jl:92
[11] include(mod::Module, _path::String)
@ Base ./Base.jl:306
[12] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:317
[13] _start()
@ Base ./client.jl:550
in expression starting at /home/jmerelo/Code/julia/BraveNewAlgorithm.jl/src/individual/castes.jl:1
in expression starting at /home/jmerelo/Code/julia/BraveNewAlgorithm.jl/src/BraveNewAlgorithm.jl:1
in expression starting at /home/jmerelo/Code/julia/BraveNewAlgorithm.jl/examples/BBOB_sphere_with_baseline.jl:10
in expression starting at /root/.julia/packages/JuliaC/EFQEY/src/scripts/juliac-buildscript.jl:80
✓ Compiling...
ERROR: Failed to compile examples/BBOB_sphere_with_baseline.jl
```
After doing as told from the REPL, I get exactly the same error. This was working before as a script, so I don’t really get what’s the issue here.
This is what I’m trying to compile Any help will be appreciated.