Comments (4)
Fixed by #83
from diem.
Hi, saranshkataria
You can connect to Libra Core from Windows using WSL. Use the following article to get started with it on a Windows System.
https://medium.com/@ibraheemkolawolebello/connecting-to-libra-testnet-on-windows-with-wsl-45bdfd23150a
Cheers
from diem.
Couple of notes regarding getting this to build on Windows (at least my progress so far).
First, you'll need to install all of the dependencies in scripts/dev_setup.sh
yourself and add them to PATH
. These are Rust (obviously), CMake, Go, and protobuf. For protobuf, both the bin
and the include
directory will need to be in PATH
.
As for getting it to build (in whatever way possible), my progress so far:
libra_node
depends on signal-hook which does not work on Windows at all.
Remove signal_hook
dependency and comment out use of signal_hook
and definiton/call to register_signals
in https://github.com/libra/libra/blob/master/libra_node/src/main.rs
- clap has a default feature that is not supported on Windows.
Change all clap = 2.32.0
dependencies to clap = { version = "2.32.0", default-features = false }
- jemallocator doesn't build on x86_64-pc-windows-msvc.
Comment out dump_jemalloc_heap_profile
function in node_debug_service.rs
, and the associated call and import in debug_interface/src/lib.rs
Currently, I'm wrestling with rocksdb
. Release 0.12.2 builds correctly on Windows, but the Rust interface has changed. Libra is pinned to a specific commit (4f8c6b3a48c7acb0c81f9bb91e7d8493b1c5a73e
), which errors with Cannot open include file: 'snappy.h'
. This should be solvable, though. I'll update once I have it figured out.
from diem.
The dependencies needed to build Libra have been simplified so this should make it easier to build on windows (I believe building rocksdb maybe be the only hurdle now), though it sounds like using WSL is also an option.
from diem.
Related Issues (20)
- [Parallel Executor] [VM] Allow transaction execution to be suspended / resumed on reads.
- [Parallel Executor] Add integration and unit tests
- [Parallel Executor] [VM] Deprecate Read-Write set estimator
- [Flaky Test] shuffle::shuffle-forge-integration-tests::shuffle::sample-package-end-to-end HOT 1
- [Flaky Test] shuffle::shuffle-forge-cli-tests::shuffle::transactions-with-networks-raw-address-flags HOT 1
- [Bug]
- [Bug] The blockchain stucks when there are some malicious nodes
- [Bug]
- [Bug] Wrong command to install Move CLI in the documentation HOT 1
- [Bug] Testnet not work! Server error: VM Validation error: BAD_CHAIN_ID
- [Feature Request]
- [Feature Request]
- [Bug] whenever compile move-cli has failed HOT 13
- [Bug] The leader election maybe not fair when there is a malicious node
- RUSTSEC in dependencies in branch latest
- [Bug] Getting error while building: failed to run custom build command for `openssl-sys v0.9.60`
- [Bug] Getting `use of undeclared crate or module plotters_bitmap` in `cargo install --git https://github.com/diem/diem move-cli`
- [Bug]
- [Bug] Some copyright and license issues with Aptos
- $ cargo install --git https://github.com/diem/diem move-cli
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 diem.