Jump to content

Linking errors building Unigine with Visual Studio 2008


photo

Recommended Posts

Problem:

Can't build Unigine using the unigine.vcproj. Here is part of the output:

1>Linking...
1>   Creating library Unigine_x86d.lib and object Unigine_x86d.exp
1>WorldTransformBone.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
1>WorldTrigger.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
1>WorldPortal.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
1>WorldSector.obj : error LNK2019: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) referenced in function "public: virtual int __thiscall WorldSector::loadWorld(class Xml const *)" (?loadWorld@WorldSector@@UAEHPBVXml@@@Z)
1>WorldSpatial.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
1>WorldTransform.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
1>WorldInterpreter.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
1>WorldOccluder.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)

...

1>freetype.lib(type42.obj) : error LNK2019: unresolved external symbol _atol referenced in function _t42_get_name_index
1>freetype.lib(type1cid.obj) : error LNK2001: unresolved external symbol _atol
1>LINK : error LNK2001: unresolved external symbol __load_config_used
1>Unigine_x86d.dll : fatal error LNK1120: 107 unresolved externals
1>Build log was saved at "file://c:\Program Files\Unigine\SDK-source\source\engine\Debug\BuildLog.htm"
1>Unigine - 3776 error(s), 0 warning(s)

 

Fix:

Remove from Linker->Input->Ignore Specific Library (/NODEFAULTLIB) the libcmt.lib file.

Link to comment
×
×
  • Create New...