Link2019 errors

Hi Im currently using 9800GT and windows platform for programming. I made my OpenGL, CUDA interlop program based on simpleGL. I checked the property of simpleGL and made them similar except for mine, I made the property to ignore libcmt.lib. Then I get Link2019 errors related to those functions in
cutil.h header file. Following are the errors from debugging window

1>Linking…
1>Resampling_GL.obj : error LNK2019: unresolved external symbol __imp__cutCheckCmdLineFlag@12 referenced in function _main
1>Resampling_GL.obj : error LNK2019: unresolved external symbol __imp__cutGetAverageTimerValue@4 referenced in function “void __cdecl computeFPS(void)” (?computeFPS@@YAXXZ)
1>Resampling_GL.obj : error LNK2019: unresolved external symbol “public: __thiscall CheckBackBuffer::CheckBackBuffer(unsigned int,unsigned int,unsigned int,bool)” (??0CheckBackBuffer@@QAE@III_N@Z) referenced in function “enum CUTBoolean __cdecl runTest(int,char * *)” (?runTest@@YA?AW4CUTBoolean@@HPAPAD@Z)
1>Resampling_GL.obj : error LNK2019: unresolved external symbol __imp__cutCreateTimer@4 referenced in function “enum CUTBoolean __cdecl runTest(int,char * *)” (?runTest@@YA?AW4CUTBoolean@@HPAPAD@Z)
1>Resampling_GL.obj : error LNK2019: unresolved external symbol __imp__cutGetCmdLineArgumenti@16 referenced in function “int __cdecl cutilDeviceInit(int,char * *)” (?cutilDeviceInit@@YAHHPAPAD@Z)
1>Resampling_GL.obj : error LNK2019: unresolved external symbol __imp__cutStopTimer@4 referenced in function “void __cdecl display(void)” (?display@@YAXXZ)
1>Resampling_GL.obj : error LNK2019: unresolved external symbol __imp__cutStartTimer@4 referenced in function “void __cdecl display(void)” (?display@@YAXXZ)
1>Resampling_GL.obj : error LNK2019: unresolved external symbol __imp__cutDeleteTimer@4 referenced in function “void __cdecl cleanup(void)” (?cleanup@@YAXXZ)
1>C:\Users\RETINALOCT2\Desktop\Jay\OCTProcessor\gpu_testers\GL_With_Rendering\Debug\Resampling_GL.exe : fatal error LNK1120: 8 unresolved externals

Can somebody tell me why this will help Im using following headers in my code. Thanks.

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>

// Graphics includes
#include <GL/glew.h>
#include <GL/glut.h>

// includes CUDA <–> C++ interlops
#include <cuda_runtime_api.h>
#include <cutil_inline.h>
#include <cutil_gl_inline.h>
#include <cutil_gl_error.h>
#include <cuda_gl_interop.h>
#include <vector_types.h>
#include <rendercheck_gl.h>

hi!

add cutil library to your project.

Thanks that helped me. However, somehow my program compiles but cannot start since it throws

The program can’t start because cutil32D.dll is missing from your computer. Try reinstalling the program to fix this problem.

I found cutil32D.dll on computer and also added path

C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\bin\win32\Debug

to additional library dependency so that my program can find cutil32D.dll. Still I cannot resolve my problem. Does anyone know why this is happening? Thank you

Actually I solve the problem by adding cutil32D.dll on C:\Windows\System32

However my program says that Im having invalid resource handle at

cutilSafeCall(cudaGraphicsMapResources(1, &cuda_pbo_resource, 0));

Does anyone recognize the problem? Thanks

Part where Im getting that error is

void runCuda(struct cudaGraphicsResource **pbo_resource) {

// Map buffer object for writing from CUDA 
float4* pix_buff;
cutilSafeCall(cudaGraphicsMapResources(1, pbo_resource, 0)); <- Here
size_t num_bytes; 
cutilSafeCall(cudaGraphicsResourceGetMappedPointer((void **)&pix_buff, &num_bytes, *pbo_resource));
launch_kernel(&sum, original_cpu, &frame, d_in, &k_resampledspacing, dc_subtracted, resamp_1D, pix_buff);

// Unmap buffer object 
cutilSafeCall(cudaGraphicsUnmapResources(1, pbo_resource, 0));

}