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