bfops / playform

Voxel sandbox project in Rust
http://playformdev.blogspot.ca/
MIT License
212 stars 24 forks source link

Package `collision v0.10.0` does not have these features: `eders` #191

Open ghost opened 7 years ago

ghost commented 7 years ago

1)

Upon trying to cargo build latest master branch I get:

Package collision v0.10.0 does not have these features: eders

2) Out of curiousity I removed that feature-demand and got:

error[E0107]: wrong number of lifetime parameters: expected 0, found 1
  --> common/entity.rs:17:81
   |
17 |   #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
   |                                                                                 ^^^^^^^^^^^ unexpected lifetime parameter
bfops commented 7 years ago

Out of curiosity, does it work if you cargo update?

ghost commented 7 years ago

My bad, sorry!

Anyway, that leads to:

Compiling playform v0.0.0 (file:///home/unmoving/playform) error: linking with cc failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/unmoving/playform/target/debug/deps/playform-fec9eea53d57d016.0.o" "-o" "/home/unmoving/playform/target/debug/deps/playform-fec9eea53d57d016" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/home/unmoving/playform/target/debug/deps" "-L" "/usr/lib" "-L" "/usr/local/lib" "-L" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/unmoving/playform/target/debug/deps/libserver_lib-dd1f833dbb57c9b2.rlib" "/home/unmoving/playform/target/debug/deps/libterrain-f808f1b7d5e44869.rlib" "/home/unmoving/playform/target/debug/deps/libclient_lib-793b98f2dc37b22b.rlib" "/home/unmoving/playform/target/debug/deps/libyaglw-45166a8686adb9ad.rlib" "/home/unmoving/playform/target/debug/deps/libportaudio-6134c8db0abcb6f4.rlib" "/home/unmoving/playform/target/debug/deps/libhound-0a1e436c9f774944.rlib" "/home/unmoving/playform/target/debug/deps/libgl-16a8e5d1186eb3de.rlib" "/home/unmoving/playform/target/debug/deps/libbincode-25ee7d0a1257d9e0.rlib" "/home/unmoving/playform/target/debug/deps/libnoise-1be0f5042e09d8be.rlib" "/home/unmoving/playform/target/debug/deps/libthread_scoped-a938f414f9d8b0df.rlib" "/home/unmoving/playform/target/debug/deps/libcommon-7b526fb4a5c6c572.rlib" "/home/unmoving/playform/target/debug/deps/libstopwatch-7a5cf8bca4f235e0.rlib" "/home/unmoving/playform/target/debug/deps/libx86-4f90c5b3b4a4f208.rlib" "/home/unmoving/playform/target/debug/deps/libtime-162277ce7a864579.rlib" "/home/unmoving/playform/target/debug/deps/libisosurface_extraction-0a6e7de80ecaf851.rlib" "/home/unmoving/playform/target/debug/deps/libvoxel_data-a67781ed41a2e6a4.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-163c20e386ec0612.rlib" "/home/unmoving/playform/target/debug/deps/libfnv-fc1d5751a8057da0.rlib" "/home/unmoving/playform/target/debug/deps/libcollision-5dfedf649483cb09.rlib" "/home/unmoving/playform/target/debug/deps/libcgmath-be3a0a8153e52e25.rlib" "/home/unmoving/playform/target/debug/deps/libserde-78efb8229e554e58.rlib" "/home/unmoving/playform/target/debug/deps/libapprox-d684018f72847872.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-4959b4e709084e0a.rlib" "/home/unmoving/playform/target/debug/deps/libphf-2115473071723eb3.rlib" "/home/unmoving/playform/target/debug/deps/libphf_shared-470736a3c26f44dd.rlib" "/home/unmoving/playform/target/debug/deps/libsiphasher-fcc17fc39d17c264.rlib" "/home/unmoving/playform/target/debug/deps/libsdl2-3180c0c5d43c6ab6.rlib" "/home/unmoving/playform/target/debug/deps/libsdl2_sys-5940540943be13e7.rlib" "/home/unmoving/playform/target/debug/deps/liblazy_static-18005fa1be5dd889.rlib" "/home/unmoving/playform/target/debug/deps/liblru_cache-0d555aabc17b7664.rlib" "/home/unmoving/playform/target/debug/deps/liblinked_hash_map-de1a7f979c099c7e.rlib" "/home/unmoving/playform/target/debug/deps/libenv_logger-337736c567827560.rlib" "/home/unmoving/playform/target/debug/deps/libregex-f57600d45f59abf1.rlib" "/home/unmoving/playform/target/debug/deps/libutf8_ranges-b81dc320c0a952bb.rlib" "/home/unmoving/playform/target/debug/deps/libregex_syntax-0240ebb185fe3635.rlib" "/home/unmoving/playform/target/debug/deps/libaho_corasick-ee2f3809623d70dc.rlib" "/home/unmoving/playform/target/debug/deps/libmemchr-69681615927cea24.rlib" "/home/unmoving/playform/target/debug/deps/liblog-4cfe391024f1467d.rlib" "/home/unmoving/playform/target/debug/deps/libthread_local-273e90e65080c55f.rlib" "/home/unmoving/playform/target/debug/deps/libunreachable-9bd306f72d3bd51e.rlib" "/home/unmoving/playform/target/debug/deps/libvoid-6c52c4ddaea6e3db.rlib" "/home/unmoving/playform/target/debug/deps/libthread_id-9aba8731d7b3c119.rlib" "/home/unmoving/playform/target/debug/deps/libnanomsg-2da65779c488c90b.rlib" "/home/unmoving/playform/target/debug/deps/libnanomsg_sys-bc3451969f7969bb.rlib" "/home/unmoving/playform/target/debug/deps/libnum-4a2202e45a4195ff.rlib" "/home/unmoving/playform/target/debug/deps/libnum_complex-40fc9d7ce569945a.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-bd312ea730ea22d0.rlib" "/home/unmoving/playform/target/debug/deps/libraw_cpuid-0decfce658e63140.rlib" "/home/unmoving/playform/target/debug/deps/libimage-b6a4b4e4cd1dac1f.rlib" "/home/unmoving/playform/target/debug/deps/libpng-891680363f77ff6c.rlib" "/home/unmoving/playform/target/debug/deps/libdeflate-578312a783bb456b.rlib" "/home/unmoving/playform/target/debug/deps/libadler32-da24312c6fed21c0.rlib" "/home/unmoving/playform/target/debug/deps/libinflate-75ba5b25e228cdc5.rlib" "/home/unmoving/playform/target/debug/deps/libbitflags-b857f06d8702b68e.rlib" "/home/unmoving/playform/target/debug/deps/libenum_primitive-426259b3f2e82106.rlib" "/home/unmoving/playform/target/debug/deps/libnum_rational-5275aac3f77facea.rlib" "/home/unmoving/playform/target/debug/deps/libnum_bigint-165aee4f4a328982.rlib" "/home/unmoving/playform/target/debug/deps/librand-76456d761c2cb637.rlib" "/home/unmoving/playform/target/debug/deps/liblibc-496b028781a2b35b.rlib" "/home/unmoving/playform/target/debug/deps/librustc_serialize-d05828e9f8a2cc23.rlib" "/home/unmoving/playform/target/debug/deps/libnum_iter-b399bbd189e5f67b.rlib" "/home/unmoving/playform/target/debug/deps/libnum_integer-dad7e7932a5f6c81.rlib" "/home/unmoving/playform/target/debug/deps/libnum_traits-a8c1b7cdefa880e5.rlib" "/home/unmoving/playform/target/debug/deps/libbyteorder-190c8b8b4cb7f472.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-35ad9950c7e5074b.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fb44afc024bbc636.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-14b8f3202acdad6a.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-20a50a22d4c2b1e9.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-b479831207997444.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-10b591f1a68dd370.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-06d737faf6076d7c.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-6ecacccb5bdc4911.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-f4f0ae88f5ad8ad4.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bfaa82017ca17cb2.rlib" "/home/unmoving/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-863b57a66ba6c3e1.rlib" "-Wl,-Bdynamic" "-l" "portaudio" "-l" "asound" "-l" "m" "-l" "pthread" "-l" "SDL2" "-l" "nanomsg" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" = note: /usr/bin/ld: cannot find -lnanomsg collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: Could not compile playform.

sighs

bfops commented 7 years ago

Really I should've updated the required version to be collision >= 0.10.1.

It looks like you don't have libnanomsg installed? Maybe I can make it easier to install all the dependencies..

ghost commented 7 years ago

That would be awesome! There is soooooooo much to learn for me here :)

bfops commented 7 years ago

Ah it looks like nanomsg is kind of required. Dependency installation is also pretty platform-specific so I don't think this repo is the right place for it.