Advertisement
XeroXipher2022

Error Building CMake

Apr 25th, 2023
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. Severity Code Description Project File Line Suppression State
  2. Error CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message):
  3. The C compiler
  4.  
  5. "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe"
  6.  
  7. is not able to compile a simple test program.
  8.  
  9. It fails with the following output:
  10.  
  11. Change Dir: C:/Users/Pytho/Downloads/mod_mysql-master/mod_mysql-master/out/build/x64-Debug/CMakeFiles/CMakeTmp
  12.  
  13. Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_b2e1a && [1/2] Building C object CMakeFiles\cmTC_b2e1a.dir\testCCompiler.c.obj
  14. [2/2] Linking C executable cmTC_b2e1a.exe
  15. FAILED: cmTC_b2e1a.exe
  16. cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_b2e1a.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~2\MICROS~3\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_b2e1a.dir\testCCompiler.c.obj /out:cmTC_b2e1a.exe /implib:cmTC_b2e1a.lib /pdb:cmTC_b2e1a.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
  17. RC Pass 1: command "rc /fo CMakeFiles\cmTC_b2e1a.dir/manifest.res CMakeFiles\cmTC_b2e1a.dir/manifest.rc" failed (exit code 0) with the following output:
  18. The system cannot find the file specified
  19. ninja: build stopped: subcommand failed.
  20.  
  21.  
  22.  
  23.  
  24.  
  25. CMake will not be able to correctly generate this project. C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake 66
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement