πŸ’»/λ©€ν‹°λ―Έλ””μ–΄

[CUDA] 컴파일이 μ•ˆλ  λ•Œ(μ½”λ“œ MSB 3721)

ruhz 2021. 2. 4. 18:09

 

MSB3721의 의미

 

How to fix Error MSB3721

MSB3721 is the VS way of saying “I ran nvcc, and it returned an error code.” Other than knowing that your compilation failed, it is completely useless for understanding why it failed. To understand why, it’s necessary to increase the verbosity of VS

forums.developer.nvidia.com

MSB3721은 Visual Studioμ—μ„œ "λ‚΄κ°€ μ—”λΉ„λ””μ•„ CUDA 컴파일러λ₯Ό λŒλ €λ΄€λŠ”λ°, μ—λŸ¬κ°€ 났어" μ •λ„μ˜ μ •λ³΄λ§Œ μ œκ³΅ν•˜λŠ” μ—λŸ¬ μ½”λ“œμž…λ‹ˆλ‹€. μ‹€νŒ¨ μ—¬λΆ€λ§Œ μ•Œ 수있고, μ™œ μ‹€νŒ¨ν–ˆλŠ”μ§€μ—λŠ” μ „ν˜€ 도움이 λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

 

이유λ₯Ό μ•ŒκΈ° μœ„ν•΄μ„œλŠ”, Visual Studio의 좜λ ₯ verbosity(μžμ„Έν•œ 정도)λ₯Ό λ†’μ—¬μ•Ό ν•©λ‹ˆλ‹€. κ·Έλž˜μ•Ό μ—”λΉ„λ””μ•„ CUDA μ»΄νŒŒμΌλŸ¬μ—μ„œ 무엇이 호좜됐고, λ¬΄μ—‡μ—μ„œ 였λ₯˜κ°€ λ‚˜μ™”λŠ”μ§€ 확인할 수 μžˆμŠ΅λ‹ˆλ‹€.

 

Visual Studio의 좜λ ₯ verbosityλ₯Ό λ†’μ΄λŠ” 방법은 μΆ”κ°€ 검색을 ν•΄λ΄…μ‹œλ‹€.

 

 

Verbosity

 

How can I make Visual Studio's build be very verbose?

I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild, but I wasn't able. What do I have to...

stackoverflow.com