Julia Community 🟣

Discussion on: Interoperability in Julia

Collapse
 
kronosthelate profile image
KronosTheLate

Usage of Cxx looks so easy... I was however never able to install it correctly on my windows computer. I just tried again, but it still does not work...

What happens when I try to install Cxx.jl

(@v1.7) pkg> activate --temp
  Activating new project at `C:\Users\DENNIS~1\AppData\Local\Temp\jl_nEoHSj`

(jl_nEoHSj) pkg> add Cxx
    Updating registry at `C:\Users\Dennis Bal\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
   Installed Cxx ─ v0.4.0
    Updating `C:\Users\Dennis Bal\AppData\Local\Temp\jl_nEoHSj\Project.toml`
  [a0b5b9ef] + Cxx v0.4.0
    Updating `C:\Users\Dennis Bal\AppData\Local\Temp\jl_nEoHSj\Manifest.toml`
  [b99e7846] + BinaryProvider v0.5.10
  [a0b5b9ef] + Cxx v0.4.0
  [2a0f44e3] + Base64
  [b77e0a4c] + InteractiveUtils
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [3fa0cd96] + REPL
  [ea8e919c] + SHA
  [6462fe0b] + Sockets
  [4ec0a83e] + Unicode
    Building Cxx → `C:\Users\Dennis Bal\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\71728149f62225470a4ae4260536a98a5009997c\build.log`
ERROR: Error building `Cxx`:
ERROR: LoadError: could not load library "LLVM"
The specified module could not be found.
Stacktrace:
 [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
   @ Base.Libc.Libdl .\libdl.jl:117
 [2] dlopen (repeats 2 times)
   @ .\libdl.jl:117 [inlined]
 [3] dlpath(libname::String)
   @ Base.Libc.Libdl .\libdl.jl:240
 [4] top-level scope
   @ C:\Users\Dennis Bal\.julia\packages\Cxx\1RaOv\deps\build.jl:23
 [5] include(fname::String)
   @ Base.MainInclude .\client.jl:451
 [6] top-level scope
   @ none:5
in expression starting at C:\Users\Dennis Bal\.julia\packages\Cxx\1RaOv\deps\build.jl:23
writing path.jl file
Tuning for julia installation at C:\Users\Dennis Bal\.julia\juliaup\julia-1.7.2+0~x64\bin with sources possibly at C:\Users\Dennis Bal\.julia\juliaup\
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ifihan profile image
Ifihanagbara Olusheye

Hi!

You can ask on the Slack workspace or Discourse