Several CUDA 11.8 libs on Windows unexpectedly and almost certainly incorrectly contain a /DEFAULTLIB:LIBCMT
directive, making them incompatible with all but /MT builds. This applies to both cudadevrt.lib and cudart_static.lib. In 11.2 and 11.6 both libraries did not contain this directive. (11.2 has it in nvptxcompiler_static.lib only, 11.6 additionally in cufilt.lib, nvrtc-builtins_static.lib and nvrtc_static.lib)
2 Likes
The following recent post is probably related: To use /MD flag for host, should one use --cudart shared?