ivan.cuevas Posted November 11, 2010 Posted November 11, 2010 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.
ivan.cuevas Posted November 11, 2010 Author Posted November 11, 2010 What version of VS do you use? Microsoft Visual Studio 2008 (Version 9.0.30729.1 SP) Microsfot .NET (Version 3.5 SP1)
frustum Posted November 18, 2010 Posted November 18, 2010 libcmt.lib should be ignored in Visual Stdio 2010. But in Visual Studio 2008 it shouldn't be ignored...
ivan.cuevas Posted November 18, 2010 Author Posted November 18, 2010 It's strange :blink:, but this is the way it worked for me. I wonder if there are other Unigine users with this problem.
binstream Posted November 18, 2010 Posted November 18, 2010 I guess that VS 2010 is more widely spread for now.
Recommended Posts