Compilation Error

HI there…

I am facing a problem during compilation of my code.

Everytime I compile .cu file following error occurs.

C:\Program Files\Microsoft Visual Studio 9.0\VC\bin>nvcc warning: return type of function “main” must be “int”

nvopencc WARNING: /lib does not contain all of the Open64 compiler phases.
nvopencc ERROR: Could not create process /lib/gfec.exe -O3 -dx -quiet -m32 -fpre
processed -fbuiltin -dumpbase C:\DOCUME~1\NISH~1.NIS\LOCALS~1\Temp/tmpxft_00002c
c0_00000000-9_mat1mod.cpp3.i C:\DOCUME~1\NISH~1.NIS\LOCALS~1\Temp/tmpxft_00002cc
0_00000000-9_mat1mod.cpp3.i -o C:/DOCUME~1/NISH~1.NIS/LOCALS~1/Temp/ccB#.a11608.
Windows error code 3

Can any1 plz help me with this…I have my project submission next week…

Thank You.

How about if you run SDK samples, does it work?
In host code *.cu
->properties->Custom build step->Command line
(CUDA_BIN_PATH)\nvcc.exe -ccbin "(VCInstallDir)bin" -c -DNEBUG -DWIN32 -D_CONSOLE -D_UNICODE -DUNICODE -Xcompiler /EHsc,/W3,/nologo,/Wp64,/O2,/GL,/Zi,/MT -I"(CUDA_INC_PATH)" -I./ -o (ConfigurationName)$(InputName).obj (InputFileName)[/b] ->properties->Outputs [b](ConfigurationName)$(InputName).obj