无法使用mingw编译opencl应用程序

时间:2013-02-26 11:39:19

标签: opencl

我使用了以下

mingw32-gcc -std=c99 -Wall -o vec_addition vec_addition.c -I"c:\Program Files\ATI Stream\include" -L"c:\Program Files\ATI Stream\lib\x86" -lOpenCL

但我一直在

  

c:\ Program Files \ ATI Stream \ include / CL / cl_platform.h:75:1:错误:   未知类型名称'int8_t'c:\ Program Files \ ATI   Stream \ include / CL / cl_platform.h:76:1:错误:未知类型名称   'uint8_t'c:\ Program Files \ ATI Stream \ include / CL / cl_platform.h:77:1:   错误:未知类型名称'int16_t'c:\ Program Files \ ATI   Stream \ include / CL / cl_platform.h:78:1:错误:未知类型名称   'uint16_t'c:\ Program Files \ ATI Stream \ include / CL / cl_platform.h:79:1:   错误:未知类型名称'int32_t'c:\ Program Files \ ATI   Stream \ include / CL / cl_platform.h:80:1:错误:未知类型名称   'uint32_t'c:\ Program Files \ ATI Stream \ include / CL / cl_platform.h:81:1:   错误:未知类型名称'int64_t'c:\ Program Files \ ATI   Stream \ include / CL / cl_platform.h:82:1:错误:未知类型名称   'uint64_t'c:\ Program Files \ ATI Stream \ include / CL / cl_platform.h:83:1:   错误:未知类型名称'uint16_t'

我还使用了reimp工具从相应的lib生成libopencl.a。

任何建议都将不胜感激。

0 个答案:

没有答案