facebookarchive / RakNet

RakNet is a cross platform, open source, C++ networking engine for game programmers.
Other
3.29k stars 1.02k forks source link

MSVRT.lib&quot #117

Open abramsba opened 6 years ago

abramsba commented 6 years ago

I used cmake to generate a vs2015 x64 solution for release. RakNetLibStatic doesn't build because of a linker error. I haven't changed anything other than CCRakNetSlidingWindow.cpp to stop errors with the abs function.

3>LINK : fatal error LNK1181: cannot open input file 'MSVCRT.lib"'

I'm not sure where quot; comes from, is this maybe being added somewhere during configuration or do I need to use the project files already there?

Luke1410 commented 6 years ago

Sounds like this got messed up when the VS project got converted to VS2015 or there's an issue with your MSBuild template property files.

Check out the project settings in VS (Linker -> Input) to see if the Additional Dependencies list that entry, check whether the entry is listed under Linker -> Command Line, or open the corresponding vcxproj-file with notepad and search for the MSVCRT.lib" string to determine where it's coming from.