On Monday, 18 February 2019 at 21:28:14 UTC, Samir wrote:
On Monday, 18 February 2019 at 20:30:23 UTC, Andre Pany wrote:
[...]
Thank you for that! After installing the version of matplotlib
for python2 and rerunning dub build, I now get the following
error:
$ dub build
Performing "debug" build using
/usr/home/samir/dlang/dmd-2.082.0/freebsd/bin64/dmd for x86_64.
matplotlib-d 0.1.4: building configuration "library"...
Running pre-build commands...
/home/samir/.dub/packages/matplotlib-d-0.1.4/matplotlib-d/source/matplotlibd/pyplot.d-mixin-41(191,6):
Error: no identifier for declarator void
/home/samir/.dub/packages/matplotlib-d-0.1.4/matplotlib-d/source/matplotlibd/pyplot.d-mixin-41(191,18):
Error: found ... when expecting )
/home/samir/.dub/packages/matplotlib-d-0.1.4/matplotlib-d/source/matplotlibd/pyplot.d-mixin-41(191,21):
Error: declaration expected, not )
/home/samir/.dub/packages/matplotlib-d-0.1.4/matplotlib-d/source/matplotlibd/pyplot.d-mixin-41(191,63):
Error: declaration expected, not if
/home/samir/.dub/packages/matplotlib-d-0.1.4/matplotlib-d/source/matplotlibd/pyplot.d-mixin-41(191,89):
Error: no identifier for declarator a
/home/samir/.dub/packages/matplotlib-d-0.1.4/matplotlib-d/source/matplotlibd/pyplot.d-mixin-41(191,89):
Error: declaration expected, not )
/usr/home/samir/dlang/dmd-2.082.0/freebsd/bin64/dmd failed with
exit code 1.
I don't see a pyplot.d-mixin-41 file in that directory but I do
have pyplot.d.
Is there an issue with the package itself?
Samir
Issue is already solved in master but a new release is missing.
Github issue
https://github.com/koji-kojiro/matplotlib-d/issues/12 created.
In the meantime you could adapt the python script on your local
file system in the dub packages cache folder as described here
https://github.com/koji-kojiro/matplotlib-d/pull/11/files
Kind regards
Andre