Not able to identify the C++ Standard library

Hi,

I am trying to compile C++ code on Windows Server 2012 and Visual Studio 2010.

But it gives me the below error which is probably because the correct .lib file is not linked to it while compiling.

Also I guess that these are the components of the C++ Standard library.
The problem I am facing is that I am not able to identify the corresponding .lib file in my environment.

Any help is greatly appreciated.

1
2
3
4
5
6
7
8
9
10
11
12
ibLib.exp : error LNK2001: unresolved external symbol CT??_R0?AVbad_alloc@std@@@8??0bad_alloc@std@@QEAA@AEBV01@@Z24
ibLib.exp : error LNK2001: unresolved external symbol CT??_R0?AVexception@std@@@8??0exception@std@@QEAA@AEBV01@@Z24
ibLib.exp : error LNK2001: unresolved external symbol CT??_R0?AVlength_error@std@@@8??0length_error@std@@QEAA@AEBV01@@Z6
4
ibLib.exp : error LNK2001: unresolved external symbol CT??_R0?AVlogic_error@std@@@8??0logic_error@std@@QEAA@AEBV01@@Z64
ibLib.exp : error LNK2001: unresolved external symbol CTA2?AVbad_alloc@std@@
ibLib.exp : error LNK2001: unresolved external symbol CTA3?AVlength_error@std@@
ibLib.exp : error LNK2001: unresolved external symbol TI2?AVbad_alloc@std@@
ibLib.exp : error LNK2001: unresolved external symbol TI3?AVlength_error@std@@
..\lib\ibLib : fatal error LNK1120: 8 unresolved externals
link @C:\Users\ADMINI~1.COR\AppData\Local\Temp\2\jbuild59 failed , command returned a code of 1120
mt -nologo -manifest ..\lib\ibLib.manifest -outputresource:..\lib\ibLib;2


Thank you
Achyuth
really hard to know what is missing without seeing the actual code
Hi Parasin,

Thank you for the reply.

But, I was wondering looking at those methods, we should be able to get a clue on the lib which it belongs to, right?

1
2
3
4
bad_alloc	
exception
length_error
logic_error


Thank you
Achyuth
Topic archived. No new replies allowed.