$ cmake -G "MSYS Makefiles" ../x265/source -- cmake version 3.0.2 -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: c:/mingw64/bin/gcc.exe -- Check for working C compiler: c:/mingw64/bin/gcc.exe -- broken CMake Error at c:/cmake-3.0.2-win32-x86/share/cmake-3.0/Modules/CMakeTestCCompil er.cmake:61 (message): The C compiler "c:/mingw64/bin/gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/MinGW/msys/1.0/home/cehoyos/Projects/buildx265/CMakeFiles/CMak eTmp Run Build Command:"C:/MinGW/msys/1.0/bin/make.exe" "cmTryCompileExec2937884989/fast" C:/MinGW/msys/1.0/bin/make.exe -f CMakeFiles/cmTryCompileExec2937884989.dir/build.make CMakeFiles/cmTryCompileExec2937884989.dir/build make.exe[1]: Entering directory 'C:/MinGW/msys/1.0/home/cehoyos/Projects/buildx265/CMakeFiles/CMakeTmp' /c/cmake-3.0.2-win32-x86/bin/cmake.exe -E cmake_progress_report /C/MinGW/msys/1.0/home/cehoyos/Projects/buildx265/CMakeFiles/CMakeTmp/CMakeFil es 1 CMakeFiles/cmTryCompileExec2937884989.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec2937884989.dir/testCCompiler.c.obj' failed process_begin: CreateProcess(NULL, /c/cmake-3.0.2-win32-x86/bin/cmake.exe -E cmake_progress_report /C/MinGW/msys/1.0/home/cehoyos/Projects/buildx265/CMakeFiles/CMakeTmp/CMakeFil es 1, ...) failed. make (e=2): The system cannot find the file specified. make.exe[1]: *** [CMakeFiles/cmTryCompileExec2937884989.dir/testCCompiler.c.obj] Error 2 make.exe[1]: Leaving directory 'C:/MinGW/msys/1.0/home/cehoyos/Projects/buildx265/CMakeFiles/CMakeTmp' Makefile:118: recipe for target 'cmTryCompileExec2937884989/fast' failed make.exe: *** [cmTryCompileExec2937884989/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:16 (project) -- Configuring incomplete, errors occurred! See also "C:/MinGW/msys/1.0/home/cehoyos/Projects/buildx265/CMakeFiles/CMakeOutp ut.log". See also "C:/MinGW/msys/1.0/home/cehoyos/Projects/buildx265/CMakeFiles/CMakeErro r.log".