PS C:\users\lordj\llama.cpp> cmake --preset x64-windows-llvm-release -- The C compiler…
- User
PS C:\users\lordj\llama.cpp> cmake --preset x64-windows-llvm-release -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe -- Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe - broken CMake Error at C:/Program Files/CMake/share/cmake-4.0/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler
code"C:/msys64/mingw64/bin/gcc.exe"is not able to compile a simple test program.
It fails with the following output:
codeChange Dir: 'C:/users/lordj/llama.cpp/build-x64-windows-llvm-release/CMakeFiles/CMakeScratch/TryCompile-78hbcy' Run Build Command(s): C:/msys64/usr/bin/ninja.exe -v cmTC_6d095 [1/2] C:\msys64\mingw64\bin\gcc.exe -march=native -o CMakeFiles/cmTC_6d095.dir/testCCompiler.c.obj -c 'C:/users/lordj/llama.cpp/build-x64-windows-llvm-release/CMakeFiles/CMakeScratch/TryCompile-78hbcy/testCCompiler.c' FAILED: CMakeFiles/cmTC_6d095.dir/testCCompiler.c.obj C:\msys64\mingw64\bin\gcc.exe -march=native -o CMakeFiles/cmTC_6d095.dir/testCCompiler.c.obj -c 'C:/users/lordj/llama.cpp/build-x64-windows-llvm-release/CMakeFiles/CMakeScratch/TryCompile-78hbcy/testCCompiler.c' /bin/sh: line 1: C:msys64mingw64bingcc.exe: command not found ninja: build stopped: subcommand failed.CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project)
- Assistant
- User
C:msys64mingw64bingcc.exe
Yeah, IDK what's going on with that. is it getting it from the toolchain file?
- Assistant
- User
can I rebuild my tool chain?
- Assistant