Open Jochengehtab opened 2 weeks ago
Please upgrade your CUDA to at least 11.8 and try again.
Tryed with CUDA 11.8
\NVIDIA GPU Computing
Toolkit\CUDA\v11.8\include\crt/host_config.h(153): fatal error C1189:
#error: -- unsupported Microsoft Visual Studio version! Only the versions
between 2017 and 2022 (inclusive) are supported! The nvcc flag
'-allow-unsupported-compiler' can be used to override this version check;
however, using an unsupported host compiler may cause compilation failure
or incorrect run time execution. Use at your own risk.
# --error 0x2 --
Call Stack (most recent call first):
/scoop/apps/mingw-winlibs-llvm/14.1.0-18.1.5-11.0.1-r1/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
/scoop/apps/mingw-winlibs-llvm/14.1.0-18.1.5-11.0.1-r1/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test)
/scoop/apps/mingw-winlibs-llvm/14.1.0-18.1.5-11.0.1-r1/share/cmake-3.29/Modules/CMakeDetermineCUDACompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
What's your OS? What's your compiler? Please list those things.
We recommend using WSL. Atleast cuda 11.7 and gcc 12 I think. Alternatively sometimes compiling with USE_IMMINTRIN=0 when using make instead of cmake can work.
As mentioned above, I am using Windows 11.
cmake version 3.29.3
gcc (MinGW-W64 x86_64-msvcrt-posix-seh, built by Brecht Sanders, r1) 14.1.0
GNU Make 4.4.1
Built for x86_64-w64-mingw32
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:41:10_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
and when running the makefile on Windows i get this error:
File *.cu not found
process_begin: CreateProcess(NULL, mkdir -p bin, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [makefile:37: bin/Grapheus] Error 2
The version of GCC you’re using is not supported by CUDA 11.8 - it’s very explicit in the error message you posted and unrelated to Grapheus. If you wish to use the latest version of GCC, follow the recommendation in the error, otherwise downgrade to GCC 12.
Tryed with CUDA 11.8
\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(153): fatal error C1189: #error: -- unsupported Microsoft Visual Studio version! Only the versions between 2017 and 2022 (inclusive) are supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk. # --error 0x2 -- Call Stack (most recent call first): /scoop/apps/mingw-winlibs-llvm/14.1.0-18.1.5-11.0.1-r1/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /scoop/apps/mingw-winlibs-llvm/14.1.0-18.1.5-11.0.1-r1/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test) /scoop/apps/mingw-winlibs-llvm/14.1.0-18.1.5-11.0.1-r1/share/cmake-3.29/Modules/CMakeDetermineCUDACompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:2 (project) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!
Hi there, I am trying to compile the project using
but when i ran the command
cmake ..
in the/build
directory i get the following error: