Arise a strange link error on window platform

Added by kuo almost 5 years ago

Hello all,
There are some strange link errors as followings, my system is vista+sp1 and vs2008,but I even built project successfully on another window-xp system.

Anyone else also accounted this kind of link error?

Thanks,
Kuo
--------------------------

1>------ Build started: Project: input_output_service, Configuration: Release Win32 ------
1>Linking...
1>nlgeorges_r.lib(form_elm.obj) : error LNK2019: unresolved external symbol _xmlFree referenced in function "public: bool __thiscall NLGEORGES::CFormElm::convertValue(short &,char const *)const " (?convertValue@CFormElm@NLGEORGES@@QBE_NAAFPBD@Z)
1>game_share_r.lib(generic_xml_msg_mngr.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlmisc_r.lib(i_xml.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(form.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(header.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(form_dfn.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(type.obj) : error LNK2001: unresolved external symbol _xmlFree
1>E:\3DJob\open-ryzom\ryzom\code\ryzom\server\Release\input_output_service.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://E:\3DJob\open-ryzom\ryzom\code\ryzom\server\obj\Release\input_output_service\BuildLog.htm"


Replies (3)

RE: Arise a strange link error on window platform - Added by vl almost 5 years ago

Generally it happens when you have a release version of libxml and you compiled nel in debug.

RE: Arise a strange link error on window platform - Added by kuo almost 5 years ago

Hi vl,
No matter debug mode or release mode ,I always account this link error , I am not sure if I have to rebuild libxml2 ?
Is it related to vista system or vs2008 runtime environment?

Thanks,
-Kuo

RE: Arise a strange link error on window platform - Added by kervala almost 5 years ago

Perhaps did you use "lib64" folder instead of "lib".

(1-3/3)