AlexNav73 / melos

1 stars 0 forks source link

Fix release build #3

Closed AlexNav73 closed 6 years ago

AlexNav73 commented 6 years ago
λ cargo run --release
   Compiling melos v0.1.0 (file:///D:/Programms/Rust/melos)
    Finished release [optimized] target(s) in 70.24 secs
     Running `target\release\melos.exe`
thread 'main' panicked at 'gl function was not loaded', D:\Programms\Rust\melos\target\release\build\gfx_gl-712da6e95429916c\out/gl_bindings.rs:1504:13
stack backtrace:
   0:     0x7ff69c27ee15 - std::sys::windows::backtrace::unwind_backtrace
                               at C:\projects\rust\src\libstd\sys\windows\backtrace\mod.rs:65
   1:     0x7ff69c2876cb - std::sys_common::backtrace::print
                               at C:\projects\rust\src\libstd\sys_common\backtrace.rs:56
   2:     0x7ff69c27bb4f - std::panicking::default_hook::{{closure}}
                               at C:\projects\rust\src\libstd\panicking.rs:381
   3:     0x7ff69c27b7f5 - std::panicking::default_hook
                               at C:\projects\rust\src\libstd\panicking.rs:397
   4:     0x7ff69c27c11c - std::panicking::rust_panic_with_hook
                               at C:\projects\rust\src\libstd\panicking.rs:577
   5:     0x7ff69c246881 - std::panicking::begin_panic::h0511d261efd2bc71
   6:     0x7ff69c2467ab - gfx_gl::FnPtr::new::haa26dec2c5496951
   7:     0x7ff69c2378d3 - <gfx_device_gl::info::Version as core::fmt::Debug>::fmt::h29397dd39c40bfae
   8:     0x7ff69c237a43 - gfx_device_gl::info::get::h5953633c9fd6164f
   9:     0x7ff69c21cc80 - gfx_device_gl::create::h1bc100f8777a6916
  10:     0x7ff69c21c593 - gfx_window_glutin::init_existing_raw::h8bf9174f4d80e784
  11:     0x7ff69c21c342 - gfx_window_glutin::init_raw::h9c634eba15d46005
  12:     0x7ff69c2129f3 - gfx_window_glutin::init::h41182533b6e22a5f
  13:     0x7ff69c20f2ff - melos::support_gfx::run::h6520fdc0d0aa1484
  14:     0x7ff69c2007ee - <melos::Program as melos::support_gfx::AppContext>::show::hb4c56939ce310b69
  15:     0x7ff69c213805 - std::io::append_to_string::hb659ac45b3e09c3e
  16:     0x7ff69c27bd1c - std::panicking::try::do_call<closure,i32>
                               at C:\projects\rust\src\libstd\panicking.rs:476
  17:     0x7ff69c28a961 - panic_unwind::__rust_maybe_catch_panic
                               at C:\projects\rust\src\libpanic_unwind\lib.rs:101
  18:     0x7ff69c27f5e2 - std::rt::lang_start_internal
                               at C:\projects\rust\src\libstd\rt.rs:50
  19:     0x7ff69c200959 - main
  20:     0x7ff69c2e7dfb - __scrt_common_main_seh
                               at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283
  21:     0x7ff941b31fe3 - BaseThreadInitThunk
error: process didn't exit successfully: `target\release\melos.exe` (exit code: 101)

Update: Bug will be fixed in new version of the gfx_gl (gfx_backend_gl) library

AlexNav73 commented 6 years ago
D:\Programms\Rust\melos (master -> origin)
λ rustup toolchain list
stable-x86_64-pc-windows-msvc (default)
beta-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc

D:\Programms\Rust\melos (master -> origin)
λ rustc -Vv
rustc 1.24.0 (4d90ac38c 2018-02-12)
binary: rustc
commit-hash: 4d90ac38c0b61bb69470b61ea2cccea0df48d9e5
commit-date: 2018-02-12
host: x86_64-pc-windows-msvc
release: 1.24.0
LLVM version: 4.0

D:\Programms\Rust\melos (master -> origin)
λ cargo -Vv
cargo 0.25.0 (8c93e0895 2018-02-01)
release: 0.25.0
commit-hash: 8c93e089536467783957fec23b0f2627bb6ce357
commit-date: 2018-02-01