-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
I'm currently trying to build a Windows DLL for this library that doesn't require any Microsoft Visual C++ Redistributable to be installed. Since it seemed harder to build this for the old version of LevelDB I built the native binaries right away with the latest LevelDB release 1.22. I could make my own release but it's a hassle and having a new 1.9 release with the current LevelDB version would probably help everyone.
Can you guys create a new release? I'd be happy to support and could even provide you with pre-built binaries for all the operating systems.
If you want to build the binaries yourself you can use the latest forks I've provided here.
- Snappy 1.1.8 (branch 1.1.8_leveldbjni)
- Build for POSIX using:
cmake . && make
- Build for Windows with Visual Studio 2019:
cmake -G "Visual Studio 16 2019" -A x64 .
- Build for POSIX using:
- LevelDB 1.22 (branch 1.22_leveldbjni)
- Already includes the patch as well as still relevant changes from chirino/leveldb
- Build for POSIX using:
cmake -DCMAKE_BUILD_TYPE=Release . && cmake --build .
- Build for Windows with Visual Studio 2019:
cmake -G "Visual Studio 16 2019" -A x64 .
- Build all Windows binaries in Visual Studio using Right Click on Solution > Properties > C/C++ > Runtime Library > Multi-Threaded (/MT) instead of Multi-Threaded DLL (/MT) to avoid dependency on Microsoft Visual C++ Redistributable
Let me know in case you need further input.
Cheers,
Albert
Metadata
Metadata
Assignees
Labels
No labels