Error message ">LINK : fatal error LNK1104: cannot open file 'cudart.lib' "..

Hi,
I got this error message when I tried to code using cuda 4.1 in visual studio 2008. Could anyone tell me how to solve this error. “cudart.lib” file is present in nvidia folder. Should I change any path setting?

Thanks in advance

add cudart.lib and the correct path to cudart.lib to the project library settings

Thanks for the reply…but could you please tell me how to add the path to project library. In fact I am very new to this visual studio platform and cuda. It would be grateful if you could help me with steps.

Thank you txbob

1 Like