What's the latest news for calling D from python 3 using ctypes?

Enjoys Math enjoysmath at gmail.com
Wed Feb 28 17:34:49 UTC 2018


>> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 
>> skipped ==========
>
> For some reason, idk why, PyD is a dub source dependency (as 
> opposed to a library). If you add \path\to\pyd to the include 
> directory(?) dub variable (or -I\path\to\pyd to dmd/ldc/gdc) it 
> should hopefully work.

Seems like it already is.  In VisualD compiler settings / 
additional import paths it's set to:
"..\source" 
"..\..\..\..\..\Users\FruitfulApproach\AppData\Roaming\dub\packages\pyd-0.9.9\pyd\infrastructure"



More information about the Digitalmars-d-learn mailing list