CxxWrap.jl icon indicating copy to clipboard operation
CxxWrap.jl copied to clipboard

Enums binding failed.

Open holmesconan opened this issue 5 years ago • 1 comments

I faced a similar problem with enums as #146 mentioned. I was trying to fix the binding problem with ViZDoom which is using CxxWrap 0.8.2. There are many enums, and some enum contains many members. I tried to comment all bindings and enable them one by one. As the result showed, When some less member enums are enabled, everything works well. But when I enable the second enum which contains tens of members, all enum bindings bailed to be accessed.

But when I tried to make a simple test case for reproduce the problem, I failed.

holmesconan avatar Jun 26 '19 12:06 holmesconan

Hi, I am currently refactoring a lot of things to solve issue #134 , possibly this also gets fixed as a side effect. If you are feeling adventurous, you can try the type_overhaul branch (also on libcxxwrap-julia, which you will need to compile).

I'm finalizing getting the tests to work again in the new branch, once that is done I'll look at the enum problem.

CC @blegat

barche avatar Jun 27 '19 14:06 barche