Error oclMultiThreads Example
I get example form [url]https://developer.nvidia.com/opencl[/url] OpenCL Multi Threads and open with visual studio 2010. I open project form NVIDIA GPU Computing SDK\OpenCL\src\oclMultiThreads\oclMultiThreads_vs2008.sln when I run project have error like this . [code] 1>------ Build started: Project: oclUtils, Configuration: Debug x64 ------ 2>------ Build started: Project: shrUtils, Configuration: Debug x64 ------ 1>Build started 8/29/2013 7:32:18 PM. 2>Build started 8/29/2013 7:32:18 PM. 1>InitializeBuildStatus: 1> Touching "Debug\oclUtils.unsuccessfulbuild". 2>InitializeBuildStatus: 2> Creating "x64/Debug\shrUtils.unsuccessfulbuild" because "AlwaysCreate" was specified. 1>ClCompile: 1> All outputs are up-to-date. 2>ClCompile: 1> oclUtils.cpp 2> cmd_arg_reader.cpp 1> Note: including windows.h 1> Note: including math.h 1> Note: including assert.h 2>C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\shared\inc\cmd_arg_reader.h(25): fatal error C1083: Cannot open include file: 'exception.h': No such file or directory 2> shrUtils.cpp 2> Note: including windows.h 2> Note: including math.h 2> Note: including assert.h 1> Note: including shrUtils.h 1> Note: including opencl.h 2>C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\shared\inc\cmd_arg_reader.h(25): fatal error C1083: Cannot open include file: 'exception.h': No such file or directory 2> Generating Code... 2> 2>Build FAILED. 2> 2>Time Elapsed 00:00:01.82 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\OpenCL\common\lib/x64\oclUtils.lib) does not match the Library's OutputFile property value (C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\OpenCL\common\lib\x64\oclUtils64D.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(oclUtils) does not match the Library's OutputFile property value (oclUtils64D). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). 1>Lib: 1> oclUtils_vs2008.vcxproj -> C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\OpenCL\common\lib/x64\oclUtils.lib 1>PostBuildEvent: 1> A subdirectory or file ..\bin\Win64\Debug already exists. 1> The system cannot find the path specified. 1> The system cannot find the file specified. 1> *.bat 1> 0 file(s) copied. 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "mkdir ..\bin\Win64\Debug 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: copy ..\..\shared\bin\win64\Debug\*.dll ..\bin\Win64\Debug 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: copy *.bat ..\bin\Win64\Debug 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1. 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:02.42 3>------ Build started: Project: oclMultiThreads, Configuration: Debug x64 ------ 3>Build started 8/29/2013 7:32:20 PM. 3>InitializeBuildStatus: 3> Touching "Debug\oclMultiThreads.unsuccessfulbuild". 3>ClCompile: 3> All outputs are up-to-date. 3> oclMultiThreads.cpp 3> Note: including windows.h 3> Note: including math.h 3> Note: including assert.h 3> Note: including time.h 3> Note: including windows.h 3> Note: including math.h 3> Note: including assert.h 3> Note: including shrUtils.h 3> Note: including opencl.h 3> multithreading.cpp 3> Generating Code... 3>ManifestResourceCompile: 3> All outputs are up-to-date. 3>LINK : fatal error LNK1104: cannot open file 'shrUtils64D.lib' 3> 3>Build FAILED. 3> 3>Time Elapsed 00:00:02.39 ========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ========== [/code] Who can help me ? thank wijuk
I get example form https://developer.nvidia.com/opencl OpenCL Multi Threads and open with visual studio 2010. I open project form NVIDIA GPU Computing SDK\OpenCL\src\oclMultiThreads\oclMultiThreads_vs2008.sln when I run project have error like this .

1>------ Build started: Project: oclUtils, Configuration: Debug x64 ------
2>------ Build started: Project: shrUtils, Configuration: Debug x64 ------
1>Build started 8/29/2013 7:32:18 PM.
2>Build started 8/29/2013 7:32:18 PM.
1>InitializeBuildStatus:
1> Touching "Debug\oclUtils.unsuccessfulbuild".
2>InitializeBuildStatus:
2> Creating "x64/Debug\shrUtils.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> All outputs are up-to-date.
2>ClCompile:
1> oclUtils.cpp
2> cmd_arg_reader.cpp
1> Note: including windows.h
1> Note: including math.h
1> Note: including assert.h
2>C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\shared\inc\cmd_arg_reader.h(25): fatal error C1083: Cannot open include file: 'exception.h': No such file or directory
2> shrUtils.cpp
2> Note: including windows.h
2> Note: including math.h
2> Note: including assert.h
1> Note: including shrUtils.h
1> Note: including opencl.h
2>C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\shared\inc\cmd_arg_reader.h(25): fatal error C1083: Cannot open include file: 'exception.h': No such file or directory
2> Generating Code...
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:01.82
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\OpenCL\common\lib/x64\oclUtils.lib) does not match the Library's OutputFile property value (C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\OpenCL\common\lib\x64\oclUtils64D.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(oclUtils) does not match the Library's OutputFile property value (oclUtils64D). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
1>Lib:
1> oclUtils_vs2008.vcxproj -> C:\Users\wijuk\Desktop\NVIDIA GPU Computing SDK\OpenCL\common\lib/x64\oclUtils.lib
1>PostBuildEvent:
1> A subdirectory or file ..\bin\Win64\Debug already exists.
1> The system cannot find the path specified.
1> The system cannot find the file specified.
1> *.bat
1> 0 file(s) copied.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "mkdir ..\bin\Win64\Debug
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: copy ..\..\shared\bin\win64\Debug\*.dll ..\bin\Win64\Debug
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: copy *.bat ..\bin\Win64\Debug
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073:
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.42
3>------ Build started: Project: oclMultiThreads, Configuration: Debug x64 ------
3>Build started 8/29/2013 7:32:20 PM.
3>InitializeBuildStatus:
3> Touching "Debug\oclMultiThreads.unsuccessfulbuild".
3>ClCompile:
3> All outputs are up-to-date.
3> oclMultiThreads.cpp
3> Note: including windows.h
3> Note: including math.h
3> Note: including assert.h
3> Note: including time.h
3> Note: including windows.h
3> Note: including math.h
3> Note: including assert.h
3> Note: including shrUtils.h
3> Note: including opencl.h
3> multithreading.cpp
3> Generating Code...
3>ManifestResourceCompile:
3> All outputs are up-to-date.
3>LINK : fatal error LNK1104: cannot open file 'shrUtils64D.lib'
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:02.39
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========


Who can help me ?

thank

wijuk

#1
Posted 08/29/2013 12:30 PM   
Scroll To Top

Add Reply