What's the latest news for calling D from python 3 using ctypes?
Nicholas Wilson
iamthewilsonator at hotmail.com
Wed Feb 28 02:40:59 UTC 2018
On Wednesday, 28 February 2018 at 01:19:25 UTC, Enjoys Math wrote:
> Can't build now:
>
>
> ------ Build started: Project: categorytheorybackend,
> Configuration: debug Win32 ------
> Building
> C:\MyProjects\___ENJOYS_MATH\CategoryTheoryFrontend\CategoryTheoryBackend\categorytheorybackend.exe...
> Error: Error writing file
> 'obj\debug\dummy\dummy\dummy\dummy\dummy\categorytheorybackend\..\..\..\..\..\Users\FruitfulApproach\AppData\Roaming\dub\packages\pyd-0.9.9\pyd\infrastructure\deimos\python\abstract_.obj'
> Building
> C:\MyProjects\___ENJOYS_MATH\CategoryTheoryFrontend\CategoryTheoryBackend\categorytheorybackend.exe failed!
> Details saved as
> "file://C:\MyProjects\___ENJOYS_MATH\CategoryTheoryFrontend\CategoryTheoryBackend\.dub\obj\debug\dummy\dummy\dummy\dummy\dummy\categorytheorybackend\categorytheorybackend.buildlog.html"
> ========== 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.
More information about the Digitalmars-d-learn
mailing list