CUDA 6.5 + visual studio 2013 + Qt 5.6

I’ve tried to build my code on VS2013 with CUDA6.5
However, I’ve got this error.

1>------ Build started: Project: qt, Configuration: Debug Win32 ------
1>Build started 7/18/2017 4:54:58 PM.
1>InitializeBuildStatus:
1> Touching “Win32\Debug\qt.tlog[b]unsuccessfulbuild[/b]”.
1>CustomBuild:
1> Moc’ing AdvDlg.h…
1> Moc’ing ChannelsDlg.h…
1> Moc’ing DaqDemo.h…
1> Moc’ing TgcDlg.h…
1> Uic’ing adv.ui…
1> Uic’ing daq.ui…
1> Uic’ing tgc.ui…
1> Rcc’ing daq.qrc…
1>CudaBuild:
1> Compiling CUDA source file CUDA.cu…
1>
1> D:\sdkk_6.1.3.beta_cpy\daq\demo_7\qt_singleCUDA>“D:\Programes\NVIDIA\CUDA6.5\toolkit\bin\nvcc.exe” -gencode=arch=compute_20,code=“sm_20,compute_20” --use-local-env --cl-version 2013 -ccbin “D:\Programes\VS2013\VC\bin” -I"D:\Programes\Windows Kits 8\Include" -I. -I…\inc -I… -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" -Idebug -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" -I.\GeneratedFiles -ID:\Programes\NVIDIA\CUDA6.5\toolkit\include -ID:\Programes\NVIDIA\CUDA6.5\toolkit\include --keep-dir Debug -maxrregcount=0 --machine 32 --compile -cudart static -g -D_WINDOWS -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MDd /GR " -o Win32\Debug\CUDA.cu.obj “D:\sdkk_6.1.3.beta_cpy\daq\demo_7\qt_singleCUDA\CUDA.cu”
1>D:/sdkk_6.1.3.beta_cpy/daq/demo_7/qt_singleCUDA/CUDA.cu(89): error : expected an expression
1>
1> 1 error detected in the compilation of “C:/Users/ADMINI~1/AppData/Local/Temp/tmpxft_00001a70_00000000-5_CUDA.cpp1.ii”.
1> CUDA.cu
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 6.5.targets(593,9): error MSB3721: The command ““D:\Programes\NVIDIA\CUDA6.5\toolkit\bin\nvcc.exe” -gencode=arch=compute_20,code=“sm_20,compute_20” --use-local-env --cl-version 2013 -ccbin “D:\Programes\VS2013\VC\bin” -I"D:\Programes\Windows Kits 8\Include” -I. -I…\inc -I… -I”…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" -Idebug -I"…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" -I.\GeneratedFiles -ID:\Programes\NVIDIA\CUDA6.5\toolkit\include -ID:\Programes\NVIDIA\CUDA6.5\toolkit\include --keep-dir Debug -maxrregcount=0 --machine 32 --compile -cudart static -g -D_WINDOWS -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MDd /GR " -o Win32\Debug\CUDA.cu.obj “D:\sdkk_6.1.3.beta_cpy\daq\demo_7\qt_singleCUDA\CUDA.cu”” exited with code 2.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:04.23
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

-------------------------This is from .vcxproj file. ----------------------------------------------

<?xml version="1.0" encoding="utf-8"?>



Release
Win32


Debug
Win32



{277015FF-F8A6-3673-A7C3-7EC3CEC3B5E1}
qt
Qt4VSv1.0



v120
release</OutputDirectory>
false
NotSet
Application
release</IntermediateDirectory>
qt


v120
debug</OutputDirectory>
false
NotSet
Application
debug</IntermediateDirectory>
qt













