Fri, 02/18/2005 - 19:41
i'm a new user of OCC5.0 i need help
when i can't compile any one of the simple
i get error such as
------for compilingAISSelect
--------------------Configuration: AISSelect - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
AISSelectApp.cpp
AISSelectDoc.cpp
BoxRadius.cpp
User_Cylinder.cxx
Generating Code...
Linking...
Creating library Debug/AISSelect.lib and object Debug/AISSelect.exp
LINK : warning LNK4098: defaultlib "mfc42.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfcs42.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
AISSelect.exe - 0 error(s), 3 warning(s)
Sun, 02/20/2005 - 22:21
It's not an error. Just some warnings. You can ingonre this.
regards
PK
Sun, 02/20/2005 - 22:22
It's not an error. Just some warnings. You can ignore this.
regards
PK
Sun, 02/20/2005 - 23:43
i find the solution thank's
Mon, 04/11/2005 - 12:06
How did you resulved the
"LINK : warning LNK4098: defaultlib "mfc42.lib" conflicts with use of other libs; use /NODEFAULTLIB:library"
problem?
thanks.
Mon, 05/16/2005 - 21:24
Hi,
I am having the same problem:
LINK : warning LNK4098: defaultlib \"LIBCMTD\" conflicts with use of other libs; u
se /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib \"MSVCRTD\" conflicts with use of other libs; u
se /NODEFAULTLIB:library
GenSecData.exe : fatal error LNK1169: one or more multiply defined symbols found
In my link option I use,
@link -lib /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:libcd.lib \\
/NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:libc.lib \\
/NODEFAULTLIB:msvcrt.lib
Even then I get the error. Do you have any suggestion?
thanks
Swami.
Thu, 07/07/2005 - 10:33
You are trying to link with incompatible libraries.
go to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore9...
yes its warning in compile time, but you will get errors in run-time
regards,
Jaber