[Insight-users] A doubt...compiling in FLTK

Luis Ibanez luis . ibanez at kitware . com
Tue, 04 Nov 2003 23:13:20 -0500


Hi BeeJay


You are mixing compilation modes (Debug/Release).

Some of your libraries have been compiled for
Debug and some other for Release.

Please use the *exact* same compilation mode
for all your libraries and your application.

You may want to start by checking the compilation
mode that you are using for FLTK.


Regards,


    Luis


-----------------------
Sentil Balaji wrote:
> Hey Luis,
>      I tried the hello.cxx program in MS VC++ 6.0 and
> I get the following errors..
> -------------------------------------------------------
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _tolower
> already defined in LIBCD.lib(tolower.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _realloc
> already defined in LIBCD.lib(dbgheap.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already
> defined in LIBCD.lib(dbgheap.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc
> already defined in LIBCD.lib(dbgheap.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf
> already defined in LIBCD.lib(sprintf.obj)
> 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)
> LINK : warning LNK4098: defaultlib "MSVCRT" conflicts
> with use of other libs; use /NODEFAULTLIB:library
> Debug/f.exe : fatal error LNK1169: one or more
> multiply defined symbols found
> Error executing link.exe.
> 
> f.exe - 8 error(s), 1 warning(s)
> -------------------------------------------------------
> Please get me through this error..Thanks..Ciao
> 
> 
> Cheers
> 
> BeeJay
> 
> 
> ________________________________________________________________________
> Yahoo! India Mobile: Download the latest polyphonic ringtones.
> Go to http://in . mobile . yahoo . com
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk . org
> http://www . itk . org/mailman/listinfo/insight-users
>