Not build after converting project into Visual Studio 2015 ? - c++

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 ?

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 !!

Related

LNK1104 cannot open file '...lib.obj'

I'm trying to update Visual Studio 2012 C++ projects so that I can compile them in Visual Studio 2015 (Update 3). I've gotten it narrowed down to just one error in one project that I'm completely stumped on:
LNK1104 cannot open file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib.obj'
I've installed all the C++ language options (they don't get installed by default) and even uninstalled and reinstalled Visual Studio.
That file doesn't exist in that directory, and it also doesn't exist in the Visual Studio 2012 directory either.
Anyone have any ideas on how to solve this?
The problem might be that you added something like "$(VC_LibraryPath_x86)xxxx.lib" to the Linker input additional dependencies. This goes wrong, resulting in the error. It should just be "xxxx.lib".
Check your path. If that's correct then make sure you've written xxx.lib rather than xxx

MSVC 2015 using 2013 Platform Toolset

I have a copy of Microsoft Visual 2015 on a Windows 32 bit Computer. I would like to compile C++ code with a 2013 build set. I have researched this issue, and I am unfortunately very stuck and looking for guidance.
As you can see in my configurations (below), I have options of platform toolset for 2010 and 2008 in addition to the 2015 versions. I have downloaded Visual Studio 2013. Alas, the option does not appear to be added to the toolset choices!
My ultimate problem I am trying to solve is an error I get when I build code. Specifically:
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol
_WinMain#16 TestProject C:\Users\userProf\Desktop\workspace\TestProject\TestProject\MSVCRTD.lib(exe_winmain.obj)
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol
__imp__vsnprintf_s TestProject C:\Users\uperProf \Desktop\workspace\TestProject\TestProject\MSVCRTD.lib(vsnprintf_s.obj)
System Specs:
Some research:
https://social.msdn.microsoft.com/Forums/en-US/2f2bb34b-f8f2-4316-80e5-fd2b0d237e17/visual-studio-2013-v110-platform-toolset?forum=visualstudiogeneral
TFS Build 2013 - using Visual Studio 2015
Thanks in advance.
The "ultimate" problem seems fairly trivial. You've got a MSVC library in your project directory! That's bound to give version issues. Just remove it; MSVC finds its own libraries in its own install directory.

C++ : Installing cvBlobLib library for Visual Studio 2015

I've been looking all over the web for a proper code for that library but whenever i try to build it using CMake 3.4.2 it gives me errors and when i try to build the resulting visual studio project (using Visual Studio 2015) it gives me errors as well and doesn't build successfully.
Is there any way to properly install this library and use it in Visual Studio 2015?
Thanks!
EDIT:
Screen shot of the error i get when pressing on "Generate":

Issues compiling the SDL 2.0.0/2.0.1 Source under Visual Studio 2013

I have thought about trying to compile a statically linked version of SDL 2.0.0/2.0.1 using one of the provided solutions (Visual Studio 2012 Express Edition under Visual Studio 2013 Ultimate Edition). Unfortunately, it was unable to compile properly. After doing a bit of research, it might be a bug with Visual Studio 2013
Here are some of the errors:
Error 2 error LNK2019: unresolved external symbol __ftoui3 referenced in function _SDL_HashDollar D:\Source Code\SDL2-2.0.1\VisualC\SDL\SDL_gesture.obj SDL2
Error 3 error LNK2019: unresolved external symbol __dtoui3 referenced in function _SDL_PrintFloat D:\Source Code\SDL2-2.0.1\VisualC\SDL\SDL_string.obj SDL2
Error 9 error MSB3073: The command "copy "D:\Source Code\SDL2-2.0.1\VisualC\\SDL\Win32\Debug\SDL2.dll" "D:\Source Code\SDL2-2.0.1\VisualC\tests\testplatform\Win32\Debug\\SDL2.dll" :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 132 5 testplatform
For anyone else having issues with it, might need to use Visual Studio 2012 or earlier for now until there is a fix (at least the for the unresolved external symbol errors with __ftoui3 and __dtoui3) for Visual Studio 2013. Either that, use another compiler instead.
How can I build SDL from VS 2013?
I've found a way to build it: you need to change code generation of the SDL project to use /arch:SSE to prevent SSE2 floating point functions from being implicitly called. After that this problem is gone.

Not able to build a Qt project in visual studio 2005

When i am building my project in visual studio 2005 its end up with the following error
fatal error LNK1181: cannot open input file 'QtCored.lib'.
Please let me know where i am failing .
When we are integrating Qt 4.7.3 with visual studio 2005 and tries to create one Qt project in IDE , its giving a fatal error stating Qtcored.lib is missing . Actually if you go ..\Qt\4.7.3\lib folder there is nothing called Qtcored.lib ,But there is Qtcored4.lib . I think they have renamed it (not sure) . Now goto projproperties->linker->input->additionaldependency and remove Qtcored.lib from there and add Qtcored4.lib. Now if you build the project it will work fine ..
Cheerssss.. :)
Visual studio is not able to find the library file QtCored.lib. You have to specify the library path of it in visual studio settings.