Comments (3)
Install vcpkg, then install RocksDB with vcpkg.
Modification to build.rs
:
// main()
println!("cargo:rustc-link-lib=static=zlib");
build.include("C:/Users/???/vcpkg/packages/rocksdb_x64-windows/include");
println!("cargo:rustc-link-search=native=C:/Users/???/vcpkg/packages/rocksdb_x64-windows/lib");
println!("cargo:rustc-link-search=native=C:/Users/???/vcpkg/packages/snappy_x64-windows/lib");
println!("cargo:rustc-link-search=native=C:/Users/???/vcpkg/packages/zlib_x64-windows/lib");
println!("cargo:rustc-link-search=native=C:/Program Files (x86)/Windows Kits/10/Lib/10.0.18362.0/um/x64");
println!("cargo:rustc-link-lib=static=shlwapi");
println!("cargo:rustc-link-lib=static=rpcrt4");
from rust-rocks.
Then you might need copy zlib1.dll
to your project dir.
from rust-rocks.
Fixed by #17.
Thanks.
from rust-rocks.
Related Issues (11)
- TODOs / Feature set compared with C++ RocksDB
- Link with circular reference among 2 crates under Linux in Rust? HOT 1
- Segfault using column families HOT 2
- Issue with iterator and lifetimes HOT 6
- Questions about the project HOT 3
- Relationship between the rocksdb crate or other rust-rocksdb forks? HOT 9
- Cache needs to be shareable
- Memory Leaks HOT 1
- Title of README does not render correctly on crates.io HOT 2
- static-link with zlib overwrites src(submodule) files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-rocks.