๐Ÿ’ป/๋ฉ€ํ‹ฐ๋ฏธ๋””์–ด

[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