@lc640 posted a new topic, subject "NVIDIA VIDEO CODEC SDK 9.1.23 does not support VS2019 and VS2017 ?". It read:

   A lot of sample projects fail to load in VS2019 and target old SDKs (10.0)
    
    i.E AppDecD3D
    
    Where do i find samples for h264 decoding with support for VS2019?

So @mandar_godse replied

    Hi.
    
    We do not see any issue while loading sample projects in VS2017. Can you confirm that is the same behavior you see as well? If you still see problem in VS2017, can you provide an exact error information?
    
    For failure in loading sample projects in VS2019, bug 200586753 is now filed internally.
    
    Thanks.

@lc640 replied

    Hi,
    
    thanks for your support.
    
    I tried the samples with VS2019 not with VS2017
    
    i cannot confirm the issue with VS2017, but
    
    NVIDIA Developer – 16 Sep 19
    
    ### NVIDIA VIDEO CODEC SDK - Get Started
    
    NVIDIA VIDEO CODEC SDK - Get Started If you are looking to make use of the dedicated decoding/encoding hardware on your GPU in an existing application you can leverage the integration already available in FFmpeg. FFmpeg should be used for evaluation...
    
    says for System Requirements:
    
    Development Environment   
    Windows: Visual Studio 2010/2013/2015  
    Linux: gcc 4.8 or higher
    
    I am missing VS2017 and VS2019 here …

After which, @liqishandl (Liqishandl) added

    I tried the samples with vs2013,failed.  
    c:\video_codec_sdk_9.1.23\samples\nvcodec\nvencoder\nvencoder.h(428)  
    fatal error C1001,compiler inner error
    
    and when i with vs2019,failed also,showing:  
    C:\Video_Codec_SDK_9.1.23–old1\Samples\AppEncode\AppEncCuda>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe” -gencode=arch=compute_30,code="sm_30,compute_30" --use-local-env -Xcompiler /wd4819 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\bin\HostX86\x86” -x cu -I…..\NvCodec -I…....\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -G --keep-dir C:\Video_Codec_SDK_9.1.23–old1\Samples\Win32.Debug\AppEncCuda -maxrregcount=0 --machine 32 --compile -cudart static -g -DWIN32 -D_DEBUG -D_CONSOLE -D_LIB -D_CRT_SECURE_NO_WARNINGS -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W3 /nologo /Od /FdC:\Video_Codec_SDK_9.1.23–old1\Samples\Win32.Debug\AppEncCuda\vc142.pdb /FS /Zi /RTC1 /MDd " -o C:\Video_Codec_SDK_9.1.23–old1\Samples\Win32.Debug\AppEncCuda\crc.cu.obj “C:\Video_Codec_SDK_9.1.23–old1\Samples\Utils\crc.cu”  
    1>nvcc fatal : 32 bit compilation is only supported for Microsoft Visual Studio 2013 and earlier


{'source': 'discourse', 'url': 'https://forums.developer.nvidia.com/t/nvidia-video-codec-sdk-9-1-23-does-not-support-vs2019-and-vs2017/110852', 'title': 'NVIDIA VIDEO CODEC SDK 9.1.23 does not support VS2019 and VS2017 ?', 'views': 684, 'has_accepted_answer': False, 'word_count': 362, 'like_count': 0, 'reply_count': 1, 'participant_count': 3, 'posts': 4, 'tags': '', 'author': '@lc640', 'participants': '@lc640, @mandar_godse, @liqishandl (Liqishandl)', 'image_url': [None], 'created_at': '2020-01-22T18:38:24.000Z', 'last_posted_at': '2020-04-28T02:52:03.234Z'}