Comments (4)
I'm getting the same error as Miles
from clang.jl.
Sorry to leave this hanging... Can one of you tell me what library are you trying to wrap? Thanks.
from clang.jl.
I'm trying to wrap the OGR (http://gdal.org/ogr/index.html) component of the GDAL library. ogr_core.h (http://gdal.org/ogr/ogr__core_8h.html) is the header which Clang fails on.
from clang.jl.
I got good results using the following script:
using Clang.wrap_c
context = wrap_c.init(; output_file="libogr.jl",
header_library=x->"ogr",
header_wrapped=(tophdr,cuhdr)-> contains(cuhdr, "ogr"),
common_file="libogr_h.jl", clang_diagnostics=true,
clang_args=["-v"], clang_includes=["/cmn/julia/usr/bin/", "/usr/include/mysql",
"/cmn/julia/deps/llvm-3.3/tools/clang/lib/Headers"])
context.options.wrap_structs = true
wrap_c.wrap_c_headers(context, ["/usr/include/gdal/ogr_core.h"])
from clang.jl.
Related Issues (20)
- Respect `output_ignorelist` for macro definitions HOT 5
- Error when parsing alignas(64) HOT 3
- Various non-valid Julia code output HOT 8
- MIOpen generator fails HOT 4
- Support `_Atomic` HOT 2
- Support variable array function parameters
- C_LONG_LONG and C_INT64_T represented as Clong HOT 4
- `__restrict not defined` Error HOT 3
- Edge cases encountered while generating bindings for Hwloc HOT 1
- Enumerations with a fixed underlying type, via typedef HOT 1
- Bug introduced in Clang.jl v0.16.6 HOT 10
- Definitions of function pointer types should appear before their first use HOT 4
- Creating bindings for libwinit HOT 11
- size_t wrongly translated to Cint HOT 2
- Feature Request: implement `smart_deanonymize` for cenums HOT 1
- Using `fieldnames` (and similar) for wrapped C `union`s HOT 2
- Unexpected assertion error: ERROR: AssertionError: length(child_nodes) == length(fields) HOT 1
- Support for `using` HOT 3
- generating julia wrapper for C library
- Unknown CXCursorKind with Julia master/Clang.jl master HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clang.jl.