Description
There seems to be an issue during precompilation on a Mac. It is saying that OpenAL_jll does not contain libopenal. I checked by installing OpenAL_jll in a standalone environment and it's showing OpenAL_jll.is_available() is false. Digging further, it looks like Apple has deprecated OpenAL. I tried installing it via openal-soft and then rerunning, but I guess OpenAL_jll doesn't recognize it.
Steps to Reproduce
- Follow setup instructions (either building from source or with the command). It should fail on the
precompile step.
Expected Behavior
Expected precompilation to finish without error.
Actual Behavior
Precompilation errors.
Operating System
macOS
Julia Version
1.12.6
Rendering Backend
Not applicable
GPU
No response
Logs / Screenshots
(OpenReality) pkg> precompile
✗ OpenReality
Precompiling packages finished.
0 dependencies successfully precompiled in 4 seconds. 217 already precompiled.
ERROR: The following 1 direct dependency failed to precompile:
OpenReality
Failed to precompile OpenReality [b08b1914-4d33-46de-8c63-ba029b7f1c5f] to "/Users/jonniediegelman/.julia/compiled/v1.12/OpenReality/jl_Woa8tY".
ERROR: LoadError: UndefVarError: `libopenal` not defined in `OpenAL_jll`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base_compiler.jl:47
[2] top-level scope
@ ~/.openreality/Test/engine/src/audio/openal_backend.jl:29
[3] include(mapexpr::Function, mod::Module, _path::String)
@ Base ./Base.jl:307
[4] top-level scope
@ ~/.openreality/Test/engine/src/OpenReality.jl:108
[5] include(mod::Module, _path::String)
@ Base ./Base.jl:306
[6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:3028
[7] top-level scope
@ stdin:5
[8] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[9] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base ./loading.jl:2874
[10] include_string
@ ./loading.jl:2884 [inlined]
[11] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:315
[12] _start()
@ Base ./client.jl:550
in expression starting at /Users/jonniediegelman/.openreality/Test/engine/src/audio/openal_backend.jl:29
in expression starting at /Users/jonniediegelman/.openreality/Test/engine/src/OpenReality.jl:1
in expression starting at stdin:
Description
There seems to be an issue during precompilation on a Mac. It is saying that
OpenAL_jlldoes not containlibopenal. I checked by installingOpenAL_jllin a standalone environment and it's showingOpenAL_jll.is_available()isfalse. Digging further, it looks like Apple has deprecated OpenAL. I tried installing it via openal-soft and then rerunning, but I guessOpenAL_jlldoesn't recognize it.Steps to Reproduce
precompilestep.Expected Behavior
Expected precompilation to finish without error.
Actual Behavior
Precompilation errors.
Operating System
macOS
Julia Version
1.12.6
Rendering Backend
Not applicable
GPU
No response
Logs / Screenshots