CUDA wrapper

Seth Shelnutt shelnutt2 at gmail.com
Mon Jul 7 16:51:01 CDT 2008


I have #include <GL/gl.h>, maybe I do not have my makefile correct. I've
attached the makefile, the cudart.c and all the nvidia header's need (14 of
them) in one tar.bz2 file. Can someone check my makefile and all? I read
through the nvidia license and it is ok to redistribute the headers.

On Mon, Jul 7, 2008 at 5:29 PM, Juan Lang <juan.lang at gmail.com> wrote:

> > cudart.c:261: error: expected ')' before 'bufferObj'
> > cudart.c:265: error: expected declaration specifiers or '...' before
> > 'GLuint'
> >
> > cudaError_t WINAPI wine_cudaGLRegisterBufferObject( GLuint bufferObj ){
>
> Check your includes again.  GLuint is defined in <GL/gl.h> here.
> --Juan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20080707/c45ac24a/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cudart.c
Type: text/x-csrc
Size: 11481 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080707/c45ac24a/attachment-0001.c 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cudart.dll.spec
Type: text/x-rpm-spec
Size: 8386 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080707/c45ac24a/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 2313 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080707/c45ac24a/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cuda-headers.tar.bz2
Type: application/x-bzip2
Size: 7982 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080707/c45ac24a/attachment-0003.bin 


More information about the wine-devel mailing list