CUDA + Visual Studio = disabled output window

Usually, when I use Visual Studio to build, I see warnings and errors displayed on the output panel, for example.

1>------ Build started: Project: pdcuda, Configuration: Release x64 ------
Compiling...
foo.cpp
Linking...
foo.obj : error LNK2001: unresolved external symbol "foo"
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I do GPU programming with CUDA . After upgrading to version 2.1, I no longer get any useful result in Visual Studio. For example, now I see the following:

1>------ Build started: Project: pdcuda, Configuration: Release x64 ------
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Other details can be found in BuildLog.htm, but it is inconvenient to constantly look for this file.

Does anyone know how to get Visual Studio to display output in its output panel?

Things that do not help:

  • CUDA removal: the problem persists in all projects
  • > > > > MSBuild: , "" .

: , :

  • devenv.exe/resetsettings
  • devenv.exe/resetuserdata​​li >

UPDATE ( Die in Sente): ( , , ). , , CUDA Visual Studio Wizard, . 15.00.21022.8 . 15.00.30729.1. "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64" . .

+3
6

: .

0

, CUDA. Visual Studio , - . , . ​​ . buildlog.htm. !

EDIT: , /, , ! !

+2

reset IDE devenv.exe/resetsettings devenv.exe/resetuserdata​​p >

0

CUDA 2.1 ( 2.0, ). CUDA 2.1 SDK

C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\

to

C:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA CUDA SDK\

. ?

0

. CUDA SDK CUDA-++. , - CUDA v2.1.

0

- > - > - > . - " MSBuild Project". , , "".

It also allows you to display any output <Message Text="test message"></Message>in the output window of the Visual Studio assembly.

0
source

Source: https://habr.com/ru/post/1702603/


All Articles