utelle / SQLite3MultipleCiphers

SQLite3 encryption extension with support for multiple ciphers
https://utelle.github.io/SQLite3MultipleCiphers/
MIT License
390 stars 73 forks source link

How to compile Windows VS08 version? #170

Closed vagabond1132 closed 2 months ago

vagabond1132 commented 2 months ago

I need a static library for this project SQLite3MultipleCiphers 1.8.6

How can I make modifications? I need help。

release-mt/md.lib

utelle commented 2 months ago

Visual C++ 2008 (aka Visual Studio 2008) was released in November 2007. That is, it is a really old and outdated compiler. SQLite3 Multiple Ciphers was never tested with Visual C++ 2008. I would strongly recommend that you upgrade your compiler to Visual C++ 2015 or higher.

If you really can't avoid to use Visual C++ 2008, you could use premake5 to generate build files for Visual C++ 2008. However, using those build files will not work out of the box, because Visual C++ 2008 doesn't support property files (.props). Thus, you will have to adjust the defined preprocessor symbols to not use variables (which are defined in the property file).

Additionally, you will have to adjust several source files, because the C standard supported by Visual C++ 2008 requires that all variables are defined at the beginning of a block. This is not always the case in the current code base.

I close this issue, because I don't intend to add support for such outdated compilers.