To all guys in this forum, please help me ! I tried to debug oceanFFT (NVIDIA CUDA project’s)
ang got the result below.
================================================== ============================
------ Build started: Project: oceanFFT, Configuration: Debug Win32 ------
Performing Custom Build Step
nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 7.1 and MSVC 8.0 are supported
Compiling…
cl : Command line warning D9035 : option ‘Wp64’ has been deprecated and will be removed in a future release
oceanFFT.cpp
Linking…
LINK : fatal error LNK1181: cannot open input file ‘.\Debug\oceanFFT_kernel.obj’
Build log was saved at “file://e:\oceanFFT\Debug\BuildLog.htm”
oceanFFT - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
================================================== ============================
In linker–>input–>add dependencies, I add nothing coz I guess it can be no problem.
Although I add cutil lib, cutil32.lib and cutil32D.lib, the result doesn’t change.
All the lib, header, dll files’ve been placed in the right place and the header code in oceanFFT.cpp like this ;
================================================== =======================
#ifdef _WIN32
define WINDOWS_LEAN_AND_MEAN
define NOMINMAX
include <windows.h>
// includes
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <GL/glew.h>
#include <cuda_runtime.h>
#include <cutil.h>
#include <cutil_gl_error.h>
#include <cuda_gl_interop.h>
#include <cufft.h>
#include <math_constants.h>
#if defined(APPLE) || defined(MACOSX)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include <rendercheck_gl.h>
#define MAX_EPSILON 5
================================================== ==========================
What should I do to run oceanFFT successfully and how to link “.\Debug\oceanFFT_kernel.obj” ?
I really feel strange in this case. Anyone who know it, please tell me the way.
Thank’s for quick and easy registration in this forum.