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

libtet undefined #28

Closed
iojea opened this issue Oct 2, 2021 · 3 comments
Closed

libtet undefined #28

iojea opened this issue Oct 2, 2021 · 3 comments

Comments

@iojea
Copy link

iojea commented Oct 2, 2021

Hi,
I am running Julia v1.7-rc arm64 on a MacBook Air with M1 chip.
]add TetGen
works fine and TetGen seems to be installed without warnings. However, when I try to run an example (any example), I get the following error:
ERROR: UndefVarError: libtet not defined Stacktrace: [1] tetrahedralize(input::RawTetGenIO{Float64}, flags::String) @ TetGen ~/.julia/packages/TetGen/pHPIP/src/rawtetgenio.jl:629

I assume that libtet should had been created by the installation of TetGen.jl, but I could not find the file. I can compile the original C++ version of TetGen as a library (thus, obtaining libtet.a), but I don't know how to make it accessible for TetGen.jl.
Any ideas what the problem may be?
Thanks in advance.
IO.

@j-fu
Copy link
Member

j-fu commented Oct 3, 2021

For the Julia binary builder, macos aarch64 still seems to count as an experimental platform, see JuliaPackaging/Yggdrasil#2763

So libtet is not available yet for this architecturee, see the list on https://github.com/JuliaBinaryWrappers/TetGen_jll.jl .

However I don't expect any portability issues, so I will try to upgrade the binary package (also then for Triangle_jll.jl...) .
Need to carve out some time for this.

@j-fu
Copy link
Member

j-fu commented Oct 3, 2021

This has been merged now - with TetGen_jll.jl 1.5.2 you could try if it works...

@iojea
Copy link
Author

iojea commented Oct 3, 2021

It works perfectly fine.
Thank you very much for the quick solution!

@iojea iojea closed this as completed Oct 3, 2021
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

2 participants