ariovistus / pyd

Interoperability between Python and D
MIT License
158 stars 32 forks source link

getting pyd to work in windows 7 #55

Closed ariovistus closed 7 years ago

ariovistus commented 8 years ago

I install dmd via chocolatey and python 3.4 via the msi installer and attempt to compile the pyind example. It gives me:

OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_New@0
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_SetItem@12
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_GetItem@8
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_Keys@4
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_GetItemString@8
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_Next@16
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_Values@4
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_Items@4
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_Clear@4
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_Copy@4
build\temp.win32-3.4\infra\temp.obj(temp)
 Error 42: Symbol Undefined _PyDict_Merge@12
--- errorlevel 11

anybody else see this/know how to fix it off the top of their head?