py-leveldb-windows icon indicating copy to clipboard operation
py-leveldb-windows copied to clipboard

build error for unresolved external symbol initleveldb

Open David-Guo opened this issue 8 years ago • 4 comments

Hi, happynear

After I change the compile mode to Release X64 and modify the python path in the settings,

I meet the followed problem:

Error 117 error LNK2001: unresolved external symbol initleveldb E:\py-leveldb-windows-master\build\leveldb.def

Should I put the leveldb.lib into the Link input setting ?

David-Guo avatar May 08 '16 15:05 David-Guo

@David-Guo were you able to find a solution for this?

muradhasan331 avatar Jul 19 '18 11:07 muradhasan331

same for me

PineLover avatar Aug 23 '18 20:08 PineLover

@David-Guo where did you get leveldb.lib file ?

and did it worked?

PineLover avatar Aug 23 '18 20:08 PineLover

This is what you see if you're building for Python 3 and haven't modified /win32_impl_src/leveldb.def as described in the Readme under "Compile using Python3".

okeeblow avatar Dec 23 '19 03:12 okeeblow