cargo run 1_3_2 Compiling glfw-sys v3.2.2 error: failed to run custom build command for `glfw-sys v3.2.2` Caused by: process didn't exit successfully: `E:\Git\Rust\learn-opengl-rs\target\debug\build\glfw-sys-da177276226ff40d\build-script-build` (exit code: 101) --- stdout running: "cmake" "C:\\Users\\iliav\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\glfw-sys-3.2.2\\." "-G" "MinGW Makefiles" "-DGLFW_BUILD_EXAMPLES=OFF" "-DGLFW_BUILD_TESTS=OFF" "-DGLFW_BUILD_DOCS=OFF" "-DCMAKE_INSTALL_PREFIX=E:\\Git\\Rust\\learn-opengl-rs\\target\\debug\\build\\glfw-sys-581c65b8a6fcb7ba\\out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -m64" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -m64" "-DCMAKE_BUILD_TYPE=Debug" -- The C compiler identification is GNU 9.2.0 -- Check for working C compiler: C:/MinGW/bin/gcc.exe -- Check for working C compiler: C:/MinGW/bin/gcc.exe - broken -- Configuring incomplete, errors occurred! See also "E:/Git/Rust/learn-opengl-rs/target/debug/build/glfw-sys-581c65b8a6fcb7ba/out/build/CMakeFiles/CMakeOutput.log". See also "E:/Git/Rust/learn-opengl-rs/target/debug/build/glfw-sys-581c65b8a6fcb7ba/out/build/CMakeFiles/CMakeError.log". --- stderr CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: E:/Git/Rust/learn-opengl-rs/target/debug/build/glfw-sys-581c65b8a6fcb7ba/out/build/CMakeFiles/CMakeTmp Run Build Command(s):C:/MinGW/bin/mingw32-make.exe cmTC_748fd/fast && C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_748fd.dir\build.make CMakeFiles/cmTC_748fd.dir/build mingw32-make.exe[1]: Entering directory 'E:/Git/Rust/learn-opengl-rs/target/debug/build/glfw-sys-581c65b8a6fcb7ba/out/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_748fd.dir/testCCompiler.c.obj C:\MinGW\bin\gcc.exe -ffunction-sections -fdata-sections -m64 -o CMakeFiles\cmTC_748fd.dir\testCCompiler.c.obj -c E:\Git\Rust\learn-opengl-rs\target\debug\build\glfw-sys-581c65b8a6fcb7ba\out\build\CMakeFiles\CMakeTmp\testCCompiler.c cc1.exe: sorry, unimplemented: 64-bit mode not compiled in CMakeFiles\cmTC_748fd.dir\build.make:84: recipe for target 'CMakeFiles/cmTC_748fd.dir/testCCompiler.c.obj' failed mingw32-make.exe[1]: *** [CMakeFiles/cmTC_748fd.dir/testCCompiler.c.obj] Error 1 mingw32-make.exe[1]: Leaving directory 'E:/Git/Rust/learn-opengl-rs/target/debug/build/glfw-sys-581c65b8a6fcb7ba/out/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_748fd/fast' failed mingw32-make.exe: *** [cmTC_748fd/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:3 (project) thread 'main' panicked at ' command did not execute successfully, got: exit code: 1 build script failed, must exit now', C:\Users\iliav\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.33\src\lib.rs:773:5 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace