rigglemania / pysqlcipher3

Python 3 bindings for SQLCipher
zlib License
138 stars 42 forks source link

Error on building for windows #16

Closed masoudr closed 5 years ago

masoudr commented 5 years ago

Hi, I've successfully built standard version of sqlcipher on Windows and I've added its path to the system environment. I couldn't build it for python3 and I got an error on finding the headers. So I copied whole sqlcipher to src/python3 and tried to use python setup.py install but this time it shows this error:

/OUT:build\lib.win-amd64-3.7\pysqlcipher3_sqlite3.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\src\python3_sqlite3.cp37-win_amd64.lib LINK : fatal error LNK1181: cannot open input file 'sqlcipher.lib' error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1181

But the sqlcipher.lib exists in the sqlcipher directory.

masoudr commented 5 years ago

It was a miss build, I solved it by rebuilding the sqlcipher.