Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Windows / LNK1104 libcpmt/libcpmtd.lib in VS 2015

Author
Message
Drowneath
14
Years of Service
User Offline
Joined: 22nd Jun 2009
Location: In your eyes
Posted: 6th Aug 2015 21:05
I recently upgraded to Visual Studio 2015 and now unable to compile my projects which I created with VS 2013. I only upgraded the sln to be compatible with 2015 but still use the VS 2013 platform toolset and use the provided AppGameKit libs inside the VS2013 folder.

But it always ended up looking for this standard library
1>LINK : fatal error LNK1104: cannot open file 'libcpmtd.lib'

In case of Release build, it will look for libcpmt.lib instead.

if(asleep) sheep++;
bjadams
AGK Backer
15
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 13th Aug 2015 14:52
I am getting a bunch of these errors compiling using VS2015

AGKWindows.lib(Wrapper.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900'

Do we need to wait for VS2015 libraries or I can set a backward version in the settings/properties somewhere?
Ancient Lady
Valued Member
19
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 10th Oct 2015 21:46
The AppGameKit libraries for different versions of Microsoft Visual Studio are not compatible with other versions. i.e. You cannot use VS 2013 w/AGK VS2010 libraries.

Until TGC builds libraries for VS 2015 (and I have no way to know when that happens), you need to use VS 2013 or VS 2010.

It may sound odd, but you can actually have both VS2013 and VS2015 installed at the same time. The trick is to not let Windows use default directories on installation.
Cheers,
Ancient Lady

Login to post a reply

Server time is: 2023-11-30 11:10:58
Your offset time is: 2023-11-30 11:10:58