Thread overview
(Possibly paid opportunity): PyD - Win 64
Dec 01, 2017
Laeeth Isharc
Dec 02, 2017
Nicholas Wilson
Dec 02, 2017
Thomas Mader
Dec 06, 2017
Laeeth Isharc
Dec 06, 2017
Atila Neves
December 01, 2017
Hi.

I'd like to get PyD working on Windows 64.  I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now.  If somebody would be interested in helping, we could pay for help on this.

laeeth at
kaleidic.io


Thanks.


Laeeth.
December 02, 2017
On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote:
> Hi.
>
> I'd like to get PyD working on Windows 64.  I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now.  If somebody would be interested in helping, we could pay for help on this.
>
> laeeth at
> kaleidic.io
>
>
> Thanks.
>
>
> Laeeth.

The reason for the failures is that there is no .lib for the python DLL.
A d program
```
import std.stdio;
import std.algorithm;
import std.range;
void main(string[] args)
{
    writeln("EXPORTS");
    stdin.byLine.drop(2);
    foreach(s;stdin.byLine)
    {
        auto l = s.splitter(" ").drop(3);
        if (!l.front.startsWith("LNK2019")) break;
        writeln("\t",l.drop(4).front);
    }
}
```
named d.exe
then run
```
$dub 2>NUL | d.exe> python.def
$lib /def:python.def /out:python.lib
```
then add python.lib to your dub configuration and assuming that it can find the DLL it should work.

I'll bill you an hour ;)

Nic

December 02, 2017
On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote:
> Hi.
>
> I'd like to get PyD working on Windows 64.  I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now.  If somebody would be interested in helping, we could pay for help on this.
>
> laeeth at
> kaleidic.io
>
>
> Thanks.
>
>
> Laeeth.

Just found https://github.com/ariovistus/pyd/issues/67

December 06, 2017
On Saturday, 2 December 2017 at 09:12:07 UTC, Thomas Mader wrote:
> On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote:
>> Hi.
>>
>> I'd like to get PyD working on Windows 64.  I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now.  If somebody would be interested in helping, we could pay for help on this.
>>
>> laeeth at
>> kaleidic.io
>>
>>
>> Thanks.
>>
>>
>> Laeeth.
>
> Just found https://github.com/ariovistus/pyd/issues/67

Thanks. I didn't try yet but reckon Nic is right - just something small.


December 06, 2017
On Saturday, 2 December 2017 at 09:12:07 UTC, Thomas Mader wrote:
> On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote:
>> Hi.
>>
>> I'd like to get PyD working on Windows 64.  I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now.  If somebody would be interested in helping, we could pay for help on this.
>>
>> laeeth at
>> kaleidic.io
>>
>>
>> Thanks.
>>
>>
>> Laeeth.
>
> Just found https://github.com/ariovistus/pyd/issues/67

https://github.com/ariovistus/pyd/pull/72