autowrap
autowrap copied to clipboard
Error in autowrap.reflection.Functions template
I continue my efforts to wrap drepl. https://github.com/kaleidicassociates/pydrepl @Laeeth was king enough to share https://github.com/kaleidicassociates/pydrepl, which I use now. Unfortunately, I still get errors:
Running pre-build commands...
../../../.dub/packages/autowrap-master/autowrap/reflection/source/autowrap/reflection.d(45,23): Error: template autowrap.reflection.Functions does not match any template declaration
/usr/include/dmd/phobos/std/meta.d(779,37): Error: template instance autowrap.reflection.F!(Module("replwrap", cast(Flag)true)) error instantiating
../../../.dub/packages/autowrap-master/autowrap/reflection/source/autowrap/reflection.d(39,26): instantiated from here: staticMap!(Functions, Module("replwrap", cast(Flag)true))
../../../.dub/packages/autowrap-master/autowrap/python/source/autowrap/python/wrap.d(22,31): instantiated from here: AllFunctions!(Module("replwrap", cast(Flag)true))
source/app.d-mixin-2(9,13): instantiated from here: wrapAllFunctions!(Module("replwrap", cast(Flag)true))
dmd failed with exit code 1.
Please post a reproducible failure. How did you try wrapping it? Using dub? If so, what's the dub.sdl/json?
As I mentioned, I'm using pydrepl that @Laeeth sent me.
- The dub.sdl is this https://github.com/kaleidicassociates/pydrepl/blob/master/dub.sdl
- The app.d file https://github.com/kaleidicassociates/pydrepl/blob/master/source/app.d
- https://github.com/kaleidicassociates/pydrepl/blob/master/source/replwrap.d
I just run dub build -c python36
and I get the error I posted above.