-
Notifications
You must be signed in to change notification settings - Fork 9
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
Wrapper generator doesn't generate complete wrappers. #16
Comments
Yeah one needs to be on JuliaInterop/Clang.jl#435 |
Ok great, thanks! |
@vchuravy with JuliaInterop/Clang.jl#435 fails because...
ERROR: LoadError: KeyError: key Clang.LibClang.UnknownMember not found
Stacktrace:
[1] getindex
@ ./dict.jl:498 [inlined]
[2] Clang.CLCursor(c::Clang.LibClang.CXCursor)
@ Clang ~/.julia/packages/Clang/QN3so/src/cltypes.jl:33
[3] convert
@ ~/.julia/packages/Clang/QN3so/src/cltypes.jl:34 [inlined]
[4] getTranslationUnitCursor
@ ~/.julia/packages/Clang/QN3so/src/trans_unit.jl:72 [inlined]
[5] detect_headers(include_dir::String, args::Vector{String}, options::Dict{Any, Any})
@ Clang.Generators ~/.julia/packages/Clang/QN3so/src/generator/context.jl:272
[6] (::var"#3#4"{VersionNumber, VersionNumber})(prefix::Prefix)
@ Main ~/Developer/MLIR.jl/res/wrap.jl:43
[7] #66
@ ~/.julia/packages/BinaryBuilderBase/tGUXK/src/Prefix.jl:46 [inlined]
[8] mktempdir(fn::BinaryBuilderBase.var"#66#68"{var"#3#4"{VersionNumber, VersionNumber}}, parent::String; prefix::String)
@ Base.Filesystem ./file.jl:766
[9] mktempdir
@ Base.Filesystem ./file.jl:762 [inlined]
[10] temp_prefix(func::var"#3#4"{VersionNumber, VersionNumber})
@ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/tGUXK/src/Prefix.jl:42
[11] top-level scope
@ ~/Developer/MLIR.jl/res/wrap.jl:24
in expression starting at /Users/mofeing/Developer/MLIR.jl/res/wrap.jl:21 |
If I'm not mistaken there's another branch containing the definition with filter and combining the two branches did the trick. I can check tomorrow (CET) if I still find how I got it working. |
in #37 I checked in a fully working Manifest.toml (caveat one need Julia 1.7) |
Running
res/wrap.jl
does not generate the wrapper for me, the output only contains the prologue. The script does however find the headers.Did the script somehow become outdated or could I possible be invoking it in a wrong way?
Thanks,
Jules
The text was updated successfully, but these errors were encountered: