How do you get passed `LNK: cannot find python39.lib` errors when using PyD for Python to D calling?

2022-04-04 Thread Enjoys Math via Digitalmars-d-learn
``` C:\Users\FruitfulApproach\Desktop\BananaCats\BananaCatsInD\pyd\infrastructure\pyd\make_object.d(1190): Deprecation: returning `&this` escapes a reference to parameter `this` C:\Users\FruitfulApproach\Desktop\BananaCats\BananaCatsInD\pyd\infrastructure\pyd\make_object.d(1190): perhap

Re: unable to link to python3.7m using pyd and conda

2019-09-26 Thread Cesar via Digitalmars-d-learn
On Thursday, 26 September 2019 at 13:29:09 UTC, Cesar wrote: Hi, I am trying to get started using pyd with https://github.com/Superbelko/pyd-min as an example and I am getting an error from the linker: minpyd ~master: building configuration "application"... Linking...

unable to link to python3.7m using pyd and conda

2019-09-26 Thread Cesar via Digitalmars-d-learn
Hi, I am trying to get started using pyd with https://github.com/Superbelko/pyd-min as an example and I am getting an error from the linker: minpyd ~master: building configuration "application"... Linking... /usr/bin/ld: cannot find -lpython3.7m collect2: error: ld

Using PyD

2017-11-21 Thread sivakon via Digitalmars-d-learn
I can create a python project by creating a PyDobject and `python setup.py install` and get the output. If I want to add an external library in D (usually I do that with `dub run --single` command), how do I accomplish that? In the project below, if I want to use some D libraries, how do I b