Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build it on windows? #156

Closed
dtcv opened this issue Nov 10, 2017 · 3 comments
Closed

How to build it on windows? #156

dtcv opened this issue Nov 10, 2017 · 3 comments

Comments

@dtcv
Copy link

dtcv commented Nov 10, 2017

I use cargo build,but it returns:
failed to run custom build command for librocksdb_sys v0.1.0 (file:///E:/rustproject/rust-rocksdb-master/librocksdb_sys).
so i want to know how to build rust-rocksdb on windows

@dtcv dtcv closed this as completed Nov 10, 2017
@dtcv dtcv changed the title How to build How to build it on windows? Nov 10, 2017
@dtcv dtcv reopened this Nov 10, 2017
@siddontang
Copy link

/cc @BusyJay

@BusyJay
Copy link
Member

BusyJay commented Nov 10, 2017

Windwos support is quite limited right now. You need to build a rocksdb native library, and then put it in a directory pointed by environment variables LIB and LIBPATH. Also INCLUDE is needed to be set properly.

After cmake is introduced, it maybe possible to build rust-rocksdb without building a rocksdb library. It maybe done in the near future, however there is no clear plan yet.

@dtcv
Copy link
Author

dtcv commented Nov 10, 2017

Thanks for your guidance, i will try it.

@dtcv dtcv closed this as completed Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants