GithubHelp home page GithubHelp logo

pistondevelopers / hematite Goto Github PK

View Code? Open in Web Editor NEW
1.8K 84.0 106.0 1.83 MB

A simple Minecraft written in Rust with the Piston game engine

Home Page: http://hematite.piston.rs/

License: MIT License

Rust 99.04% Java 0.96%
rust piston-game-engine minecraft

hematite's Introduction

hematite Build Status

A simple Minecraft written in Rust with the Piston game engine

screenshot

How To Open a World

This method is only for personal use. Never distribute copyrighted content from Minecraft.

  • In the Minecraft Launcher, click the button “New Profile”

  • In the drop down "use version", select 1.8.8

  • Click “Save Profile”

  • Click “Play” (this will download the snapshot)

  • Quit Minecraft

  • Copy your world save to to the hematite directory (It may corrupt your world)

  • Save Locations:

    • Windows: %appdata%\.minecraft\saves\
    • OSX: ~/Library/Application Support/minecraft/saves/
    • Linux/Other: ~/.minecraft/saves/
  • Run hematite with: cargo run --release -- -p "./<WORLD_NAME>"

Dependencies

dependencies

How to contribute

hematite's People

Contributors

aerialx avatar bvssvni avatar carlosmn avatar dependabot[bot] avatar drhaynes avatar eddyb avatar emberian avatar fenhl avatar homeworkprod avatar indiv0 avatar kvark avatar leonkunert avatar leroycep avatar limeburst avatar lucidd avatar mattico avatar mitsuhiko avatar mkcp avatar potpourri avatar richardll avatar saml avatar serprex avatar steveklabnik avatar stjahns avatar teresy avatar toqueteos avatar tudbut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hematite's Issues

How to open up Minecraft world in Hematite

This method is only for personal use. Never distribute copyrighted content from Minecraft.

<version> = 1.8-pre2

OSX

Minecraft stores data in the folder /Users/<username>/Library/Application Support/minecraft

  • In the Minecraft Launcher, click the button "New Profile"
  • Type in a profile name, for example "experimental"
  • Check "Enable experimental development versions"
  • A message warns you about keeping backups of your worlds. Click "Yes" (remember to do backups)
  • In the drop down "use version", select <version>
  • Click "Save Profile"
  • Click "Play" (this will download the snapshot)
  • Quit Minecraft
  • Copy versions/<version>/<version>.jar to the assets folder in Hematite
  • Rename the file extension to .zip
  • Extract the jar
  • Copy the minecraft folder from the new extracted folder and put it in the Hematite assets folder
  • Run ./target/hematite "/Users/<username>/Library/Application Support/minecraft/saves/<world>"

Add cube

Can render a cube using 6 quads.

Build failure through sdl2

When I pull hematite and run cargo build, I get this:

Could not compile `sdl2`.

--- stderr
src/sdl2/audio.rs:264:100: 264:109 error: wrong number of lifetime parameters: expected 1 but found 0 [E0107]
src/sdl2/audio.rs:264     pub fn open(device: Option<&str>, iscapture: int, spec: &AudioSpec) -> SdlResult<(AudioDevice, AudioSpec)> {
                                                                                                                         ^~~~~~~~~
error: aborting due to previous error

Hematite fails to access AssetStore in `cargo run`

When building and running with cargo run, it fails with:

task '<main>' failed at 'called `Result::unwrap()` on an `Err` value: Could not load 'minecraft-texture.png': IoError', /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/libcore/result.rs:548

Adding println!("{}", texture.to_c_str()); to the main function reveals it's trying to access /Users/alex/GitHub/hematite/target/assets/minecraft-texture.png, which naturally doesn't exist.

This happens because cargo runs the executable in /target, and although AssetStore expects the assets folder to be in the executable's directory, it's never copied from /bin/assets.

Add maintainers to README

In the other projects we mention the maintainers in the README.

Add @eddyb , @bvssvni as maintainers?

Also, if somebody wants to step in as second maintainer, so I can be reserve, it would be great.

Add a camera

Add a camera with vectors:

  • Position
  • Target
  • Right
  • Up

Improve FPSController

From #60 (comment)

enum ControlKey {
    MoveForward,
    MoveBack,
    StrafeLeft,
    StrafeRight,
    FlyUp,
    FlyDown,
    Sprint
}
enum ControlAxis {
    Yaw,
    Pitch
}
impl FirstPersonCameraController {
    fn update(&mut self, dt: f64) {...}
    fn key_{press, release}(&mut self, key: ControlKey) {...}
    fn relative_move(&mut self, axis: ControlAxis, value: f64) {...}
}

Can't build on OSX

$ cargo build
Updating git repository https://github.com/bjz/gl-rs.git
Updating git repository https://github.com/bjz/noise-rs
Updating git repository https://github.com/netvl/rust-xml
Updating git repository https://github.com/pistondevelopers/cam
Updating git repository https://github.com/AngryLawyer/rust-sdl2
Updating git repository https://github.com/PistonDevelopers/vecmath
Updating git repository https://github.com/PistonDevelopers/piston
Updating git repository https://github.com/gfx-rs/gfx-rs
Updating git repository https://github.com/PistonDevelopers/input
Updating git repository https://github.com/PistonDevelopers/sdl2_game_window
Updating git repository https://github.com/csherratt/genmesh.git
Updating git repository https://github.com/pistondevelopers/shader_version
Updating git repository https://github.com/PistonDevelopers/rust-image
Updating git repository https://github.com/pistondevelopers/rust-graphics
Updating git repository https://github.com/bjz/cgmath-rs
Compiling khronos_api v0.0.1 (https://github.com/bjz/gl-rs.git#8bf7197a)
Compiling gfx_macros v0.1.0 (https://github.com/gfx-rs/gfx-rs#13e1a873)
Compiling image v0.0.0 (https://github.com/PistonDevelopers/rust-image#1a0a55bd)
Compiling genmesh v0.1.0 (https://github.com/csherratt/genmesh.git#71d1764a)
Compiling vecmath v0.0.0 (https://github.com/PistonDevelopers/vecmath#37d8deca)
Compiling cgmath v0.0.1 (https://github.com/bjz/cgmath-rs#e54265cb)
Compiling input v0.0.0 (https://github.com/PistonDevelopers/input#03ebe415)
Compiling noise-rs v0.0.1 (https://github.com/bjz/noise-rs#bea23a5d)
Compiling sdl2 v0.0.1 (https://github.com/AngryLawyer/rust-sdl2#5fb73d7b)
Compiling rust-xml v0.1.0 (https://github.com/netvl/rust-xml#3a3f37e7)
Compiling shader_version v0.0.0 (https://github.com/pistondevelopers/shader_version#dfa7eea9)
Compiling graphics v0.0.0 (https://github.com/pistondevelopers/rust-graphics#54843336)
Compiling cam v0.0.0 (https://github.com/pistondevelopers/cam#1a5d3aba)
Compiling gl_generator v0.0.1 (https://github.com/bjz/gl-rs.git#8bf7197a)
Build failed, waiting for other jobs to finish...
Could not compile image.

--- stderr
src/png/decoder.rs:101:9: 104:10 error: match arms have incompatible types: expected &[(u8,u8,u8)], found &'static [<generic #42>, .. 0] (expected vector, found vector)
src/png/decoder.rs:101 match self.palette {
src/png/decoder.rs:102 Some(ref p) => p.as_slice(),
src/png/decoder.rs:103 None => &[]
src/png/decoder.rs:104 }
src/png/decoder.rs:103:28: 103:31 note: match arm with an incompatible type
src/png/decoder.rs:103 None => &[]
^~~
error: aborting due to previous error

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

Update README

  • Remove notice about eddyb branch
  • Add link to how to open a Minecraft world #63

Unresolved imports from sdl2_game_window and piston

Building hematite yields unresolved imports, like :

cargo build --release
   Compiling cgmath v0.0.1 (https://github.com/bjz/cgmath-rs#9ade4ce9)
   Compiling noise-rs v0.0.1 (https://github.com/bjz/noise-rs#106531ad)
   Compiling input v0.0.0 (https://github.com/PistonDevelopers/input#e889c04f)
   Compiling gfx_macros v0.1.0 (https://github.com/gfx-rs/gfx-rs#5b6df3ca)
   Compiling rust-xml v0.1.0 (https://github.com/netvl/rust-xml#418a3776)
   Compiling vecmath v0.0.0 (https://github.com/PistonDevelopers/vecmath#ce132037)
   Compiling genmesh v0.1.0 (https://github.com/csherratt/genmesh.git#8fc06420)
   Compiling khronos_api v0.0.1 (https://github.com/bjz/gl-rs.git#accdd51d)
   Compiling sdl2 v0.0.1 (https://github.com/AngryLawyer/rust-sdl2#6c2daf54)
   Compiling image v0.0.0 (https://github.com/PistonDevelopers/rust-image#fb384729)
   Compiling shader_version v0.0.0 (https://github.com/pistondevelopers/shader_version#93b7b560)
   Compiling graphics v0.0.0 (https://github.com/pistondevelopers/rust-graphics#d2c6b470)
   Compiling cam v0.0.0 (https://github.com/pistondevelopers/cam#660d4f1f)
   Compiling gl_generator v0.0.1 (https://github.com/bjz/gl-rs.git#accdd51d)
   Compiling piston v0.0.0 (https://github.com/PistonDevelopers/piston#d7f0cd4f)
   Compiling gfx_gl v0.1.0 (https://github.com/gfx-rs/gfx_gl.git#52bb510e)
   Compiling gl v0.0.1 (https://github.com/bjz/gl-rs.git#accdd51d)
   Compiling device v0.1.0 (https://github.com/gfx-rs/gfx-rs#5b6df3ca)
   Compiling render v0.1.0 (https://github.com/gfx-rs/gfx-rs#5b6df3ca)
   Compiling gfx v0.1.0 (https://github.com/gfx-rs/gfx-rs#5b6df3ca)
   Compiling sdl2_game_window v0.0.0 (https://github.com/PistonDevelopers/sdl2_game_window#262bce92)
   Compiling hematite v0.0.0 (file:///Users/alex/GitHub/hematite)
src/main.rs:22:5: 22:47 error: unresolved import `sdl2_game_window::GameWindowSDL2`. There is no `GameWindowSDL2` in `sdl2_game_window`
src/main.rs:22 use sdl2_game_window::GameWindowSDL2 as Window;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:28:5: 28:17 error: unresolved import `piston::GameIterator`. There is no `GameIterator` in `piston`
src/main.rs:28     GameIterator,
                   ^~~~~~~~~~~~
src/main.rs:29:5: 29:25 error: unresolved import `piston::GameIteratorSettings`. There is no `GameIteratorSettings` in `piston`
src/main.rs:29     GameIteratorSettings,
                   ^~~~~~~~~~~~~~~~~~~~
src/main.rs:30:5: 30:15 error: unresolved import `piston::GameWindow`. There is no `GameWindow` in `piston`
src/main.rs:30     GameWindow,
                   ^~~~~~~~~~
src/main.rs:31:5: 31:23 error: unresolved import `piston::GameWindowSettings`. There is no `GameWindowSettings` in `piston`
src/main.rs:31     GameWindowSettings,
                   ^~~~~~~~~~~~~~~~~~
error: aborting due to 5 previous errors
Could not compile `hematite`.

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

While there is no sdl2_game_window::GameWindowSDL2, there is a sdl2_game_window::WindowSDL2. Similarly there's an EventIterator, EventSettings, Window, and WindowSettings in piston.

Add `CameraSettings`

Should contain following members:

  • Field of view
  • Near clip
  • Far clip
  • Aspect ratio

Can't build on OSX

Tried to run build.sh on the latest OSX with rust 0.12 and got the following error:

$ ./build.sh
--- Building /Users/ruipacheco/Projects/Assorted/hematite
--- Deleted binaries and documentation
src/main.rs:12:14: 12:47 error: obsolete syntax: `use foo = bar` syntax
src/main.rs:12 use Window = sdl2_game_window::GameWindowSDL2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: write `use bar as foo` instead
error: aborting due to previous error
make: *** [bin/main] Error 101

Runtime failure while compiling shaders

task '<main>' failed at 'called `Result::unwrap()` on an `Err` value: 0(2) : error C0129: invalid char 'c' in integer constant suffix
0(2) : error C0129: invalid char 'o' in integer constant suffix
0(2) : error C0129: invalid char 'r' in integer constant suffix
0(2) : error C0129: invalid char 'e' in integer constant suffix', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libcore/result.rs:548
stack backtrace:
   1:           0x517af0 - rt::backtrace::imp::write::h94ffa33ebaa07d0egcq
   2:           0x51a9a0 - failure::on_fail::h8945d60c77c60ae5rxq
   3:           0x527d80 - unwind::begin_unwind_inner::h540269358ac60d03B8d
   4:           0x527a70 - unwind::begin_unwind_fmt::ha930e6ae9ec4c1a865d
   5:           0x527a30 - rust_begin_unwind
   6:           0x5581f0 - failure::begin_unwind::hf587fcecea11b566PZj
   7:           0x403cc0 - result::Result<T, E>::unwrap::h7051226064419244010
   8:           0x403860 - shader::Shader::new::h91a72828a0251fa0eba
   9:           0x40ad80 - main::h5ec8ef69f8033641vUa
  10:           0x50c9a0 - start::closure.8363
  11:           0x528a60 - rust_try
  12:           0x5260e0 - unwind::try::h0cd212b03c1690f70Wd
  13:           0x525e90 - task::Task::run::h096451e520f17c6bC4c
  14:           0x50c670 - start::hb0ec9c738615c03fOpe
  15:           0x50c5e0 - lang_start::hd1d9aea12768e9398oe
  16:           0x40cbb0 - main
  17:     0x7fc166f97dd0 - __libc_start_main
  18:           0x40376d - <unknown>
  19:                0x0 - <unknown>

Refactor input events

The input logic currently takes a big part of the game loop, which could be moved into its own function.

Chunk culling for more performance.

While there is a clever algorithm (that Minecraft vanilla has recently started using), it's also possible to handle "trivial rejects" by projecting the corners of each chunk and skipping those that have all corners outside of the screen.

Release build not working

Reported by @alexchandel

Upgraded, this now:

Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/llvm/include/llvm/Support/Casting.h, line 237.
Could not compile `hematite`.

Ambient occlusion for Minecraft worlds

http://0fps.net/2013/07/03/ambient-occlusion-for-minecraft-like-worlds/

Screen space occlusion

  • Easy to implement in an existing rendering pipeline, for example deferred rendering
  • Problems with "dark halos" from approximating geometry using the depth buffer)

Voxel occlusion

  • Precompute the ambient occlusion per vertex using adjacent vertices
  • Leads to artifacts if there are inconsistent quad orientations

There is a comment from the author of the first AO algorithm in Minecraft.

http://www.cmlab.csie.ntu.edu.tw/~fielia/research/ao-gpu/FINAL-paper121.pdf

  • Paper "“Hardware accelerated ambient occlusion techniques on GPUs“

Could not create GL context

I see some window popping up and then this:

$ RUST_BACKTRACE=1 target/hematite
task '<main>' failed at 'called `Result::unwrap()` on an `Err` value: Could not create GL context', /home/hein/git/rust/src/libcore/result.rs:548
stack backtrace:
   1:     0x7f4227c65600 - rt::backtrace::imp::write::ha5741c99a8bf89aac0q
   2:     0x7f4227c685f0 - failure::on_fail::ha24bf85f61276aacTlr
   3:     0x7f4227c77680 - unwind::begin_unwind_inner::hcac92b80930febc7Zie
   4:     0x7f4227c77320 - unwind::begin_unwind_fmt::h685d54d67018f9f0pge
   5:     0x7f4227c772e0 - rust_begin_unwind
   6:     0x7f4227cb0ad0 - failure::begin_unwind::hbff25d17d19514a30zk
   7:     0x7f4227b04c00 - result::Result<T, E>::unwrap::h1594449132233806452
   8:     0x7f4227b03810 - game_window_sdl2::GameWindowSDL2::new::hf466d7e53b75c217Vaa
   9:     0x7f4227ab0c20 - main::hc80b05e7b6d0bd47WVa
  10:     0x7f4227b03330 - start::closure.8430
  11:     0x7f4227c783d0 - rust_try_inner
  12:     0x7f4227c783c0 - rust_try
  13:     0x7f4227c75910 - unwind::try::ha7ef56221a0a5b20f7d
  14:     0x7f4227c756e0 - task::Task::run::hc765b088c9b55208zdd
  15:     0x7f4227b03060 - start::h7e294b24bf1b11abooe
  16:     0x7f4227b02fd0 - lang_start::h28dd943ca901efb4Hne
  17:     0x7f4227ab2690 - main
  18:     0x7f4226994f10 - __libc_start_main
  19:     0x7f4227aa4a18 - <unknown>
  20:                0x0 - <unknown>

Build failed for rust-image previously due to a breaking change in the Rust compiler which made &[] invalid as a slice, cargo update image fixed that.

Arch Linux. i3 (a tiling window manager, might be relevant, windows can't just get any size they want). Nvidia graphics card.

Add vecmath.rs

Should store common operations on matrices and vectors.

Move the type aliases to vecmath.rs

Full test of camera motion

I created a map of (update on rendering, extrapolate time) as states of bits with arrows pointing to the smoothest motion (as edges on a square). Did not test (1, 1) because that does not make sense. When I could not notice a difference, I used a line with no arrow between the states. Tested 9 combinations of FPS (30, 60 and 10000) and UPS (30, 120, 10000).

The map looks like a 3x3 grid, one cell per (fps, ups). Each cell contains a diagram with 4 states, 2 bit for (update on render, extrapolate time). |----------| between two states signifies a not-test because of invalid state, -----------> means improvement, ----------- can't notice the difference.

The conclusions are:

Cube

  • The only combinations I noticed an improvement is (60 fps, 30 ups) and (10000 fps, 30 ups). In all other cases, it does not matter whether I do update on rendering or fixed time step with or without extrapolated time. In these 2 cases I noticed an improvement by turning on either update on rendering or extrapolated time. Extrapolated time jumps a bit when releasing a key. This is expected and an indication that extrapolated time works in Piston as it should.
  • 30 fps per second looks worse than 60 fps no matter setting or combination.
  • 10000 fps per second looks worse than 60 fps no matter setting or combination.
  • When I am running at 60 fps with 120 ups or higher, I don't notice a difference between the settings. It looks smooth either way.

[Windows] Error running 'cargo build' 'Could not execute process `./.build.sh` (status=never executed)'

$ cargo build --verbose
unused manifest key: package.readme
     Running `rustc src\cgmath.rs --crate-name cgmath --crate-type lib -C metada
ta=cgmath:-:0.0.1:-:https://github.com/bjz/cgmath-rs -C extra-filename=-ac670848
21a436cb --out-dir C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\U
sers\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\Austin\Documents\G
itHub\hematite\target\deps`
     Running `rustc src\lib.rs --crate-name graphics --crate-type lib -C metadat
a=graphics:-:0.0.0:-:https://github.com/PistonDevelopers/rust-graphics -C extra-
filename=-7b808b657689b6af --out-dir C:\Users\Austin\Documents\GitHub\hematite\t
arget\deps -L C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\
Austin\Documents\GitHub\hematite\target\deps`
     Running `rustc src\lib.rs --crate-name piston --crate-type lib -C metadata=
piston:-:0.0.0:-:https://github.com/PistonDevelopers/piston -C extra-filename=-7
cb692f59f1a0ab3 --out-dir C:\Users\Austin\Documents\GitHub\hematite\target\deps
-L C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\Austin\Docu
ments\GitHub\hematite\target\deps`
     Running `rustc src\lib.rs --crate-name hgl --crate-type lib -C metadata=hgl
:-:0.0.1:-:https://github.com/cmr/hgl-rs -C extra-filename=-7f8dec5c88ac00ca --o
ut-dir C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\Austin\
Documents\GitHub\hematite\target\deps -L C:\Users\Austin\Documents\GitHub\hemati
te\target\deps -L C:\Users\Austin\Documents\GitHub\hematite\target\native\gl-997
f3c54123f3d2b --extern gl=C:\Users\Austin\Documents\GitHub\hematite\target\deps/
libgl-997f3c54123f3d2b.rlib`
     Running `rustc src\lib.rs --crate-name opengl_graphics --crate-type lib -C
metadata=opengl_graphics:-:0.0.0:-:https://github.com/PistonDevelopers/opengl_gr
aphics -C extra-filename=-db38aa9b76bfe719 --out-dir C:\Users\Austin\Documents\G
itHub\hematite\target\deps -L C:\Users\Austin\Documents\GitHub\hematite\target\d
eps -L C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\Austin\
Documents\GitHub\hematite\target\native\gl-997f3c54123f3d2b --extern image=C:\Us
ers\Austin\Documents\GitHub\hematite\target\deps/libimage-62ed1a73cdd4b642.rlib
--extern graphics=C:\Users\Austin\Documents\GitHub\hematite\target\deps/libgraph
ics-7b808b657689b6af.rlib --extern gl=C:\Users\Austin\Documents\GitHub\hematite\
target\deps/libgl-997f3c54123f3d2b.rlib`
     Running `rustc src\lib.rs --crate-name sdl2_game_window --crate-type lib -C
 metadata=sdl2_game_window:-:0.0.0:-:https://github.com/PistonDevelopers/sdl2_ga
me_window -C extra-filename=-287e07019b4aa224 --out-dir C:\Users\Austin\Document
s\GitHub\hematite\target\deps -L C:\Users\Austin\Documents\GitHub\hematite\targe
t\deps -L C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\Aust
in\Documents\GitHub\hematite\target\native\gl-997f3c54123f3d2b -L C:\Users\Austi
n\Documents\GitHub\hematite\target\native\sdl2-6f5f4287ad05ae0e --extern gl=C:\U
sers\Austin\Documents\GitHub\hematite\target\deps/libgl-997f3c54123f3d2b.rlib --
extern sdl2=C:\Users\Austin\Documents\GitHub\hematite\target\deps/libsdl2-6f5f42
87ad05ae0e.rlib --extern piston=C:\Users\Austin\Documents\GitHub\hematite\target
\deps/libpiston-7cb692f59f1a0ab3.rlib`
     Running `rustc src\gl.rs --crate-name gl --crate-type lib -C metadata=gl:-:
0.0.1:-:https://github.com/bjz/gl-rs -C extra-filename=-997f3c54123f3d2b --out-d
ir C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\Austin\Docu
ments\GitHub\hematite\target\deps -L C:\Users\Austin\Documents\GitHub\hematite\t
arget\deps -L C:\Users\Austin\Documents\GitHub\hematite\target\native\gl-997f3c5
4123f3d2b`
     Running `rustc src\lib.rs --crate-name image --crate-type lib -C metadata=i
mage:-:0.0.0:-:https://github.com/PistonDevelopers/rust-image -C extra-filename=
-62ed1a73cdd4b642 --out-dir C:\Users\Austin\Documents\GitHub\hematite\target\dep
s -L C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\Austin\Do
cuments\GitHub\hematite\target\deps`
     Running `rustc src\sdl2\lib.rs --crate-name sdl2 --crate-type lib -C metada
ta=sdl2:-:0.0.1:-:https://github.com/AngryLawyer/rust-sdl2 -C extra-filename=-6f
5f4287ad05ae0e --out-dir C:\Users\Austin\Documents\GitHub\hematite\target\deps -
L C:\Users\Austin\Documents\GitHub\hematite\target\deps -L C:\Users\Austin\Docum
ents\GitHub\hematite\target\deps -L C:\Users\Austin\Documents\GitHub\hematite\ta
rget\native\sdl2-6f5f4287ad05ae0e`
     Running `rustc src\main.rs --crate-name hematite --crate-type bin --out-dir
 C:\Users\Austin\Documents\GitHub\hematite\target -L C:\Users\Austin\Documents\G
itHub\hematite\target -L C:\Users\Austin\Documents\GitHub\hematite\target\deps -
L C:\Users\Austin\Documents\GitHub\hematite\target\native\gl-997f3c54123f3d2b -L
 C:\Users\Austin\Documents\GitHub\hematite\target\native\sdl2-6f5f4287ad05ae0e -
-extern hgl=C:\Users\Austin\Documents\GitHub\hematite\target\deps/libhgl-7f8dec5
c88ac00ca.rlib --extern opengl_graphics=C:\Users\Austin\Documents\GitHub\hematit
e\target\deps/libopengl_graphics-db38aa9b76bfe719.rlib --extern cgmath=C:\Users\
Austin\Documents\GitHub\hematite\target\deps/libcgmath-ac67084821a436cb.rlib --e
xtern gl=C:\Users\Austin\Documents\GitHub\hematite\target\deps/libgl-997f3c54123
f3d2b.rlib --extern piston=C:\Users\Austin\Documents\GitHub\hematite\target\deps
/libpiston-7cb692f59f1a0ab3.rlib --extern graphics=C:\Users\Austin\Documents\Git
Hub\hematite\target\deps/libgraphics-7b808b657689b6af.rlib --extern sdl2_game_wi
ndow=C:\Users\Austin\Documents\GitHub\hematite\target\deps/libsdl2_game_window-2
87e07019b4aa224.rlib`
   Compiling graphics v0.0.0 (https://github.com/PistonDevelopers/rust-graphics)

   Compiling piston v0.0.0 (https://github.com/PistonDevelopers/piston)
   Compiling cgmath v0.0.1 (https://github.com/bjz/cgmath-rs)
   Compiling image v0.0.0 (https://github.com/PistonDevelopers/rust-image)
   Compiling gl v0.0.1 (https://github.com/bjz/gl-rs)
   Compiling sdl2 v0.0.1 (https://github.com/AngryLawyer/rust-sdl2)
Build failed, waiting for other jobs to finish...
Could not execute process `./.build.sh` (status=never executed)

Caused by:
  Could not execute process `./.build.sh` (status=never executed)

Caused by:
  file not found (OS Error 2 (FormatMessageW() returned error 317))

Obviously it's supposed to be ./build.sh but somewhere that second dot is getting inserted and I can't find where.

I looked in all the dependencies for a typo in a Makefile but I couldn't find anything. Same output in Command Prompt and MinGW BASH.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.