unresolved external symbol "struct hkQuadFloat32 const * const g_vectorfConstants"

unresolved external symbol "struct hkQuadFloat32 const * const g_vectorfConstants"

Hello,

While trying to compile a demo found at  http://software.intel.com/en-us/forums/topic/278673 , I came across a linker error:

1>game.obj : error LNK2001: unresolved external symbol "struct hkQuadFloat32 const * const g_vectorfConstants" (?g_vectorfConstants@@3QBUhkQuadFloat32@@B)

 The error is triggered by lines where hkQuaternion class is referenced, such as 

m_sphereBody->setPositionAndRotation(hkVector4(0.0f, 0.6f, 0.0f), hkQuaternion::getIdentity());

All the libraries from Lib\win32_vs2012_win7\debug are linked. 

Is there a fix to this problem?

Thank you,

Denis. 

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Solved, the problem was missing  HK_CONFIG_SIMD=1 in preprocessor definitions

Hi Denis, sorry for the delay, good job figuring it out on your own.

Cheers,
Daniele 

Try not to become a man of success, but rather try to become a man of value.

Leave a Comment

Please sign in to add a comment. Not a member? Join today