Visual Studio 11 (2012 RC)

Visual Studio 11 (2012 RC)

reddd's picture

Hello,

I'm trying to build the demos of Havok Animation with VS 2012.
But I get the following errors:

LINK : warning LNK4075: ignoring '/MANIFESTFILE' due to '/MANIFEST:EMBED' specification
1>hkBase.lib(hkMemoryAllocator.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkOStream.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkError.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkBaseSystem.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkMemorySystem.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkMemoryInitUtil_FreeList.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkMemoryInitUtil.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkMallocAllocator.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkMemUtil.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkReferencedObject.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkStreamWriter.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkArrayStreamWriter.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkContainerAllocators.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj
1>hkBase.lib(hkString.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj

And more

Anyone know how to compile this for VS11? Or can I get an compatible lib?
Using 2010 is not a option because my project uses C++11 (which is not fully supported in 2010)

Greetz

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
havok_josh's picture
Best Reply

Hey reddd-

This isn't really a Havok problem but here is my guess:

The _MSC_VER flag is intended to catch compiler mismatches. You are trying to build an application with a new compiler that links against old libraries. There may be a way to force it to link against the old libraries without Bad Things Happening, but I would guess not. If you do find a way, though, it would be great if you could post your experience to this thread.

Havok officially supports VS2010, the latest official release, and generally speaking doesn't support unreleased software or systems. Compatible libs are not available. If you absolutely can't use a supported version, I think you will have to wait until VS2011 is officially released and Havok has had time to release new libraries. I do not know the release schedule for VS2011 so this might be a long wait.

-Josh

Josh Developer Support Engineer Havok www.havok.com
Guillaume L.B.'s picture

Hello,

Any updates on when the Havok SDK will be released for Visual Studio 2012 ?
At this time, I cannot find any way to prevent the Version Check.
Thanks

Regards

Login to leave a comment.