Cuda begginer how can i begin with cuda

Hello !

I am a begginer developper and i try to start a cuda project
I use visual studio 2008, cuda 4.0
I an run the exercise without problem

but now i try to use nvcc and vc90
I have in main.cpp

#include “cudatool.h”

int main(int argc, char *argv)
{
int *a = (int *)malloc(sizeof(int) * 2);
a[0] = 2;
a[1] = 3;
printf( “a[0]: %d, a[1]: %d\n”, a[0], a[1] );
kernel_wrapper(a);
printf( “a[0]: %d, a[1]: %d\n”, a[0], a[1] );
free(a);
return 0;
}

in cudatool.h

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cuda.h>
#include <cuda_runtime.h>

void kernel_wrapper(int *a);

in cudatool.cu

#include “cudatool.h”

void kernel_wrapper(int *a)
{

int tot=0;
tot+=1;

}

I have no problems in the compilation, but there is one problem on the building
error LNK2019: symbole externe non résolu “void __cdecl kernel_wrapper(int *)” (?kernel_wrapper@@YAXPEAH@Z) référencé dans la fonction main

==> how can i fix it ?