11:19:38 **** Rebuild of configuration Debug for project CppMingw64HWnvcc **** Info: Internal Builder is used for build "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\bin\\nvcc" -m64 -I "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.17763.0\\ucrt" "..\\src\\helleocu.cu" --output-file "src\\helleocu.obj" nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). helleocu.cu Creating library src/helleocu.lib and object src/helleocu.exp g++ "-LC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\lib\\x64" -o CppMingw64HWnvcc.exe "src\\helleocu.obj" -lcuda -lcudart C:/mingw/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o):crt0_c.c:(.text.startup+0x2e): undefined reference to `WinMain' collect2.exe: error: ld returned 1 exit status 11:19:43 Build Finished. 0 errors, 0 warnings. (took 4s.111ms)