找回密码
 立即注册
tengwl 该用户已被删除
发表于 2013-7-8 15:21:17
8491
本帖最后由 tengwl 于 2013-7-8 15:22 编辑

使用CUDA4.2编译SDK中的例子volumeRender,我的显卡是GTX660 Ti,计算能力是3.0。当Code Generation = compute_30,sm_30时,出现以下错误:

1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : expected a ";"
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : "#" not expected here
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(1): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(2): error : missing closing quote
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(3): error : missing closing quote
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(4): error : missing closing quote
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>C:/CUDA/Toolkit/v4.2/nvvm/ci_include.h(5): error : unrecognized token
1>  
1>c:\cuda\toolkit\v4.2\include\driver_types.h(636): error : identifier "size_t" is undefined
1>  
1>c:\cuda\toolkit\v4.2\include\driver_types.h(637): error : identifier "size_t" is undefined
1>  
1>c:\cuda\toolkit\v4.2\include\driver_types.h(638): error : identifier "size_t" is undefined
1>  
1>c:\cuda\toolkit\v4.2\include\driver_types.h(647): error : identifier "size_t" is undefined
1>  
1>c:\cuda\toolkit\v4.2\include\driver_types.h(648): error : identifier "size_t" is undefined
1>  
1>c:\cuda\toolkit\v4.2\include\driver_types.h(649): error : identifier "size_t" is undefined
1>  
1>c:\cuda\toolkit\v4.2\include\driver_types.h(658): error : identifier "size_t" is undefined


这是怎么回事呢?

使用道具 举报 回复
发表于 2013-7-8 19:35:26
楼主您好,根据NV官方说明,SDK Examples不是CUDA的一部分,也不享受任何技术支持。

因为无法对此提供任何技术支持,您的帖子将被移动到灌水专区。
使用道具 举报 回复 支持 反对
发新帖
您需要登录后才可以回帖 登录 | 立即注册

zzczczxczxczx