It's not an error. Just some warnings. You can ingonre this.
regards
PK
Archived discussion
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)
Discussion
Posts are displayed in their archived order.
It's not an error. Just some warnings. You can ingonre this.
regards
PK
It's not an error. Just some warnings. You can ignore this.
regards
PK
i find the solution thank's
How did you resulved the
"LINK : warning LNK4098: defaultlib "mfc42.lib" conflicts with use of other libs; use /NODEFAULTLIB:library"
problem?
thanks.
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.
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,
Commenter-5