cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Gaetan
Journeyman III

Library conflict

conflict in ATI Stream code compilation

Hello everybody,

 

I am currently working on developping solutions with ATI Stream technology.

So I use Visual Studio to create my project, but I found the following error when compiling : (see attachment).

The use of /NODEFAULTLIB creates much more errors...

 

Did you know a solution to this problem ?

 

Best regards,

 

Gaétan

 

 

1>------ generation beging : Project : HelloCL, Configuration : Release Win32 ------ 1>Compilating... 1>Time.cpp 1>LDFlinear.cpp 1>colloc2 - Copie.cpp 1>HelloCL.cpp 1>linking... 1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _sprintf already defined in LIBCMT.lib(sprintf.obj) 1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj) 1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _vsprintf already defined in LIBCMT.lib(vsprintf.obj) 1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) 1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) 1>LINK : warning LNK4098: default library 'MSVCRT' is in conflict with others ; use /NODEFAULTLIB:library 1>C:\Users\Anémas\Documents\ATI Stream\\samples\opencl\bin\release\x86\HelloCL.exe : fatal error LNK1169: un ou plusieurs symboles définis à différentes reprises ont été rencontrés 1>Le journal de génération a été enregistré à l'emplacement "file://c:\Users\Anémas\Documents\ATI Stream\monProjet\opencl\cpp_cl\app\HelloCL\Release\BuildLog.htm" 1>HelloCL - 6 error(s), 1 warning(s) ========== Génération : 0 succed, 1 failure, 2 updated, 0 ignored ==========

0 Likes
0 Replies