Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Compilation error: Cols does not name a structure #78

Open
gyscos opened this issue Sep 12, 2015 · 0 comments
Open

Compilation error: Cols does not name a structure #78

gyscos opened this issue Sep 12, 2015 · 0 comments

Comments

@gyscos
Copy link

gyscos commented Sep 12, 2015

Using rust nightly, when running cargo build on current master branch, I get:

src/cols.rs:8:9: 8:13 error: `Cols` does not name a structure [E0071]
src/cols.rs:8         Cols {
                      ^~~~
src/cols.rs:8:9: 8:13 help: run `rustc --explain E0071` to see a detailed explanation
src/rows.rs:8:9: 8:13 error: `Rows` does not name a structure [E0071]
src/rows.rs:8         Rows {
                      ^~~~
src/rows.rs:8:9: 8:13 help: run `rustc --explain E0071` to see a detailed explanation

On rust stable it also doesn't compile, as approx.rs uses #![feature(plugin)].

Concerning the ng branch, it also doesn't compile on rust nightly:

src/nn/network.rs:200:15: 200:16 error: expected `]`, found `,`
src/nn/network.rs:200         a_2[.., 1..] = a_1 * theta_1.t();
                                    ^
Could not compile `linalg`.

So... what's the current solution? Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant