-
Notifications
You must be signed in to change notification settings - Fork 68
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
C++ wrapping tutorial #132
Comments
check out github.com/Keno/Cxx.jl for the industrial-strength version. On Sun, Jun 7, 2015 at 11:57 AM, Tero Frondelius [email protected]
|
Thanks. I actually started by Cxx.jl. I just couldn't get Julia to compile with all those needed stuff. I gave up after three long nights. Maybe I will give another try. |
Do Cxx provide an automatic wrapper generator? Clang.jl fails to parse/translate/wrap the following C++ enum: enum CpuFeatures {
CPU_MMX = 1
}; from https://github.com/opencv/opencv/blob/master/modules/core/include/opencv2/core/cvdef.h#L161 with the error:
|
Now you can use https://github.com/grasph/wrapit. |
Hi,
I have been couples of days learning (struggling) Clang.jl. I like the idea and I think this package could really boost scientific calculations, when people could be building on top of existing libraries.
First really hard part was to get the package to building. I used this this type of trick (found somewhere else):
Secondly I tried to follow this https://github.com/ihnorton/Clang.jl#implementation
That really haven't helped so far, the ratio between code complexity and commenting is above my skills.
Then I looked the tests and I thought I found something useful: https://github.com/ihnorton/Clang.jl/blob/master/test/test_classparents.jl
The problem is that it's not doing enough to work as a tutorial.
Also the current documentation is not really helping, when the whole wrap_cpp is missing from there.
If I could get this type of tutorial for c++, it really would help to the start
The text was updated successfully, but these errors were encountered: