【发布时间】:2016-12-24 14:15:44
【问题描述】:
我正在尝试构建不锈的"basic usage" sample project。
这是我的 Cargo.toml。为了避免构建错误error[E0463]: can't find crate for 'hyper'
[package]
name = "rustlessTest"
version = "0.1.0"
authors = ["x"]
[dependencies.rustless]
git = "https://github.com/rustless/rustless"
[dependencies]
hyper = "0.9.14"
iron = "0.4.0"
rustc-serialize = "0.3.22"
valico = "1.0.1"
我还下载了 OpenSSL 库和源代码。我将它们存储在C:\OpenSSL\lib and C:\OpenSSL\include 下并将目录设置为环境变量,正如this thread 关于如何在Windows 上使用Hyper 中所述。
当我尝试编译时,它失败并显示以下输出:
Build failed, waiting for other jobs to finish...
error: failed to run custom build command for `openssl v0.7.14`
....
....
【问题讨论】:
-
使用
cargo -vv build获取更多信息。