release</OutDir>
(Platform)\$(Configuration)\</IntDir> <TargetName Condition="'(Configuration)|(Platform)'=='Release|Win32'">qt</TargetName> <IgnoreImportLibrary Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</IgnoreImportLibrary> <LinkIncremental Condition="'(Configuration)|(Platform)'=='Release|Win32'">false</LinkIncremental> <OutDir Condition="'(Configuration)|(Platform)'=='Debug|Win32'">debug\</OutDir> <IntDir Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(Platform)$(Configuration)</IntDir>
qt
true


(CUDA_PATH)\include;(IncludePath)



.;…\inc;…;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore;release;.;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013;.\GeneratedFiles;%(AdditionalIncludeDirectories)
-Zc:strictStrings -w34100 -w34189 -w44996 %(AdditionalOptions)
release</AssemblerListingLocation>
false
None
Sync
(IntDir)</ObjectFileName> <Optimization>MaxSpeed</Optimization> <PreprocessorDefinitions>_WINDOWS;UNICODE;WIN32;QT_NO_DEBUG;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessToFile>false</PreprocessToFile> <ProgramDataBaseFileName>(IntDir)vc$(PlatformToolsetVersion).pdb
MultiThreadedDLL
true
true
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
Level3


D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib\qtmain.lib;shell32.lib;…\lib\daq.lib;D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib\Qt5Widgets.lib;D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib\Qt5Gui.lib;D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib\Qt5Core.lib;%(AdditionalDependencies)
D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib;C:\utils\postgresql\pgsql\lib;C:\utils\my_sql\my_sql\lib;(QTDIR)\lib;..\..\lib;..\..\..\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalOptions>"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)</AdditionalOptions> <DataExecutionPrevention>true</DataExecutionPrevention> <GenerateDebugInformation>false</GenerateDebugInformation> <IgnoreImportLibrary>true</IgnoreImportLibrary> <LinkIncremental>false</LinkIncremental> <OutputFile>(OutDir)\qt.exe
true
Windows
true


Unsigned
None
0


WINDOWS;UNICODE;WIN32;QT_NO_DEBUG;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB;%(PreprocessorDefinitions)




D:\Programes\Windows Kits 8\Include;.;…\inc;…;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore;debug;…\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013;.\GeneratedFiles;%(AdditionalIncludeDirectories)
-w34100 -w34189 -w44996 %(AdditionalOptions)
debug</AssemblerListingLocation>
false
ProgramDatabase
Sync
(IntDir)</ObjectFileName> <Optimization>Disabled</Optimization> <PreprocessorDefinitions>_WINDOWS;UNICODE;WIN32;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessToFile>false</PreprocessToFile> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <SuppressStartupBanner>true</SuppressStartupBanner> <TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType> <WarningLevel>Level3</WarningLevel> <ProgramDataBaseFileName>(IntDir)vc$(PlatformToolsetVersion).pdb


