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

building with cuda feature hits rblas resolve error #5

Open
barzamin opened this issue Mar 31, 2018 · 4 comments
Open

building with cuda feature hits rblas resolve error #5

barzamin opened this issue Mar 31, 2018 · 4 comments

Comments

@barzamin
Copy link

When building juice-examples with cargo build --no-default-features --features cuda, I get an error

error[E0433]: failed to resolve. Maybe a missing `extern crate rblas;`?
  --> /home/erin/.cargo/git/checkouts/coaster-blas-c027954122df0449/2a8f63c/src/transpose.rs:20:33
   |
20 |     pub fn to_rblas(&self) -> ::rblas::attribute::Transpose {
   |                                 ^^^^^ Maybe a missing `extern crate rblas;`?
// etc ... //

I traced this back to the native feature being disabled when I pass these options - and thus this line being compiled out - but this function still trying to reference ::rblas.

@drahnr
Copy link
Member

drahnr commented Mar 31, 2018

Nice catch, that should be a conditional to native.

Keep in mind that it is pretty uncommon to compile without native feature flag.

@barzamin
Copy link
Author

barzamin commented Apr 1, 2018

Juice's README recommends building with --no-default-features --features cuda, so I'd expect that to work and not do this :)

@drahnr
Copy link
Member

drahnr commented Apr 1, 2018

True, tbh the README needs some additional attention. Both are supposedly easy fixes and I will fix them within the next few days.
Thanks again for reporting!

drahnr added a commit that referenced this issue Apr 6, 2018
@drahnr
Copy link
Member

drahnr commented Apr 6, 2018

Well it seems that issue were not as simple as expected, there were a couple of mistakes introduced which prevented FlatBox from even existing since the whole native mod was unused, which just pops up after solving your mentioned issue. They should be all resolved by now.
Please try again with the latest git, I have yet to publish releases.

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

2 participants