title: How do I start a new CUDA project in Visual Studio 2008?
body: <p>This is an incredibly basic question, but how do I start a new CUDA project in Visual Studio 2008?  I have found tons and tons of documentation about CUDA related matters, but nothing about how to start a new project.  I am working with Windows 7 x64 Visual Studio 2008 C++.  I would really like to find some sort of really really basic Hello World app to just get a basic program compiling and running.</p>
  
  <p>Edit:</p>
  
  <p>I tried your steps Tom.  I setup a console app.  I then deleted the default .cpp it drops in and copied over the three files from the template project just to have something to compile.  When I compile that, template_gold.cpp complained about not having stdafx.h included, so i included that.  Now the build fails with this:</p>
  
  <pre>
  1>------ Build started: Project: CUDASandbox, Configuration: Debug x64 ------
  1>Compiling...
  1>template_gold.cpp
  1>Linking...
  1>LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup
  1>D:\Stuff\Programming\Visual Studio 2008\Projects\CUDASandbox\x64\Debug\CUDASandbox.exe : fatal error LNK1120: 1 unresolved externals
  1>Build log was saved at "file://d:\Stuff\Programming\Visual Studio 2008\Projects\CUDASandbox\CUDASandbox\x64\Debug\BuildLog.htm"
  1>CUDASandbox - 2 error(s), 0 warning(s)
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </pre>