source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

unresolved external symbol ___report_rangecheckfailure

Open corizeus opened this issue 7 years ago • 3 comments

I downloaded the TF2 Classic source code (it's still source 2013 shut up) and I got the LNK 1120 fatal error. Doesn't tell me what I can do about it. I heard that it can be caused by having spaces in any of the folders that the .dll is being exported to, and the error says that I have an extra slash in the directory that isn't needed. (C:\Users\boi\Desktop\TF2Classic-master\game\tf2classic\bin\\client.dll : fatal error LNK1120: 1 unresolved externals) I checked the output directory but I didn't see any problems with it so if anyone can help me, you would be a godsend.

corizeus avatar May 11 '17 13:05 corizeus

This isn't an issue with your folder, it's an issue with something being defined twice.

You should have gotten another error message actually telling you what that was, maybe show us?

kennyrkun avatar May 11 '17 20:05 kennyrkun

Sorry for the wait, and yes. I did get several errors related to LNK2001 and one that was related to LNK2019. vgui_controls.lib(RichText.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure

vgui_controls.lib(TextEntry.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure

vgui_controls.lib(BuildModeDialog.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure

tier1.lib(interface.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure

tier1.lib(utlbufferutil.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure

vgui_controls.lib(FileOpenDialog.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure

tier1.lib(KeyValues.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function "public: class KeyValues * __thiscall KeyValues::FindKey(char const *,bool)" (?FindKey@KeyValues@@QAEPAV1@PBD_N@Z)

corizeus avatar May 12 '17 09:05 corizeus

Check this question: https://stackoverflow.com/questions/25273954/unresolved-external-symbol-report-rangecheckfailure

You're probably using settings that causes VS to handle this check improperly. Which version of Visual Studio are you using?

SamVanheer avatar Jul 26 '17 22:07 SamVanheer