这里写自定义目录标题
原报错:
(@v1.10) pkg> add Cxx
Updating registry at
D:\Julia\packages\registries\General.toml
Resolving package versions…
Updating
D:\Julia\packages\environments\v1.10\Project.toml
[a0b5b9ef] + Cxx v0.4.0
Updating
D:\Julia\packages\environments\v1.10\Manifest.toml
[a0b5b9ef] + Cxx v0.4.0
a5009997c\build.log
ERROR: Error building
Cxx`:
ERROR: LoadError: could not load library “LLVM”
The specified module could not be found.
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl .\libdl.jl:117
[2] dlopen (repeats 2 times)
@ .\libdl.jl:116 [inlined]
@ Base.Libc.Libdl .\libdl.jl:240
[4] top-level scope
@ D:\Julia\packages\packages\Cxx\1RaOv\deps\build.jl:23
[5] include(fname::String)
@ Base.MainInclude .\client.jl:489
[6] top-level scope
@ none:5
in expression starting at D:\Julia\packages\packages\Cxx\1RaOv\deps\build.jl:23
writing path.jl file
Tuning for julia installation at D:\Julia\bin with sources possibly at D:\
主要处理方案
把julia/bin/libLLVM.dll文件复制,新文件名改成LLVM.dll
该方法也可类似用于处理Unable to open libLLVM
但是我Cxx最终没装上= =