Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qhull wrapper not properly loaded #24

Open
dforero0896 opened this issue Sep 9, 2022 · 4 comments
Open

Qhull wrapper not properly loaded #24

dforero0896 opened this issue Sep 9, 2022 · 4 comments

Comments

@dforero0896
Copy link

Hi, I am just installing MiniQhull and everything seemed ok but once I try to perform a delaunay triangulation I get the following error

> connectivity = MiniQhull.delaunay(dim, numpoints, coordinates)
ERROR: QHULL WRAPPER is not properly loaded
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] macro expansion
   @ ~/.julia/packages/MiniQhull/PLvbq/src/load.jl:34 [inlined]
 [3] new_qhull_handler
   @ ~/.julia/packages/MiniQhull/PLvbq/src/bindings.jl:4 [inlined]
 [4] _delaunay(dim::Int32, numpoints::Int32, points::Vector{Float64}, flags::Nothing)
   @ MiniQhull ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:12
 [5] delaunay(dim::Int64, numpoints::Int64, points::Vector{Int64}, flags::Nothing)
   @ MiniQhull ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:114
 [6] delaunay(dim::Int64, numpoints::Int64, points::Vector{Int64})
   @ MiniQhull ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:113
 [7] top-level scope
   @ REPL[95]:1

Do you know what is happening?
Thanks in advance

@juliohm
Copy link

juliohm commented Sep 30, 2022

Is this issue still valid @dforero0896 ?

Can the maintainers comment on the differences between Qhull_jll and QhullMiniWrapper_jll?

@fverdugo
Copy link
Member

QhullMiniWrapper_jll is a C wrapper to QHULL that exposes functions that are easier to call from Julia.

@juliohm
Copy link

juliohm commented Sep 30, 2022

I see, MiniQhull.jl calls QhullMiniWrapper_jll which calls Qhull_jll

@dforero0896
Copy link
Author

In the end I moved on to use Tetgen instead. I cpuldn't figure out what happened with Qhull.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants