`libsc` functions don't work on Windows
efaulhaber opened this issue · comments
Erik Faulhaber commented
This one-liner
sc_package_id()
yields
julia> sc_package_id()
CBinding.Cglobal{Int32}(Ptr{Int32} @0x00007efe185a691c)
on Linux but
julia> sc_package_id()
ERROR: could not load symbol "sc_package_id":
The specified procedure could not be found.
Stacktrace:
[1] macro expansion
@ ~\.julia\packages\CBinding\9dfDe\src\cglobal.jl:22 [inlined]
[2] _cglobal
@ ~\.julia\packages\CBinding\9dfDe\src\cglobal.jl:19 [inlined]
[3] DeferredCglobal
@ ~\.julia\packages\CBinding\9dfDe\src\cglobal.jl:16 [inlined]
[4] sc_package_id()
@ P4est.LibP4est ~\.julia\packages\CBinding\9dfDe\src\cbindings.jl:108
[5] top-level scope
@ REPL[1]:1
on Windows.
This happens with multiple (maybe all) sc_
functions.
Michael Schlottke-Lakemper commented
Lucky me, I can reproduce the observed behavior on Windows \o/. I do not know yet, however, how to even approach this bug...