JdotNET icon indicating copy to clipboard operation
JdotNET copied to clipboard

LoadError on NetCore.jl

Open pinx opened this issue 3 years ago • 0 comments

The unit tests, and also doing Pkg.precompile() fail with

ERROR: LoadError: ccall method definition: argument 2 type doesn't correspond to a C type
Stacktrace:
  [1] top-level scope
    @ C:\Users\mpinxte1\.julia\packages\JULIAdotNET\7zJUz\src\julia\SharpForJulia\NetCore.jl:74
  [2] include(mod::Module, _path::String)
    @ Base .\Base.jl:419
  [3] include(x::String)
    @ JULIAdotNET.Sharp C:\Users\mpinxte1\.julia\packages\JULIAdotNET\7zJUz\src\julia\Sharp.jl:1
  [4] top-level scope
    @ C:\Users\mpinxte1\.julia\packages\JULIAdotNET\7zJUz\src\julia\Sharp.jl:21

Could this be related to https://github.com/JuliaLang/julia/pull/43953?

Other package with a similar issue: https://github.com/JuliaData/SentinelArrays.jl/issues/69

I'm using Julia 1.8.2

pinx avatar Nov 14 '22 13:11 pinx