Hello World C++ CUDA Program in Visual Studio 2010 (Windows 7)

后端 未结 4 834
既然无缘
既然无缘 2021-02-10 13:58

I am trying to compile this Hello World program in Windows 7 with Visual Studio 2010 installed, but I get the following error message when I run nvcc hellocuda.cu:<

4条回答
  •  旧时难觅i
    2021-02-10 14:29

    If you keep having problems getting it working with MSVC10, bear in mind that you can download the Express version of MSVC9 (i.e. the 2008 version) for free -- so you can always download it and compile with that instead. But I would try swatkat's workaround first :)

    Here's the link:

    http://www.microsoft.com/express/Downloads/

提交回复
热议问题