Code
Description
Project
File
Line
Suppression State
Error
“GLboolean” has already been declared in the current scope
cuda_learn1
C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1159
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1157
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1158
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1159
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1160
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1161
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1162
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1163
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1164
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1165
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1166
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1167
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1168
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1169
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1170
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1171
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1172
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1173
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1174
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1175
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1176
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1177
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1178
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1179
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1180
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1181
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1182
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1183
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1184
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1185
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1186
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1187
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1188
Error
expected a “;”
cuda_learn1
C:\Program Files (x86)\Windows Kits
\8.1\Include\um\GL\gl.h
1189
Warning
The ‘compute_20’, ‘sm_20’, and ‘sm_21’ architectures are deprecated, and
may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
cuda_learn1
D:\vsworkspace\cuda_learn1\cuda_learn1\CUDACOMPILE
1
Error
MSB3721
The command “”C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin
\nvcc.exe” -gencode=arch=compute_20,code=\”sm_20,compute_20\” –use-local-env –cl-version
2015 -ccbin “D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin” -I”C:\Program
Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include” -I”C:\Program Files\NVIDIA GPU
Computing Toolkit\CUDA\v8.0\include” -G –keep-dir Debug -maxrregcount=0 –machine 32
–compile -cudart static -g -DWIN32 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler “/EHsc /W3
/nologo /Od /FS /Zi /RTC1 /MDd ” -o Debug\kernel.cu.obj “D:\vsworkspace
\cuda_learn1\cuda_learn1\kernel.cu”” exited with code 4.
cuda_learn1
C:\Program
Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets
689
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
1
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
849
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
1787
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
2637
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
3492
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
4431
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
5345
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
6252
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
7142
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h
7956
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h
1
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h
774
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h
1618
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_double_functions.h
1
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\sm_20_intrinsics.h
1
Warning
C4819
The file contains a character that cannot be represented in the current
code page (936). Save the file in Unicode format to prevent data loss
cuda_learn1
c:
\program files\nvidia gpu computing toolkit\cuda\v8.0\include\sm_20_intrinsics.h
943
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1157
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1158
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1160
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1161
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1162
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1163
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1164
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1165
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1166
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1167
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1168
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1169
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1170
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1171
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1172
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1173
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1174
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1175
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1176
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1177
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1178
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1179
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1180
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1181
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1182
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1183
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1184
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1185
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1186
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1187
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1188
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1189
Error
this declaration has no storage class or type specifier
cuda_learn1
C:
\Program Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1190
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1158
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1160
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1161
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1162
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1163
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1164
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1165
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1166
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1167
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1168
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1169
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1170
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1171
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1172
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1173
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1174
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1175
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1176
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1177
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1178
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1179
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1180
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1181
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1182
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1183
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1184
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1185
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1186
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1187
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1188
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1189
Error
variable “WINGDIAPI” has already been defined
cuda_learn1
C:\Program
Files (x86)\Windows Kits\8.1\Include\um\GL\gl.h
1190
Error
variable “WINGDIAPI” is not a type name
cuda_learn1
C:\Program Files
(x86)\Windows Kits\8.1\Include\um\GL\gl.h
1159
出现这中错误需要在引入gl.h前引入,window.h头文件,若不知道位置就在第一行引入,#include <window.h>