New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BDimensions module should be renamed to bdimensions #4

Closed
bluddy opened this Issue Dec 27, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@bluddy
Copy link

bluddy commented Dec 27, 2018

Currently there's a compilation error due to many files having the wrong name for the module.

@senorsmile

This comment has been minimized.

Copy link

senorsmile commented Dec 27, 2018

I have the same compilation error.
I'm on ubuntu 16.04 and have installed libsdl2-dev.

cargo run
   Compiling rusttetris v0.1.0 (file:///home/shaun/Seafile/scripts/rust/RustTetris)
error[E0583]: file not found for module `BDimentions`
  --> src/lib.rs:24:9
   |
24 | pub mod BDimentions;
   |         ^^^^^^^^^^^
   |
   = help: name the file either BDimentions.rs or BDimentions/mod.rs inside the directory "src"

error: aborting due to previous error

error: Could not compile `rusttetris`.
@camccar

This comment has been minimized.

Copy link
Owner

camccar commented Dec 27, 2018

Thank you for pointing this out. I have fixed this issue by renaming the file to work in case sensitive systems. And have already pushed it to master. I had made that file in windows and didn't test it in linux.

@camccar camccar closed this Dec 27, 2018

@senorsmile

This comment has been minimized.

Copy link

senorsmile commented Dec 27, 2018

confirmed working now (albeit with unused var warnings).

@camccar

This comment has been minimized.

Copy link
Owner

camccar commented Dec 28, 2018

I have fixed the compiler warnings as part of issue 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment