sebcrozet/kiss3d

Conflicting implementations of trait

christian-vorhemus opened this issue · 2 comments

I tried to build the simple sample from the kiss3d front page http://kiss3d.org/

My Cargo.toml looks like this

[package]
name = "main"
version = "0.1.0"
authors = ["Christian"]
edition = "2018"

[dependencies]
kiss3d = "0.8"

When I run cargo build, I get the error

error[E0119]: conflicting implementations of trait `std::ops::Mul<&_>` for type `geometry::translation::TranslationBase<_, _, _>`:
   --> C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\nalgebra-0.11.2\src\geometry\isometry_ops.rs:68:9
    |
68  | /         impl<$($lives ,)* N, D: DimName, S, R> $Op<$Rhs> for $Lhs
69  | |             where N: Real,
70  | |                   S: OwnedStorage<N, D, U1>,
71  | |                   R: Rotation<PointBase<N, D, S>>,
...   |
78  | |             }
79  | |         }
    | |         ^
    | |         |
    | |_________first implementation here
    |           conflicting implementation for `geometry::translation::TranslationBase<_, _, _>`

Does someone know how this can be fixed?

You need to update your project to use a more up-to-date version of Kiss3d. Version 0.8 is ancient. The current latest version is 0.24.1.

Indeed, upgrading to 0.24.1 helped, thanks!