OpenCV cannot be precompiled for Julia 1.8

julia> using OpenCV
[ Info: Precompiling OpenCV [f878e3a2-a245-4720-8660-60795d644f2a]
ERROR: LoadError: ccall method definition: argument 2 type doesn't correspond to a C type
Stacktrace:
  [1] top-level scope
    @ none:1
  [2] eval
    @ ./boot.jl:368 [inlined]
  [3] wrap_functions(functions::Vector{CxxWrap.CxxWrapCore.CppFunctionInfo}, julia_mod::Module)
    @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:695
  [4] wrapfunctions(jlmod::Module)
    @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:712
  [5] wrapmodule(so_path::String, funcname::Symbol, m::Module, flags::Nothing)
    @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:731
  [6] top-level scope
    @ ~/.julia/artifacts/365b03f782c1e4bef434b771da708a9d46aeb711/OpenCV/src/cv_cxx.jl:11
  [7] include(mod::Module, _path::String)
    @ Base ./Base.jl:419
  [8] include(x::String)
    @ OpenCV ~/.julia/packages/OpenCV/g5VQi/src/OpenCV.jl:1
  [9] top-level scope
    @ ~/.julia/artifacts/365b03f782c1e4bef434b771da708a9d46aeb711/OpenCV/src/OpenCV.jl:4
 [10] include(mod::Module, _path::String)
    @ Base ./Base.jl:419
 [11] include(x::String)
    @ OpenCV ~/.julia/packages/OpenCV/g5VQi/src/OpenCV.jl:1
 [12] top-level scope
    @ ~/.julia/packages/OpenCV/g5VQi/src/OpenCV.jl:3
 [13] include
    @ ./Base.jl:419 [inlined]
 [14] 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, UInt64}}, source::Nothing)                          
    @ Base ./loading.jl:1554
 [15] top-level scope
    @ stdin:1
in expression starting at /home/jbpritts/.julia/artifacts/365b03f782c1e4bef434b771da708a9d46aeb711/OpenCV/src/cv_cxx.jl:11
in expression starting at /home/jbpritts/.julia/artifacts/365b03f782c1e4bef434b771da708a9d46aeb711/OpenCV/src/OpenCV.jl:4
in expression starting at /home/jbpritts/.julia/packages/OpenCV/g5VQi/src/OpenCV.jl:1
in expression starting at stdin:1
ERROR: Failed to precompile OpenCV [f878e3a2-a245-4720-8660-60795d644f2a] to /home/jbpritts/.julia/compiled/v1.8/OpenCV/jl_G3gnh8.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base ./loading.jl:1707
 [3] compilecache
   @ ./loading.jl:1651 [inlined]
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1337
 [5] _require_prelocked(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1200
 [6] macro expansion
   @ ./loading.jl:1180 [inlined]
 [7] macro expansion
   @ ./lock.jl:223 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1144