cuda_gl_interop.h emudebug linker problems trying to compile emu debug version

Hello!

i’m trying to compile a emu debug build of some project. Since that didn’t work I simply tried to extend the template project until i could reproduce the problem. Well the linking problem occurs right after I simply include the line

include <cuda_gl_interop.h>

to the template project:

/* Template project which demonstrates the basics on how to setup a project 

* example application.

* Host code.

*/

// includes, system

#include <stdlib.h>

#include <stdio.h>

#include <string.h>

#include <math.h>

// includes, project

#include <cutil.h>

#include <cuda_gl_interop.h>  //this line added to template project

// includes, kernels

...

This results in errors:

I’m running Vista 32 bit, and have installed all the newest driver, toolkit and sdk.

Do you have any suggestion what is going wrong here? :blink:

I appreciate your support!!!

Raphael

Did you ever find a solution to this?
I am seeing the same set of errors when I try to compile some example code from
DR. Dobbs CUDA article

Everything was compiling fine until I added in the “Perlin” .cpp and .cu files.

Steve

You can try to delete the code “include <cutil_gl_inline.h> include <cuda_gl_interop.h>” in the perlinKernelPBO.cu file.