I have just installed the CUDA Toolkit with Visual Studio integrations on a Windows 8 machine. When I try to compile the samples many of them fail with errors like
fatal error C1083: Cannot open include file: 'helper_functions.h': No such file or directory
The problem seems to be that the current directory during a build is not the usual (ProjectDir) but instead is the user's Documents directory. Because many paths in the project properties are defined relative to (ProjectDir), they fail to get resolved.
Can anyone suggest how I can fix this?