Optix - Cuda_runtime_api

Hi,

I used the Glass sample program from the Optix SDK to create a new one for my porposes…
Now, I would like to merge it with the VideoDecodeGL, to be able to grab video frame and to use it to a texture in Optix.

When I try to compile my project with the cuda_runtime_api included (#include <cuda_runtime_api.h>)
I get the error LNK2019: unresolved external symbol "__delspec(dllimport) class optix::Handle __cdecl loadTexture(class optix::Handle<class optix:: …

I work under Visual Studio 2008
CUDA 4.0
OPTIX 2.1.1
Seven 64bit

Thanks for the help.
Adam

It seams thet You don’t have a library containing the definition of the ‘loadTexture’ routine linked to Your project.

MK