Actually I’m not familar with command line compilation :"> but now I need compile and execute my project using it. In nvcc description I found “-run” option but I can’t understand it’s whole syntax. I make such thing:
Thanks, but your variant generates same errors on the linkage step (buy the way I add -ccbin option because without it your variant doesn’t work). I suppose that I didn’t add some directories to the rule file or something like that.
Oh, I guess I should have noticed the problem in your first post. The undefined reference is in the cutil library, it is in the NVIDIA SDK directory somewhere. I’m probably getting the file name wrong since I’m going on memory, but you should be able to figure it out. I don’t think you need any command line to specify a library to link, but I’ve never tried this myself.