Warning in Szeta Matlab Plugin Compiling

Hi everybody,

I’m trying to compile the examples provided in the Matlab Plugin zip. All works fine (VS2005 and Matlab R2007a) but I get some warnings when I compile the file in Matlab and I would like to know what they mean:

[codebox]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”

C:\Archivos de programa\Microsoft Visual Studio 8\VC\INCLUDE\time.h(176): here; dllimport/dllexport dropped

tmpxft_00000fec_00000000-3_Szeta.cudafe1.gpu

tmpxft_00000fec_00000000-8_Szeta.cudafe2.gpu

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

C:\Archivos de programa\Microsoft Visual Studio 8\VC\INCLUDE\time.h(176): here; dllimport/dllexport dropped

tmpxft_00000fec_00000000-3_Szeta.cudafe1.cpp [/codebox]

Thank you, greetings

I can’t help you because i also want to know that. I get the same error if i want to compile any *.cu file.

The positive thing is:
Szeta.mexw32 works (with >>FS_vortex )
and also if i compile the square_me.c from the white paper (Accelerating MATLAB with CUDA, Sept 2007) it works. I just had to change the name to square_me.cu;

I run MTLAB R2007a and Visual C++ 2005 Express + SDK (installed as described in http://www.mathworks.com/support/solutions…lution=1-5C27B9 ) on winXP 32;

other topics dealing with that problem (but i could not find a solution there, even i tried various *pl and nvmexopt.bat files from there):

http://forums.nvidia.com/index.php?showtopic=67538
http://forums.nvidia.com/index.php?showtopic=66961
http://forums.nvidia.com/index.php?showtopic=74210