Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [driver] Switching to configure preset: ConfigurePreset-CUDA
- [driver] Switching to build preset: BuildPreset-CUDA
- [main] Building folder: CUDA_Simple_Example
- [main] Configuring project: CUDA_Simple_Example
- [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=C:/msys64/mingw64/bin/gcc.exe -DCMAKE_CXX_COMPILER=C:/msys64/mingw64/bin/g++.exe -DCMAKE_INSTALL_PREFIX=C:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/install/ConfigurePreset-CUDA -DCMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Aljosa/Development/Unity-Github/vcpkg/scripts/buildsystems/vcpkg.cmake "-DCMAKE_CUDA_COMPILER=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.0/bin/nvcc.exe" -SC:/Aljosa/Development/Unity-Github/CUDA_Simple_Example -BC:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/build/ConfigurePreset-CUDA -G Ninja
- [cmake] -- The CXX compiler identification is GNU 12.1.0
- [cmake] -- The CUDA compiler identification is NVIDIA 12.0.140
- [cmake] -- Detecting CXX compiler ABI info
- [cmake] -- Detecting CXX compiler ABI info - done
- [cmake] -- Check for working CXX compiler: C:/msys64/mingw64/bin/g++.exe - skipped
- [cmake] -- Detecting CXX compile features
- [cmake] -- Detecting CXX compile features - done
- [cmake] -- Detecting CUDA compiler ABI info
- [cmake] -- Detecting CUDA compiler ABI info - failed
- [cmake] -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.0/bin/nvcc.exe
- [cmake] -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.0/bin/nvcc.exe - broken
- [cmake] CMake Error at C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeTestCUDACompiler.cmake:103 (message):
- [cmake] The CUDA compiler
- [cmake]
- [cmake] "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.0/bin/nvcc.exe"
- [cmake]
- [cmake] is not able to compile a simple test program.
- [cmake]
- [cmake] It fails with the following output:
- [cmake]
- [cmake] Change Dir: C:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/build/ConfigurePreset-CUDA/CMakeFiles/CMakeScratch/TryCompile-q8w9rf
- [cmake]
- [cmake] Run Build Command(s):C:/msys64/mingw64/bin/ninja.exe cmTC_35ec2 && [1/2] Building CUDA object CMakeFiles\cmTC_35ec2.dir\main.cu.obj
- [cmake] main.cu
- [cmake] tmpxft_0000be00_00000000-10_main.cudafe1.cpp
- [cmake] [2/2] Linking CUDA executable cmTC_35ec2.exe
- [cmake] FAILED: cmTC_35ec2.exe
- [cmake] cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_35ec2.dir --rc=C:\msys64\mingw64\bin\windres.exe --mt="" --manifests -- C:\msys64\mingw64\bin\ld.exe /nologo CMakeFiles\cmTC_35ec2.dir\main.cu.obj /out:cmTC_35ec2.exe /implib:cmTC_35ec2.lib /pdb:cmTC_35ec2.pdb /version:0.0 /debug /INCREMENTAL cudadevrt.lib cudart_static.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.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-q8w9rf && 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-q8w9rf/cmTC_35ec2.exe -installedDir C:/Aljosa/Development/Unity-Github/vcpkg/installed/x64-windows/debug/bin -OutVariable out""
- [cmake] RC Pass 1: command "C:\msys64\mingw64\bin\windres.exe /fo CMakeFiles\cmTC_35ec2.dir/manifest.res CMakeFiles\cmTC_35ec2.dir/manifest.rc" failed (exit code 1) with the following output:
- [cmake] Usage: C:\msys64\mingw64\bin\windres.exe [option(s)] [input-file] [output-file]
- [cmake] The options are:
- [cmake] -i --input=<file> Name input file
- [cmake] -o --output=<file> Name output file
- [cmake] -J --input-format=<format> Specify input format
- [cmake] -O --output-format=<format> Specify output format
- [cmake] -F --target=<target> Specify COFF target
- [cmake] --preprocessor=<program> Program to use to preprocess rc file
- [cmake] --preprocessor-arg=<arg> Additional preprocessor argument
- [cmake] -I --include-dir=<dir> Include directory when preprocessing rc file
- [cmake] -D --define <sym>[=<val>] Define SYM when preprocessing rc file
- [cmake] -U --undefine <sym> Undefine SYM when preprocessing rc file
- [cmake] -v --verbose Verbose - tells you what it's doing
- [cmake] -c --codepage=<codepage> Specify default codepage
- [cmake] -- Configuring incomplete, errors occurred!
- [cmake] See also "C:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/build/ConfigurePreset-CUDA/CMakeFiles/CMakeOutput.log".
- [cmake] See also "C:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/build/ConfigurePreset-CUDA/CMakeFiles/CMakeError.log".
- [cmake] -l --language=<val> Set language when reading rc file
- [cmake] --use-temp-file Use a temporary file instead of popen to read
- [cmake] the preprocessor output
- [cmake] --no-use-temp-file Use popen (default)
- [cmake] -r Ignored for compatibility with rc
- [cmake] @<file> Read options from <file>
- [cmake] -h --help Print this help message
- [cmake] -V --version Print version information
- [cmake] FORMAT is one of rc, res, or coff, and is deduced from the file name
- [cmake] extension if not specified. A single file name is an input file.
- [cmake] No input-file is stdin, default rc. No output-file is stdout, default rc.
- [cmake] 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
- [cmake] ninja: build stopped: subcommand failed.
- [cmake]
- [cmake]
- [cmake]
- [cmake]
- [cmake]
- [cmake] CMake will not be able to correctly generate this project.
- [cmake] Call Stack (most recent call first):
- [cmake] CMakeLists.txt:2 (project)
- [cmake]
- [cmake]
- [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=C:/msys64/mingw64/bin/gcc.exe -DCMAKE_CXX_COMPILER=C:/msys64/mingw64/bin/g++.exe -DCMAKE_INSTALL_PREFIX=C:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/install/ConfigurePreset-CUDA -DCMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Aljosa/Development/Unity-Github/vcpkg/scripts/buildsystems/vcpkg.cmake "-DCMAKE_CUDA_COMPILER=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.0/bin/nvcc.exe" -SC:/Aljosa/Development/Unity-Github/CUDA_Simple_Example -BC:/Aljosa/Development/Unity-Github/CUDA_Simple_Example/out/build/ConfigurePreset-CUDA -G Ninja exited with code: 1
Add Comment
Please, Sign In to add comment