Fish_In_A_SUit

CMakePresets CUDA CMakeError.log

Feb 12th, 2023
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. Detecting CUDA compiler ABI info failed to compile with the following output:
  2. Change Dir: C:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/build/ConfigurePreset-CUDA/CMakeFiles/CMakeScratch/TryCompile-9heqda
  3.  
  4. Run Build Command(s):C:/msys64/mingw64/bin/ninja.exe cmTC_fc5c3 && [1/2] Building CUDA object CMakeFiles\cmTC_fc5c3.dir\CMakeCUDACompilerABI.cu.obj
  5.  
  6. cl : Command line warning D9002 : ignoring unknown option '-v'
  7.  
  8.  
  9. CMakeCUDACompilerABI.cu
  10.  
  11.  
  12. cl : Command line warning D9002 : ignoring unknown option '-v'
  13.  
  14.  
  15. CMakeCUDACompilerABI.cu
  16.  
  17.  
  18. CMakeCUDACompilerABI.cu
  19.  
  20.  
  21. cl : Command line warning D9002 : ignoring unknown option '-v'
  22.  
  23.  
  24. tmpxft_000083b4_00000000-10_CMakeCUDACompilerABI.cudafe1.cpp
  25.  
  26.  
  27. [2/2] Linking CUDA executable cmTC_fc5c3.exe
  28.  
  29. FAILED: cmTC_fc5c3.exe
  30.  
  31. cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_fc5c3.dir --rc=C:\msys64\mingw64\bin\windres.exe --mt="" --manifests -- C:\msys64\mingw64\bin\ld.exe /nologo CMakeFiles\cmTC_fc5c3.dir\CMakeCUDACompilerABI.cu.obj /out:cmTC_fc5c3.exe /implib:cmTC_fc5c3.lib /pdb:cmTC_fc5c3.pdb /version:0.0 -v /debug /INCREMENTAL cudadevrt.lib cudart_static.lib -LIBPATH:"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.0/lib/x64" && cmd.exe /C "cd /D C:\Aljosa\Development\Unity-Github\CUDA_Simple_Example\out\build\ConfigurePreset-CUDA\CMakeFiles\CMakeScratch\TryCompile-9heqda && C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -executionpolicy Bypass -file C:/Aljosa/Development/Unity-Github/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/build/ConfigurePreset-CUDA/CMakeFiles/CMakeScratch/TryCompile-9heqda/cmTC_fc5c3.exe -installedDir C:/Aljosa/Development/Unity-Github/vcpkg/installed/x64-windows/debug/bin -OutVariable out""
  32. RC Pass 1: command "C:\msys64\mingw64\bin\windres.exe /fo CMakeFiles\cmTC_fc5c3.dir/manifest.res CMakeFiles\cmTC_fc5c3.dir/manifest.rc" failed (exit code 1) with the following output:
  33. Usage: C:\msys64\mingw64\bin\windres.exe [option(s)] [input-file] [output-file]
  34.  
  35. The options are:
  36.  
  37. -i --input=<file> Name input file
  38.  
  39. -o --output=<file> Name output file
  40.  
  41. -J --input-format=<format> Specify input format
  42.  
  43. -O --output-format=<format> Specify output format
  44.  
  45. -F --target=<target> Specify COFF target
  46.  
  47. --preprocessor=<program> Program to use to preprocess rc file
  48.  
  49. --preprocessor-arg=<arg> Additional preprocessor argument
  50.  
  51. -I --include-dir=<dir> Include directory when preprocessing rc file
  52.  
  53. -D --define <sym>[=<val>] Define SYM when preprocessing rc file
  54.  
  55. -U --undefine <sym> Undefine SYM when preprocessing rc file
  56.  
  57. -v --verbose Verbose - tells you what it's doing
  58.  
  59. -c --codepage=<codepage> Specify default codepage
  60.  
  61. -l --language=<val> Set language when reading rc file
  62.  
  63. --use-temp-file Use a temporary file instead of popen to read
  64.  
  65. the preprocessor output
  66.  
  67. --no-use-temp-file Use popen (default)
  68.  
  69. -r Ignored for compatibility with rc
  70.  
  71. @<file> Read options from <file>
  72.  
  73. -h --help Print this help message
  74.  
  75. -V --version Print version information
  76.  
  77. FORMAT is one of rc, res, or coff, and is deduced from the file name
  78.  
  79.  
  80. extension if not specified. A single file name is an input file.
  81.  
  82.  
  83. No input-file is stdin, default rc. No output-file is stdout, default rc.
  84.  
  85.  
  86. C:\msys64\mingw64\bin\windres.exe: supported targets: pe-x86-64 pei-x86-64 pe-bigobj-x86-64 elf64-x86-64 elf64-l1om elf64-k1om pe-i386 pei-i386 elf32-i386 elf32-iamcu elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin
  87.  
  88.  
  89. ninja: build stopped: subcommand failed.
Add Comment
Please, Sign In to add comment