Closed jayjiejie closed 1 year ago
I have updated the instructions i the readme, let me know if this is still a problem.
Hi Bart
Thank you very much for adding the instructions in the readme. I ended up using an older version of the CxxWrap.
Kind regards, Jie
Hi I am quite new to julia as I just started compiling FLOWUnsteady which is based on julia.
I was following the instructions at https://github.com/JuliaInterop/libcxxwrap-julia to build libcxxwrap-julia from source with an Overrides.toml. I managed to build the library from the source and set up the Overrides.toml file in the ~/.julia/artifacts. When I try to use import CxxWrap in julia 1.9, I received the followings:
[ Info: Precompiling CxxWrap [1f15a43c-97ca-5a2a-ae31-89f07a497df4] ERROR: LoadError: libcxxwrap_julia_jll not available on this platform Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] top-level scope @ ~/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:18 [3] include @ ./Base.jl:457 [inlined] [4] 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:2010 [5] top-level scope @ stdin:2 in expression starting at /home/zhus/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:1 in expression starting at stdin:2 ERROR: Failed to precompile CxxWrap [1f15a43c-97ca-5a2a-ae31-89f07a497df4] to "/home/zhus/.julia/compiled/v1.9/CxxWrap/jl_QAc9pA". 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:2260 [3] compilecache @ ./loading.jl:2127 [inlined] [4] _require(pkg::Base.PkgId, env::String) @ Base ./loading.jl:1770 [5] _require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:1625 [6] macro expansion @ ./loading.jl:1613 [inlined] [7] macro expansion @ ./lock.jl:267 [inlined] [8] require(into::Module, mod::Symbol) @ Base ./loading.jl:1576
I am not sure what went wrong, any suggestions will be greatly appreciated.
Jie