Hi all,
I have problems when compiling the sample code in the plugin cuda for matlab. I’ve seen discussions about that, and I tried to fix it with some solutions proposed there, but it didn’t work, and I need heeeelp please.
Here is the command line and the error that I got:
nvmex -f nvmexopts.bat Szeta.cu -ID:\CUDA\include -LD:\CUDA\lib -lcudart -lcufft
Szeta.cu
d:\cuda\include\common_functions.h(56): warning: dllexport/dllimport conflict with "clock"
D:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\time.h(176): here; dllimport/dllexport dropped
tmpxft_00000480_00000000-3_Szeta.cudafe1.gpu
tmpxft_00000480_00000000-8_Szeta.cudafe2.gpu
d:\cuda\include\common_functions.h(56): warning: dllexport/dllimport conflict with "clock"
D:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\time.h(176): here; dllimport/dllexport dropped
tmpxft_00000480_00000000-3_Szeta.cudafe1.cpp
clÿ: Ligne de commande warning D9025ÿ: substitution de '/EHc-' par '/EHc'
D:\PROGRA~1\MATLAB\R2007B\BIN\NVMEX.PL: Error: Link of 'Szeta.mexw32' failed.
??? Error using ==> nvmex at 206
Unable to complete successfully.
for more information: I use
windows XP, 32 bits
Matlab R2007b
visual c++ express edition 2005
Nvidia Qaudro NVS 290
plugin Matlab_cuda v1.1 (I tried also the older version)
I am new with Cuda, and I don’t really understand how can I fix it… So I’ll be gratfull if some one has an idea. Thanks
- foufou -