Advertisement

Error executing link.exe.

Started by February 24, 2003 07:03 PM
1 comment, last by maria maria maria 22 years ago
I try to use sdl + opengl + vc 6.0 with lesson2 from nehe tutorials (using sdl) and when I linking appears this message: PLEASE HELPME PLEASE!!!! --------------------Configuration: l3 - Win32 Debug-------------------- Linking... msvcrt.lib(MSVCRT.dll) : error LNK2005: _exit already defined in LIBCD.lib(crt0dat.obj) msvcrt.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in LIBCD.lib(strncpy.obj) msvcrt.lib(MSVCRT.dll) : error LNK2005: _fprintf already defined in LIBCD.lib(fprintf.obj) msvcrt.lib(MSVCRT.dll) : error LNK2005: _fclose already defined in LIBCD.lib(fclose.obj) msvcrt.lib(MSVCRT.dll) : error LNK2005: __isctype already defined in LIBCD.lib(isctype.obj) LIBCD.lib(crt0init.obj) : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library Debug/l3.exe : fatal error LNK1169: one or more multiply defined symbols found Error executing link.exe. l3.exe - 6 error(s), 1 warning(s)
desocupada
Go to your project settings, Link tab, under the combo box select "Input." Under "Ignore Libraries:" type "msvcrt."

That''ll fix it. It''s a problem with the SDL library and your program linked with different versions of the C Runtime (CRT).

- psykotik
Advertisement
psykotik thank you very much!!
desocupada

This topic is closed to new replies.

Advertisement