Skip to content

libsc functions don't work on Windows #32

@efaulhaber

Description

@efaulhaber

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions