0
votes

We have an application which is run and build in visual studio 2010, after converting it into Visual Studio 2015 we are getting following error,

Error LNK2019 unresolved external symbol _memcmp referenced in function

I have looked at this link but did not understand properly Its seems like something has changed in Visual Studio 2015 compiler and I am missing some settings to overcome this problem.

Could somebody please explain what has changed ?

1
Hi Dmitry, Thanks for quick reply, I had look at the above post and try to link "vcruntime.lib" but still I am getting same error. Could you please suggest or write step how to link this library, may be I have missed some steps or settings.Mehul Donga
Can somebody please help what can be done next to resolve this problem ?Mehul Donga
Thank you Dmitry ! your comment has helped me to solve this error.Mehul Donga

1 Answers

0
votes

we have used make file to build and generate file, to run successfully nmake command we need to link "vcruntime.lib" library file in Visual Studio 2015 and resolves the issue. Thank you !!