How can I use the 'cutCreateTimer' function


How can I use the ‘cutCreateTimer’ function? I get the error:

Error: 5error LNK2019: unresolved external symbol __imp__cutCreateTimer@4 referenced in function _CuAddVector cuda.obj

Is there a special header file or lib, that I have to include? It does not work with cutil.h.

Thanks in advance!


when I’m using a timer, I use cutil.h and cutil32D.lib and it works fine.

Hope it helps !


Thanks for your answer! I use both of them, but it still doesn’t work. I can compile the cu-file (where I used the function) without errors. The errors appear, when I build the solution or project.

Ok, now it works! :whistling:

I forgot to add cutil32D.lib Project->Properties->Configuration Properties->Linker->Input->Additional Dependencies.