Beenden
  • Globale Community
    • Sprache:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

Unable to compile CUDA SDK samples on Windows

Community-Einsteiger ,
Sep 30, 2020 Sep 30, 2020

Hi,

 

I'm struggling to get either the vignette, or CrossDissolve samples to build on windows 10. I'm using Premiere CC13 Windows SDK.

 

It looks like the build fails at the custom build stage of the .CU files.  I was originally using CUDA SDK v11.1 but this was failing because of the arch=sm_30 argument in the custom build instruction.

 

Dropping back to CUDA SDK v10.2 resolves the architecture failure, but I'm seeing this in the build output in VS2019:

 

1>------ Build started: Project: Vignette (GPU), Configuration: Debug x64 ------
1>Converting PiPL for Vignette
1>Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28106.4 for x64
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>
1>Vignette.r
1>Building Vignette.cu
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(230,5): error MSB6006: "cmd.exe" exited with code 1.
1>Done building project "Vignette.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

Digging deeper on that error looks like the build is failing because the custom build stage returned an error.

 

Any ideas?

 

Thanks,

 

James.

THEMEN
SDK
787
Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines

correct answers 1 richtige Antwort

Beitragender , Oct 01, 2020 Oct 01, 2020

James,

 

This is likely because of an incorrect MSVC version in your .cu compile options. Sometimes by default it can put in the wrong version of this, so double check which version you have installed and update the .cu file.

 

Nathan_Lovell_52_0-1601591023270.png

Nathan_Lovell_52_1-1601591090443.png

 

-Nate

 

Übersetzen
Beitragender ,
Oct 01, 2020 Oct 01, 2020

James,

 

This is likely because of an incorrect MSVC version in your .cu compile options. Sometimes by default it can put in the wrong version of this, so double check which version you have installed and update the .cu file.

 

Nathan_Lovell_52_0-1601591023270.png

Nathan_Lovell_52_1-1601591090443.png

 

-Nate

 

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community-Einsteiger ,
Oct 01, 2020 Oct 01, 2020

Hi Nate,

 

Exactly right.  Working fine now.

 

Thanks,

 

J.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Beitragender ,
Oct 03, 2020 Oct 03, 2020
AKTUELL

Glad it worked, please mark as the answer so others can find the issue!

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines