Skip to content

Unable to compile #21

@vampolo

Description

@vampolo

Hi,

I'm trying to compile the examples but i get this error with rust nightly

 Compiling openssl v0.6.7
   Compiling cookie v0.1.21
   Compiling leaf v0.2.0
error[E0428]: a macro named `impl_ops_sigmoid_for` has already been defined in this module

error[E0428]: a macro named `impl_ops_relu_for` has already been defined in this module

error[E0428]: a macro named `impl_ops_tanh_for` has already been defined in this module

error[E0428]: a macro named `impl_ops_convolution_for` has already been defined in this module

error[E0428]: a macro named `impl_ops_softmax_for` has already been defined in this module

error[E0428]: a macro named `impl_ops_log_softmax_for` has already been defined in this module

error[E0428]: a macro named `impl_ops_lrn_for` has already been defined in this module

error[E0428]: a macro named `impl_ops_pooling_for` has already been defined in this module

error: aborting due to 8 previous errors

Build failed, waiting for other jobs to finish...
error: Could not compile `leaf`.

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

With rust stable it is even worse

  leaf-examples git:(master) ✗ cargo build --release
   Compiling semver v0.1.20
   Compiling bitflags v0.3.3
   Compiling strsim v0.3.0
   Compiling winapi-build v0.1.1
   Compiling byteorder v0.3.13
   Compiling linear-map v0.0.4
   Compiling pkg-config v0.3.7
   Compiling winapi v0.2.5
error: internal compiler error: unexpected panic
error: internal compiler error: unexpected panic
error: internal compiler error: unexpected panic
error: internal compiler error: unexpected panic
error: internal compiler error: unexpected panic
error: internal compiler error: unexpected panic

Any idea of what might be ? I just got the sources and i'm trying to compile on Mac OS X Sierra.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions