We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
leaf::solver::*
solver
leaf
Hi,
I have problem compiling the examples. Here is the terminal output
~/P/leaf-examples$ cargo build --release --verbose Fresh winapi-build v0.1.1 Fresh language-tags v0.0.7 Fresh libc v0.2.7 Fresh gcc v0.3.25 Fresh utf8-ranges v0.1.3 Fresh rustc-serialize v0.3.18 Fresh libc v0.1.12 Fresh byteorder v0.3.13 Fresh memchr v0.1.10 Fresh num_cpus v0.2.11 Fresh strsim v0.3.0 Fresh pkg-config v0.3.7 Fresh log v0.3.5 Fresh winapi v0.2.5 Fresh csv v0.14.3 Fresh aho-corasick v0.5.1 Fresh byteorder v0.4.2 Fresh typeable v0.1.2 Fresh hpack v0.2.0 Fresh matches v0.1.2 Fresh kernel32-sys v0.2.1 Fresh linear-map v0.0.4 Fresh bitflags v0.3.3 Fresh semver v0.1.20 Fresh regex-syntax v0.2.5 Fresh solicit v0.4.4 Fresh lazy_static v0.1.15 Fresh time v0.1.34 Fresh httparse v1.1.1 Fresh rustc_version v0.1.7 Fresh regex v0.1.55 Fresh openssl-sys v0.6.7 Fresh traitobject v0.0.1 Fresh rand v0.3.14 Fresh timeit v0.1.2 Fresh env_logger v0.3.2 Fresh docopt v0.6.78 Fresh openssl v0.6.7 Fresh uuid v0.1.18 Fresh num v0.1.31 Fresh url v0.2.38 Fresh enum_primitive v0.1.0 Fresh serde v0.6.15 Fresh rblas v0.0.11 Fresh unicase v1.3.0 Fresh cookie v0.1.21 Fresh collenchyma v0.0.8 Fresh mime v0.1.3 Fresh collenchyma-nn v0.3.4 Fresh collenchyma-blas v0.2.0 Fresh hyper v0.6.16 Fresh leaf v0.2.0 Compiling leaf-examples v0.1.0 (file:///home/yyc/P/leaf-examples) Running `rustc src/main.rs --crate-name leaf_examples --crate-type bin -C opt-level=3 --cfg feature=\"collenchyma\" --cfg feature=\"native\" --cfg feature=\"leaf\" --cfg feature=\"default\" --out-dir /home/yyc/P/leaf-examples/target/release --emit=dep-info,link -L dependency=/home/yyc/P/leaf-examples/target/release -L dependency=/home/yyc/P/leaf-examples/target/release/deps --extern log=/home/yyc/P/leaf-examples/target/release/deps/liblog-0b1f2bad29d31333.rlib --extern hyper=/home/yyc/P/leaf-examples/target/release/deps/libhyper-2ba027f1404b8ddb.rlib --extern collenchyma=/home/yyc/P/leaf-examples/target/release/deps/libcollenchyma-9c720fde0214e273.rlib --extern env_logger=/home/yyc/P/leaf-examples/target/release/deps/libenv_logger-2fedde90a22290a6.rlib --extern rustc_serialize=/home/yyc/P/leaf-examples/target/release/deps/librustc_serialize-79a17eda1cd94e46.rlib --extern leaf=/home/yyc/P/leaf-examples/target/release/deps/libleaf-1941b6714b37cdd8.rlib --extern docopt=/home/yyc/P/leaf-examples/target/release/deps/libdocopt-eb02b06dca39e75f.rlib --extern csv=/home/yyc/P/leaf-examples/target/release/deps/libcsv-38833c6c563f720e.rlib -L native=/usr/lib/x86_64-linux-gnu -L native=/home/yyc/P/leaf-examples/target/release/build/openssl-sys-ccfba7b0e0a23a8e/out` src/main.rs:21:5: 21:21 error: unresolved import `leaf::solver::*`. Could not find `solver` in `leaf` [E0432] src/main.rs:21 use leaf::solver::*; ^~~~~~~~~~~~~~~~ src/main.rs:21:5: 21:21 help: run `rustc --explain E0432` to see a detailed explanation error: aborting due to previous error Could not compile `leaf-examples`. Caused by: Process didn't exit successfully: `rustc src/main.rs --crate-name leaf_examples --crate-type bin -C opt-level=3 --cfg feature="collenchyma" --cfg feature="native" --cfg feature="leaf" --cfg feature="default" --out-dir /home/yyc/P/leaf-examples/target/release --emit=dep-info,link -L dependency=/home/yyc/P/leaf-examples/target/release -L dependency=/home/yyc/P/leaf-examples/target/release/deps --extern log=/home/yyc/P/leaf-examples/target/release/deps/liblog-0b1f2bad29d31333.rlib --extern hyper=/home/yyc/P/leaf-examples/target/release/deps/libhyper-2ba027f1404b8ddb.rlib --extern collenchyma=/home/yyc/P/leaf-examples/target/release/deps/libcollenchyma-9c720fde0214e273.rlib --extern env_logger=/home/yyc/P/leaf-examples/target/release/deps/libenv_logger-2fedde90a22290a6.rlib --extern rustc_serialize=/home/yyc/P/leaf-examples/target/release/deps/librustc_serialize-79a17eda1cd94e46.rlib --extern leaf=/home/yyc/P/leaf-examples/target/release/deps/libleaf-1941b6714b37cdd8.rlib --extern docopt=/home/yyc/P/leaf-examples/target/release/deps/libdocopt-eb02b06dca39e75f.rlib --extern csv=/home/yyc/P/leaf-examples/target/release/deps/libcsv-38833c6c563f720e.rlib -L native=/usr/lib/x86_64-linux-gnu -L native=/home/yyc/P/leaf-examples/target/release/build/openssl-sys-ccfba7b0e0a23a8e/out` (exit code: 101)
and the TOML, where I just disabled CUDA and OpenCL
[package] name = "leaf-examples" description = "Examples for the Machine Learning Framework 'Leaf'" version = "0.1.0" authors = ["Michael Hirn <[email protected]>", "Maximilian Goisser <[email protected]>"] [dependencies] # cuticula = "0.1.4" leaf = { version = "0.2.0", default-features = false } collenchyma = { version = "0.0.8", default-features = false } csv = "0.14" hyper = "0.6" log = "0.3" env_logger = "0.3" # CLI tooling docopt = "0.6.75" rustc-serialize = "0.3" clippy = { version = "0.0.23", optional = true } [features] default = ["native"] native = ["leaf/native", "collenchyma/native"] opencl = ["leaf/opencl", "collenchyma/opencl"] cuda = ["leaf/cuda", "collenchyma/cuda"] [profile.dev] opt-level = 0 debug = true rpath = false lto = false debug-assertions = true codegen-units = 2
$ rustc --version rustc 1.7.0 (a5d1e7a59 2016-02-29) $ cargo --version cargo 0.8.0-nightly (28a0cbb 2016-01-17)
Thanks for any hint
yy
The text was updated successfully, but these errors were encountered:
Updating Cargo.toml to use leaf 0.2.1 fixes this.
Cargo.toml
leaf = { version = "0.2.1", default-features = false }
Sorry, something went wrong.
No branches or pull requests
Hi,
I have problem compiling the examples. Here is the terminal output
and the TOML, where I just disabled CUDA and OpenCL
Thanks for any hint
yy
The text was updated successfully, but these errors were encountered: