andor kesselman
andor kesselman

Reputation: 1169

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!

Project Configurations

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:

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.

Upvotes: 0

Views: 156

Answers (1)

MSalters
MSalters

Reputation: 179779

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.

Upvotes: 1

Related Questions