Hello,everybody:
I build program,and and show one warning:
Linking...
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
What does the warning mean??
Waht 's effect to program???
Thanks! :)
Printable View
Hello,everybody:
I build program,and and show one warning:
Linking...
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
What does the warning mean??
Waht 's effect to program???
Thanks! :)
This may help explain it - at the bottom of the page it talks about what to do if there is a library conflict
http://support.microsoft.com/default...b;EN-US;186907
Aftering modifying the setting:Quote:
Originally Posted by JonnoA
--------------------Configuration: Simple Player - Win32 Release--------------------
Linking...
MAIN.OBJ : error LNK2001: unresolved external symbol __beginthread
MAIN.OBJ : error LNK2001: unresolved external symbol __endthread
Release/Simple Player.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
What 's happen??
Thanks! :(
Check your settings in the project->settings->general-> using mfc (pick static or shared) change it to one if it is not set and you are using MFC.Quote:
Originally Posted by Cooker
The whole project is attached.Quote:
Originally Posted by Mick
Could someone help me to check???
Thanks a lot! :)
remove the ignore library: LIBCMT
project->settings->link->input.
If I do that, I get two errors in link time:Quote:
Originally Posted by JonnoA
MAIN.OBJ : error LNK2001: unresolved external symbol __beginthread
MAIN.OBJ : error LNK2001: unresolved external symbol __endthread
What shall I do?
Thanks!
You are mixing CRT's. The debug version of the CRT starts with 'debug' in the IDE ;)
named wise it will contain a d
msvcrt.lib
msvcrtd.lib etc.
Project settings->c++->code generation->[use runtime library]
for you debug build either:
debug multithreaded
debug multithreaded dll
for your release build either:
multithreaded
multithreaded dll