Skip to content

cmake not working i think #159

@CharlieRingo-REAL

Description

@CharlieRingo-REAL

When I type "cmake -B build" it shows "CMake Error at C:/Program Files/CMake/share/cmake-4.3/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler

"C:/Users/perfe/scoop/apps/llvm/current/bin/clang.exe"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: 'C:/Users/perfe/Tracker Checklist/build/CMakeFiles/CMakeScratch/TryCompile-syilf6'

Run Build Command(s): C:/Users/perfe/scoop/shims/ninja.exe -v cmTC_5bb24
[1/2] C:\Users\perfe\scoop\apps\llvm\current\bin\clang.exe -D_MBCS  -O0 -g -Xclang -gcodeview -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -MD -MT CMakeFiles/cmTC_5bb24.dir/testCCompiler.c.obj -MF CMakeFiles\cmTC_5bb24.dir\testCCompiler.c.obj.d -o CMakeFiles/cmTC_5bb24.dir/testCCompiler.c.obj -c "C:/Users/perfe/Tracker Checklist/build/CMakeFiles/CMakeScratch/TryCompile-syilf6/testCCompiler.c"
[2/2] C:\Users\perfe\Downloads\geode-cli-v3.7.4-win /C "cd . && C:\Users\perfe\scoop\apps\llvm\current\bin\clang.exe -nostartfiles -nostdlib -O0 -g -Xclang -gcodeview -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -Xlinker /subsystem:console -fuse-ld=lld-link CMakeFiles/cmTC_5bb24.dir/testCCompiler.c.obj -o cmTC_5bb24.exe -Xlinker /MANIFEST:EMBED -Xlinker /implib:cmTC_5bb24.lib -Xlinker /pdb:cmTC_5bb24.pdb -Xlinker /version:0.0   -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -loldnames  && cd ."
FAILED: [code=1] cmTC_5bb24.exe 
C:\Users\perfe\Downloads\geode-cli-v3.7.4-win /C "cd . && C:\Users\perfe\scoop\apps\llvm\current\bin\clang.exe -nostartfiles -nostdlib -O0 -g -Xclang -gcodeview -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -Xlinker /subsystem:console -fuse-ld=lld-link CMakeFiles/cmTC_5bb24.dir/testCCompiler.c.obj -o cmTC_5bb24.exe -Xlinker /MANIFEST:EMBED -Xlinker /implib:cmTC_5bb24.lib -Xlinker /pdb:cmTC_5bb24.pdb -Xlinker /version:0.0   -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -loldnames  && cd ."
CreateProcess failed: The system cannot find the file specified.
ninja: build stopped: subcommand failed.

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:11 (project)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions