I get this warning when compiling the game server with vistual c++
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
No errors though- should I worry about this?
warning when compiling dsgame server
Re: warning when compiling dsgame server
I normally don't have any problems compiling the server. However, I've just recently reinstalled a fresh copy of Windows 7. I was able to build an old client, from August. When I go to compile the latest though, there's a linker error about MSVC 2010 Pro being unable to convert to COFF. The error is as follows:
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
On a side note, this happened several times in 2010, before I tried to compile it with 2012. After 2012 failed, I fell back and used 2010 again.
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
On a side note, this happened several times in 2010, before I tried to compile it with 2012. After 2012 failed, I fell back and used 2010 again.
Re: warning when compiling dsgame server
I'd like to provide a fix for my error, if I may.
Either disable incremental linking, by going to
Project Properties
-> Configuration Properties
-> Linker (General)
-> Enable Incremental Linking -> "No (/INCREMENTAL:NO)"
or install VS2010 SP1.
Either disable incremental linking, by going to
Project Properties
-> Configuration Properties
-> Linker (General)
-> Enable Incremental Linking -> "No (/INCREMENTAL:NO)"
or install VS2010 SP1.
Re: warning when compiling dsgame server
Actually, neither of those worked for me. I thought I'd add an update to help anyone with the same problem. The only way to fix compiling errors related to Visual Studio 2012 (that I've found) is to just uninstall the VS2012, then uninstall the .Net Framework 4.5. 4.5 is causing big problems for me when trying to compile the project. It just simply will not work.
Edit: I had to uninstall both VS2010, and VS2012 then .Net Framework 4.5. After all of that, I had to reinstall VS2010. It took an entire day of trial and error.
Edit: I had to uninstall both VS2010, and VS2012 then .Net Framework 4.5. After all of that, I had to reinstall VS2010. It took an entire day of trial and error.