happynear / py-leveldb-windows

A Visual Studio project to build leveldb python wrapper
94 stars 30 forks source link

build error for unresolved external symbol initleveldb #2

Open David-Guo opened 8 years ago

David-Guo commented 8 years ago

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 ?

muradhasan331 commented 6 years ago

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

PineLover commented 6 years ago

same for me

PineLover commented 6 years ago

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

and did it worked?

okeeblow commented 4 years ago

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".