Windows Build Script: Building rocksdb for Windows is hard; this project contains a build script to make it easy.
Pre-built native binaries can be downloaded from the releases page. You may also build them yourself.
This is now buildable on Windows thanks to the Bing team at Microsoft who are actively using rocksdb. Rocksdb-sharp should work on any platform provided the native unmanaged library is available.
- Git for Windows (specifically, the git bash environment)
- CMake
- Visual Studio 2017 (older versions may work but are not tested)
- Open "Developer Command Prompt for VS2017"
- Run git's
bash.exe
- execute
./build-rocksdb.sh
This will create a rocksdb.dll and copy it to the where the .sln file is expecting it to be. (If you only need to run this in Windows, you can remove the references to the other two platform binaries from the .sln)
./build-rocksdb.sh
./build-rocksdb.sh