cuda.lib;cudart.lib;glut32.lib;glu32.lib;opengl32.lib;D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib\qtmaind.lib;shell32.lib;…\lib\daq.lib;D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib\Qt5Widgetsd.lib;D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib\Qt5Guid.lib;D:\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\lib\Qt5Cored.lib;%(AdditionalDependencies)
(CUDA_PATH)\lib\Win32;D:\Programes\Windows Kits 8\Lib;D:\Programes\Qt\Qt5.6.0(32)\5.6\msvc2013\lib;C:\utils\postgresql\pgsql\lib;C:\utils\my_sql\my_sql\lib;(QTDIR)\lib;…\lib;…\bin;%(AdditionalLibraryDirectories)
“/MANIFESTDEPENDENCY:type=‘win32’ name=‘Microsoft.Windows.Common-Controls’ version=‘6.0.0.0’ publicKeyToken=‘6595b64144ccf1df’ language=’’ processorArchitecture=’’” %(AdditionalOptions)
true
true
true
(OutDir)\qt.exe</OutputFile> <RandomizedBaseAddress>true</RandomizedBaseAddress> <SubSystem>Windows</SubSystem> <SuppressStartupBanner>true</SuppressStartupBanner> </Link> <Midl> <DefaultCharType>Unsigned</DefaultCharType> <EnableErrorChecks>None</EnableErrorChecks> <WarningLevel>0</WarningLevel> </Midl> <ResourceCompile> <PreprocessorDefinitions>_WINDOWS;UNICODE;WIN32;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <CudaCompile> <GPUDebugInfo>false</GPUDebugInfo> </CudaCompile> </ItemDefinitionGroup> <ItemGroup> <ClCompile Include="AdvDlg.cpp" /> <ClCompile Include="ChannelsDlg.cpp" /> <ClCompile Include="DaqDemo.cpp" /> <ClCompile Include="DaqView.cpp" /> <ClCompile Include="DaqViewImg.cpp" /> <ClCompile Include="Debug\moc_AdvDlg.cpp"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="Debug\moc_ChannelsDlg.cpp"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="Debug\moc_DaqDemo.cpp"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="Debug\moc_TgcDlg.cpp"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="GeneratedFiles\qrc_daq.cpp"> <PrecompiledHeader Condition="'(Configuration)|(Platform)'=='Debug|Win32'"> </PrecompiledHeader> <PrecompiledHeader Condition="'(Configuration)|(Platform)'=='Release|Win32'"> </PrecompiledHeader> </ClCompile> <ClCompile Include="Release\moc_AdvDlg.cpp"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="Release\moc_ChannelsDlg.cpp"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="Release\moc_DaqDemo.cpp"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="Release\moc_TgcDlg.cpp"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="StdAfx.cpp" /> <ClCompile Include="TgcDlg.cpp" /> <ClCompile Include="TgcView.cpp" /> <ClCompile Include="main.cpp" /> </ItemGroup> <ItemGroup> <CustomBuild Include="AdvDlg.h"> <Command Condition="'(Configuration)|(Platform)'=='Release|Win32'">"(QTDIR)\bin\moc.exe" “%(FullPath)” -o “(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG "-I." "-I.\..\..\inc" "-I.\..\..\.." "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" "-I.\release" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" "-I.\GeneratedFiles"</Command> <Message Condition="'(Configuration)|(Platform)'=='Release|Win32'">Moc%27ing AdvDlg.h...</Message> <Command Condition="'(Configuration)|(Platform)'=='Debug|Win32'">"(QTDIR)\bin\moc.exe” “%(FullPath)” -o "(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB "-ID:\Programes\Windows Kits 8\Include" "-I." "-I.\..\..\inc" "-I.\..\..\.." "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" "-I.\debug" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" "-I.\GeneratedFiles"</Command> <Message Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Moc%27ing AdvDlg.h...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(ConfigurationName)\moc
%(Filename).cpp
(ConfigurationName)\moc_%(Filename).cpp</Outputs> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(QTDIR)\bin\moc.exe;%(FullPath)
(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs> </CustomBuild> <CustomBuild Include="ChannelsDlg.h"> <Command Condition="'(Configuration)|(Platform)'=='Release|Win32'">"(QTDIR)\bin\moc.exe" “%(FullPath)” -o “(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG "-I." "-I.\..\..\inc" "-I.\..\..\.." "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" "-I.\release" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" "-I.\GeneratedFiles"</Command> <Message Condition="'(Configuration)|(Platform)'=='Release|Win32'">Moc%27ing ChannelsDlg.h...</Message> <Command Condition="'(Configuration)|(Platform)'=='Debug|Win32'">"(QTDIR)\bin\moc.exe” “%(FullPath)” -o “(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB "-ID:\Programes\Windows Kits 8\Include" "-I." "-I.\..\..\inc" "-I.\..\..\.." "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" "-I.\debug" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" "-I.\GeneratedFiles"</Command> <Message Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Moc%27ing ChannelsDlg.h...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(ConfigurationName)\moc_%(Filename).cpp
(ConfigurationName)\moc_%(Filename).cpp</Outputs> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(QTDIR)\bin\moc.exe;%(FullPath)
(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs> </CustomBuild> <CustomBuild Include="DaqDemo.h"> <Command Condition="'(Configuration)|(Platform)'=='Release|Win32'">"(QTDIR)\bin\moc.exe” “%(FullPath)” -o “(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG "-I." "-I.\..\..\inc" "-I.\..\..\.." "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" "-I.\release" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" "-I.\GeneratedFiles"</Command> <Message Condition="'(Configuration)|(Platform)'=='Release|Win32'">Moc%27ing DaqDemo.h...</Message> <Command Condition="'(Configuration)|(Platform)'=='Debug|Win32'">"(QTDIR)\bin\moc.exe” “%(FullPath)” -o “(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB "-ID:\Programes\Windows Kits 8\Include" "-I." "-I.\..\..\inc" "-I.\..\..\.." "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" "-I.\debug" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" "-I.\GeneratedFiles"</Command> <Message Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Moc%27ing DaqDemo.h...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(ConfigurationName)\moc_%(Filename).cpp
(ConfigurationName)\moc_%(Filename).cpp</Outputs> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(QTDIR)\bin\moc.exe;%(FullPath)
(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs> </CustomBuild> <ClInclude Include="DaqView.h" /> <ClInclude Include="DaqViewImg.h" /> <CustomBuild Include="TgcDlg.h"> <Command Condition="'(Configuration)|(Platform)'=='Release|Win32'">"(QTDIR)\bin\moc.exe” “%(FullPath)” -o “(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG "-I." "-I.\..\..\inc" "-I.\..\..\.." "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" "-I.\release" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" "-I.\GeneratedFiles"</Command> <Message Condition="'(Configuration)|(Platform)'=='Release|Win32'">Moc%27ing TgcDlg.h...</Message> <Command Condition="'(Configuration)|(Platform)'=='Debug|Win32'">"(QTDIR)\bin\moc.exe” “%(FullPath)” -o "(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB "-ID:\Programes\Windows Kits 8\Include" "-I." "-I.\..\..\inc" "-I.\..\..\.." "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtWidgets" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtGui" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtANGLE" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\include\QtCore" "-I.\debug" "-I.\..\..\..\..\PROGRAMES\QT\QT5.6.0(32)\5.6\MSVC2013\mkspecs\win32-msvc2013" "-I.\GeneratedFiles"</Command> <Message Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Moc%27ing TgcDlg.h...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(ConfigurationName)\moc_%(Filename).cpp
(ConfigurationName)\moc_%(Filename).cpp</Outputs> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(QTDIR)\bin\moc.exe;%(FullPath)
(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs> </CustomBuild> <ClInclude Include="GeneratedFiles\ui_adv.h" /> <ClInclude Include="GeneratedFiles\ui_daq.h" /> <ClInclude Include="GeneratedFiles\ui_tgc.h" /> <ClInclude Include="TgcView.h" /> <ClInclude Include="stdafx.h" /> </ItemGroup> <ItemGroup> <CustomBuild Include="adv.ui"> <FileType>Document</FileType> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Release|Win32'">(QTDIR)\bin\uic.exe;%(AdditionalInputs)
"(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command> <Message Condition="'(Configuration)|(Platform)'=='Release|Win32'">Uic%27ing %(Identity)...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(QTDIR)\bin\uic.exe;%(AdditionalInputs)
"(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command> <Message Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Uic%27ing %(Identity)...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs> </CustomBuild> <CustomBuild Include="daq.ui"> <FileType>Document</FileType> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Release|Win32'">(QTDIR)\bin\uic.exe;%(AdditionalInputs)
"(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command> <Message Condition="'(Configuration)|(Platform)'=='Release|Win32'">Uic%27ing %(Identity)...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(QTDIR)\bin\uic.exe;%(AdditionalInputs)
"(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command> <Message Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Uic%27ing %(Identity)...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs> </CustomBuild> <CustomBuild Include="tgc.ui"> <FileType>Document</FileType> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Release|Win32'">(QTDIR)\bin\uic.exe;%(AdditionalInputs)
"(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command> <Message Condition="'(Configuration)|(Platform)'=='Release|Win32'">Uic%27ing %(Identity)...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">(QTDIR)\bin\uic.exe;%(AdditionalInputs)
(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command> <Message Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Uic%27ing %(Identity)...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs> </CustomBuild> </ItemGroup> <ItemGroup> <CudaCompile Include="CUDA.cu"> <FileType>Document</FileType> <CudaRuntime Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Static</CudaRuntime> </CudaCompile> <None Include="images\checkbox_checked.png"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> <None Include="images\checkbox_unchecked.png"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> <CustomBuild Include="daq.qrc"> <FileType>Document</FileType> <AdditionalInputs Condition="'(Configuration)|(Platform)'=='Release|Win32'">%(FullPath);.\images\checkbox_checked.png;.\images\checkbox_unchecked.png;.\images\radio_checked.png;.\images\radio_unchecked.png;.\stylesheets\dark.qss;.\res\stop.png;.\res\init.png;.\res\run.png;.\res\u.ico;%(AdditionalInputs)</AdditionalInputs> <Command Condition="'(Configuration)|(Platform)'=='Release|Win32'">"(QTDIR)\bin\rcc.exe” -name “%(Filename)” -no-compress “%(FullPath)” -o .\GeneratedFiles\qrc_%(Filename).cpp
Rcc%27ing %(Identity)…
.\GeneratedFiles\qrc_%(Filename).cpp;%(Outputs)
%(FullPath);.\images\checkbox_checked.png;.\images\checkbox_unchecked.png;.\images\radio_checked.png;.\images\radio_unchecked.png;.\stylesheets\dark.qss;.\res\stop.png;.\res\init.png;.\res\run.png;.\res\u.ico;%(AdditionalInputs)
(QTDIR)\bin\rcc.exe" -name "%(Filename)" -no-compress "%(FullPath)" -o .\GeneratedFiles\qrc_%(Filename).cpp</Command> <Message Condition="'(Configuration)|(Platform)'=='Debug|Win32'">Rcc%27ing %(Identity)...</Message> <Outputs Condition="'(Configuration)|(Platform)'=='Debug|Win32'">.\GeneratedFiles\qrc_%(Filename).cpp;%(Outputs)</Outputs> </CustomBuild> <None Include="stylesheets\dark.qss"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> <None Include="res\init.png"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> <None Include="images\radio_checked.png"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> <None Include="images\radio_unchecked.png"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> <None Include="res\run.png"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> <None Include="res\stop.png"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> <None Include="res\u.ico"> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'(Configuration)|(Platform)'=='Release|Win32'">true</ExcludedFromBuild> </None> </ItemGroup> <Import Project="(VCTargetsPath)\Microsoft.Cpp.targets” />








I think I matched all of the install locations and versions of the each program.
Please help me.
Thanks, Jeune

The problem is here:

D:/sdkk_6.1.3.beta_cpy/daq/demo_7/qt_singleCUDA/CUDA.cu(89): error : expected an expression

what is at line 89 of that file?

@ line 89

cudaMemcpy2D(bfdata,
	sizeof(double)*nCols,
	d_bfdata,
	bf_pitch,
	sizeof(double)*nCols,
	nRows,
	cudaMemcpyDeviceToHost);

and there is no any red line or warning in the editor.

It would help if compilers would state what they found instead of the expression they were expecting in order to more quickly locate these kind of syntax errors.

The code shown in #3 is either not the correct line, or not copied verbatim, or the error is in a preceding line but triggers once the compiler gets to line 89. It’s also possible that the error refers to a preceding #ifdef or #if preprocessor macro, in which case it may be a software configuration issue. Is the version of the software you are trying to build officially compatible with CUDA 6.5 and MSVC 2013?

Consider asking for help in forums relevant to the software you are trying to build, which may be the QT forums: https://forum.qt.io/