Can not compile *.cu file internal error

Hi everybody.
I got error when i was trying to compile my *.cu file.
in my “image.h” file, i define some truct.
in my “CalculationCPU.cpp” file, i use these structure.
and my “” file, i use these structure too.
but when i compile “” file, i got error:

C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(870): internal error: assertion failed at: “D:/Bld/rel/gpgpu/toolkit/r2.0/compiler/edg/EDG_3.9/src/lower_name.c”, line 4179
1 catastrophic error detected in the compilation of “C:\DOCUME~1\vinh\LOCALS~1\Temp/tmpxft_00000e70_00000000-6_CalculationGPUKernel1.cpp1.ii”.

does anybody knows why, please help me.
thank you very much.

Check the file names in your project. I got the same catastrophic error if I had defined a file named “string.h” in the working directory. In my own project I had defined a string class with the above mentioned filename with an include reference to . This is perhaps causing recursion within the nvcc compiler.

You need service pack one to make this work.
Some windows header files have erros in them
that make them not compile with nvcc.

Please update to MSVC 8.0 SP1.

Yes, it works.

thank you very much.