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

libsc functions don't work on Windows #32

Closed
efaulhaber opened this issue Jun 1, 2021 · 1 comment · Fixed by #73 · May be fixed by #34
Closed

libsc functions don't work on Windows #32

efaulhaber opened this issue Jun 1, 2021 · 1 comment · Fixed by #73 · May be fixed by #34
Labels
bug Something isn't working

Comments

@efaulhaber
Copy link
Member

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.

@efaulhaber efaulhaber added the bug Something isn't working label Jun 1, 2021
@sloede
Copy link
Member

sloede commented Jun 1, 2021

Lucky me, I can reproduce the observed behavior on Windows \o/. I do not know yet, however, how to even approach this bug...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants