Open Ajacmac opened 6 years ago
I followed the solution given here https://github.com/coeuvre/rust-2048/issues/24 The .lock file was deleted and I changed the dependency versions.
Now Cargo build spits out this error.
Encodable
= note: #[warn(unused_imports)] on by default
error: linking with link.exe failed: exit code: 1181 | = note: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\rust_2048-41e8e53b762e0e6e.0.o" "/OUT:C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\rust_2048-41e8e53b762e0e6e.exe" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\rust_2048-41e8e53b762e0e6e.crate.allocator.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\liballoc.natvis" "/NATVIS:C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\libcore.natvis" "/LIBPATH:C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps" "/LIBPATH:C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libopengl_graphics-9f8aaf668049b3dd.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2_window-abc6605285bd28be.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2-3aabb871587f8364.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2_sys-d358fa3e064a949b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum-b4d3257c26c0a4aa.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpiston_window-35b09a0dee50e4ba.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libglutin_window-fe0b63b8c85a7ea7.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgl-9cbd1bded2d6f5dc.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libglutin-496aaa575989e6d2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libwinit-e500ba6e7ae9aefb.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libdwmapi-fe124ba687887bd6.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libuser32-c9abaf1460bb6c99.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgdi32-f9e55db788f5767d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libshell32-0eec767f86fc4c4d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libkernel32-544ac2c4609b82ca.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libwinapi-337d7b6dcaa0243e.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libshared_library-c9fbbd15dba1a658.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_graphics-9d545e7f2d97dc93.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libshaders_graphics2d-635f04ac98f511d2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgraphics-65f05189742232e5.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libinterpolation-762434b1eafb1ada.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libread_color-158aaab9fc0562f2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libvecmath-d07ff303eee21a30.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_texture-b01cb208a3b9c188.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libimage-e1955c7200aa621d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgif-fcdd3ca40dfd7e79.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libcolor_quant-95d9abdc8038185b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblzw-69329d2574d23d64.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpng-910e2eef9543d181.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libdeflate-e99f8b0103cde62d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libadler32-fac5cd55a4c0bab1.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libinflate-3376bf33ba756fbf.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libenum_primitive-4d81ed83d92d0986.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_iter-ef533c286dc417e7.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_device_gl-b8cc2350fb63a38f.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_gl-beb7f871370c8d8a.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx-ba94fa0afee45d9a.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_core-1ff3de3e96859e2b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libdraw_state-a096f49ce81f1595.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblog-9d330ff70acddcd4.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpiston-7836aff5f824707b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libfnv-ba9b3ee9cdc20c43.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libevent_loop-496fe607f75598e2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libwindow-3d07219e32d4bd71.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libinput-60bd12d260f8a57f.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libviewport-06f27f5264ed601a.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libfloat-05ca2ade99faca5d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librustc_serialize-04e038636e119f4d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libbitflags-af9ec1eb77cd2716.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libshader_version-ad977bbced6bbaab.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libbitflags-d0017fbb2041e81f.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libtexture-a0910f6f9bb77933.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_rational-1b358ff32fb12446.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_integer-49a3e4a63402b64f.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_traits-a46a4971034be203.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libjpeg_decoder-08f0c629de608053.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librayon-c777f6c927c00044.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librayon_core-0991779271c08a41.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librand-4a9af8acb223e83b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_cpus-ff00cb493c12bca2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblibc-6ebcc89513794d9e.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libcoco-0b2c8ed506fbd39d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libscopeguard-9c598550e282935b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libeither-f432e364926f8884.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libbyteorder-ef04018bca772f68.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblazy_static-05b00ef3c305eb60.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libscoped_threadpool-df495966c8181372.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librusttype-7a57578f40dfcdb8.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblinked_hash_map-858d4536e8d73e30.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libstb_truetype-609c5fcb31d3525d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libbyteorder-11bb3145dbe72d75.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libarrayvec-8620638afd1c6a38.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnodrop-8e712eca6777f3b1.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libodds-457dffa1805b0ee5.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd-c3d8efc679fd28a2.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libpanic_unwind-7c2dc959ee02a527.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libunwind-3339e4341070286c.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liblibc-6fad7f7292e966ca.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc_system-2e2f7ae9736e730f.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc-b84bf24f5ae23be2.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd_unicode-7a448640a526b83f.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\librand-1d49080ac209d1e4.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcore-9daeed6e87d73d95.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcompiler_builtins-d58cb297502cc5ee.rlib" "SDL2.lib" "opengl32.lib" "dwmapi.lib" "user32.lib" "gdi32.lib" "shell32.lib" "kernel32.lib" "advapi32.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "shell32.lib" "msvcrt.lib" = note: LINK : fatal error LNK1181: cannot open input file 'SDL2.lib'
link.exe
error: aborting due to previous error
error: Could not compile rust-2048.
rust-2048
Caused by: process didn't exit successfully: rustc --crate-name rust_2048 src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=41e8e53b762e0e6e -C extra-filename=-41e8e53b762e0e6e --out-dir C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps -L dependency=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps --extern rustc_serialize=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librustc_serialize-04e038636e119f4d.rlib --extern opengl_graphics=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libopengl_graphics-9f8aaf668049b3dd.rlib --extern piston_window=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpiston_window-35b09a0dee50e4ba.rlib --extern sdl2_window=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2_window-abc6605285bd28be.rlib --extern rand=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librand-4a9af8acb223e83b.rlib (exit code: 101) PS C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048>
rustc --crate-name rust_2048 src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=41e8e53b762e0e6e -C extra-filename=-41e8e53b762e0e6e --out-dir C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps -L dependency=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps --extern rustc_serialize=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librustc_serialize-04e038636e119f4d.rlib --extern opengl_graphics=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libopengl_graphics-9f8aaf668049b3dd.rlib --extern piston_window=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpiston_window-35b09a0dee50e4ba.rlib --extern sdl2_window=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2_window-abc6605285bd28be.rlib --extern rand=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librand-4a9af8acb223e83b.rlib
I fixed this (on Fedora) with sudo yum install SDL2-devel
sudo yum install SDL2-devel
I followed the solution given here https://github.com/coeuvre/rust-2048/issues/24 The .lock file was deleted and I changed the dependency versions.
Now Cargo build spits out this error.
Encodable
--> src\settings.rs:6:30= note: #[warn(unused_imports)] on by default
error: linking with
link.exe
failed: exit code: 1181 | = note: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\rust_2048-41e8e53b762e0e6e.0.o" "/OUT:C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\rust_2048-41e8e53b762e0e6e.exe" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\rust_2048-41e8e53b762e0e6e.crate.allocator.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\liballoc.natvis" "/NATVIS:C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\libcore.natvis" "/LIBPATH:C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps" "/LIBPATH:C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libopengl_graphics-9f8aaf668049b3dd.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2_window-abc6605285bd28be.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2-3aabb871587f8364.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2_sys-d358fa3e064a949b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum-b4d3257c26c0a4aa.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpiston_window-35b09a0dee50e4ba.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libglutin_window-fe0b63b8c85a7ea7.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgl-9cbd1bded2d6f5dc.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libglutin-496aaa575989e6d2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libwinit-e500ba6e7ae9aefb.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libdwmapi-fe124ba687887bd6.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libuser32-c9abaf1460bb6c99.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgdi32-f9e55db788f5767d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libshell32-0eec767f86fc4c4d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libkernel32-544ac2c4609b82ca.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libwinapi-337d7b6dcaa0243e.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libshared_library-c9fbbd15dba1a658.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_graphics-9d545e7f2d97dc93.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libshaders_graphics2d-635f04ac98f511d2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgraphics-65f05189742232e5.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libinterpolation-762434b1eafb1ada.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libread_color-158aaab9fc0562f2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libvecmath-d07ff303eee21a30.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_texture-b01cb208a3b9c188.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libimage-e1955c7200aa621d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgif-fcdd3ca40dfd7e79.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libcolor_quant-95d9abdc8038185b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblzw-69329d2574d23d64.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpng-910e2eef9543d181.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libdeflate-e99f8b0103cde62d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libadler32-fac5cd55a4c0bab1.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libinflate-3376bf33ba756fbf.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libenum_primitive-4d81ed83d92d0986.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_iter-ef533c286dc417e7.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_device_gl-b8cc2350fb63a38f.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_gl-beb7f871370c8d8a.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx-ba94fa0afee45d9a.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libgfx_core-1ff3de3e96859e2b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libdraw_state-a096f49ce81f1595.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblog-9d330ff70acddcd4.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpiston-7836aff5f824707b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libfnv-ba9b3ee9cdc20c43.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libevent_loop-496fe607f75598e2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libwindow-3d07219e32d4bd71.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libinput-60bd12d260f8a57f.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libviewport-06f27f5264ed601a.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libfloat-05ca2ade99faca5d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librustc_serialize-04e038636e119f4d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libbitflags-af9ec1eb77cd2716.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libshader_version-ad977bbced6bbaab.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libbitflags-d0017fbb2041e81f.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libtexture-a0910f6f9bb77933.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_rational-1b358ff32fb12446.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_integer-49a3e4a63402b64f.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_traits-a46a4971034be203.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libjpeg_decoder-08f0c629de608053.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librayon-c777f6c927c00044.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librayon_core-0991779271c08a41.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librand-4a9af8acb223e83b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnum_cpus-ff00cb493c12bca2.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblibc-6ebcc89513794d9e.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libcoco-0b2c8ed506fbd39d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libscopeguard-9c598550e282935b.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libeither-f432e364926f8884.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libbyteorder-ef04018bca772f68.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblazy_static-05b00ef3c305eb60.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libscoped_threadpool-df495966c8181372.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librusttype-7a57578f40dfcdb8.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\liblinked_hash_map-858d4536e8d73e30.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libstb_truetype-609c5fcb31d3525d.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libbyteorder-11bb3145dbe72d75.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libarrayvec-8620638afd1c6a38.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libnodrop-8e712eca6777f3b1.rlib" "C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libodds-457dffa1805b0ee5.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd-c3d8efc679fd28a2.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libpanic_unwind-7c2dc959ee02a527.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libunwind-3339e4341070286c.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liblibc-6fad7f7292e966ca.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc_system-2e2f7ae9736e730f.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc-b84bf24f5ae23be2.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd_unicode-7a448640a526b83f.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\librand-1d49080ac209d1e4.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcore-9daeed6e87d73d95.rlib" "C:\Users\jacob\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcompiler_builtins-d58cb297502cc5ee.rlib" "SDL2.lib" "opengl32.lib" "dwmapi.lib" "user32.lib" "gdi32.lib" "shell32.lib" "kernel32.lib" "advapi32.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "shell32.lib" "msvcrt.lib" = note: LINK : fatal error LNK1181: cannot open input file 'SDL2.lib'error: aborting due to previous error
error: Could not compile
rust-2048
.Caused by: process didn't exit successfully:
rustc --crate-name rust_2048 src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=41e8e53b762e0e6e -C extra-filename=-41e8e53b762e0e6e --out-dir C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps -L dependency=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps --extern rustc_serialize=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librustc_serialize-04e038636e119f4d.rlib --extern opengl_graphics=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libopengl_graphics-9f8aaf668049b3dd.rlib --extern piston_window=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libpiston_window-35b09a0dee50e4ba.rlib --extern sdl2_window=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\libsdl2_window-abc6605285bd28be.rlib --extern rand=C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048\target\debug\deps\librand-4a9af8acb223e83b.rlib
(exit code: 101) PS C:\Users\jacob\Desktop\CodeProjects\Rust\rust-2048>