< 返回版块

XYC-EXP 发表于 2019-07-09 22:17

Compiling voos v0.1.0 (/media/xycadmin/本地磁盘/Project/voos) warning: unused imports: layer::*, layers::*, solvers::*, util::* --> src/main.rs:4:13 | 4 | use juice::{layer::, layers::, solvers::, util::}; | ^^ | = note: #[warn(unused_imports)] on by default

warning: unused variable: model --> src/main.rs:9:9 | 9 | let model = model::build_model();
| ^^^^^ help: consider prefixing with an underscore: _model | = note: #[warn(unused_variables)] on by default

error: linking with cc failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.0.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.1.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.10.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.11.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.12.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.2.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.3.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.4.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.5.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.6.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.7.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.8.rcgu.o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.voos.92vn4zaj-cgu.9.rcgu.o" "-o" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/voos-f4e90e209df7583f.dj4ozcy384fdfgt.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps" "-L" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libjuice-64afd03e70b930bf.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libcoaster_nn-1d06ce52b164c63c.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libcoaster_blas-a41b66bed2c14dfb.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/librblas-bfeac5ba49c7d067.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libcapnp-e12e77674c336dd8.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libbyteorder-645a09eaac5177bf.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/librand-b972e44e99b24a95.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/liblog-b8a6569b2cb32929.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/liblog-f32e466f3531efd8.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libcfg_if-30234d727e1c9926.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libtimeit-8de062920c89d62b.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libtime-ec0c43e8424ded3b.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libcoaster-1a73677275b811a3.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libbyteorder-0ab8f8a09a4c9083.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libnum-d6d5f9d7ddbf0e8c.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libnum_rational-75775293f092d37d.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libnum_bigint-4b6c996d9c0b3958.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/librand-ab2ac63812f0d654.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libnum_complex-3d95dc83c79c0334.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/librustc_serialize-1617da7fad4a0249.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libnum_iter-7545f819f15e5985.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libnum_integer-7a697fc09ea8623c.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/liblazy_static-4327a7497a688cb5.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libenum_primitive-b361dc3c2ffc70dc.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libnum_traits-b1c44d769a6207cf.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libnum_traits-3ec98931948bd7b4.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/libbitflags-d4c6e9f9395ab6b7.rlib" "/media/xycadmin/\xe6\x9c\xac\xe5\x9c\xb0\xe7\xa3\x81\xe7\x9b\x98/Project/voos/target/release/deps/liblibc-edc018c43ab1a7ff.rlib" "-Wl,--start-group" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/home/xycadmin/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.rlib" "-Wl,-Bdynamic" "-lblas" "-lOpenCL" "-lOpenCL" "-lcuda" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" = note: /usr/bin/ld: 找不到 -lblas /usr/bin/ld: 找不到 -lOpenCL /usr/bin/ld: 找不到 -lOpenCL /usr/bin/ld: 找不到 -lcuda collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: Could not compile voos.

To learn more, run the command again with --verbose.

由于是一台很老的机器,就没打算用 OpenCL / CUDA 按照 Release 里面的 Readme.MD 把 Cargo.toml 里面的一些东西改成了 native 不过还是会报错

请问是机器的原因吗?如果是的话,我就换台机器......

评论区

写评论
作者 XYC-EXP 2019-07-10 18:05

还活着...... 样子有的,有些东西还缺:RNN, ADAM, ADAMW...... L0(仅供娱乐), L1 对以下内容的回复:

Ryan-Git 2019-07-10 11:29

一般 native/sys 库只是 c 库的封装,系统里要装原来的库,比如他提示里的那些。

shaitao 2019-07-10 09:40

这个库还活着么

1 共 3 条评论, 1 页