link error using nvmex in matlab

hi,

I`m using Matlab 7.3.0(R2006b) and Microsoft Visual Studio 8.

I downloaded the newest matlab plugin for cuda:

http://developer.nvidia.com/object/matlab_cuda.html

Now I try to run the examples in the readme file. Everything works fine, but linking with nvmex doesnt work:

nvmex -f nvmexopts.bat Szeta.cu -IC:\cuda\include -LC:\cuda\lib -lcufft -lcudart

Szeta.cu 

c:\cuda\include\common_functions.h(56): warning: dllexport/dllimport conflict 

		  with "clock" (declared at line 176 of "C:\Programme\Microsoft Visual 

		  Studio 8\VC\INCLUDE\time.h"); dllimport/dllexport dropped 

tmpxft_000003c0_00000000-3_Szeta.cudafe1.gpu 

tmpxft_000003c0_00000000-8_Szeta.cudafe2.gpu 

c:\cuda\include\common_functions.h(56): warning: dllexport/dllimport conflict 

		  with "clock" (declared at line 176 of "C:\Programme\Microsoft Visual 

		  Studio 8\VC\INCLUDE\time.h"); dllimport/dllexport dropped 

tmpxft_000003c0_00000000-3_Szeta.cudafe1.cpp 

cl : Befehlszeile warning D9025 : "/EHc-" wird durch "/EHc" berschrieben 

C:\PROGRA~1\MATLAB\R2006B\BIN\NVMEX.PL: Error: Link of 'Szeta.mexw32' failed. 

??? Error using ==> nvmex

Unable to complete successfully.

How can i get this running?

best Regards

Michael

I had the same problem when I tried this in Windows. I think I solved it by installing the Windows SDK ( I am using VC++2005 express though) and setting the paths in the nvmexopts.bat file to point to the SDK, as well as ensuring that none of the paths had spaces in them (I can’t remember why, but something seemed to have a problem with them.)

Hopefully that was all I did, cause it works now on my machine.

I have the same error and I don’t know what I can do to solve it can you plz tell me what paths to replace in the nvmexopts.bat

thanks