• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Any can help me with these errors in msvc 2010.

Eduardo170

Well-Known Member
Joined
Jan 7, 2014
Messages
422
Solutions
3
Reaction score
66
Location
Caracas, Venezuela
Hi guys, this is my first time compiling, i compiling TFS 0.4 in msvc 2010 x64 bits, but dont work and giving me these errors, any can help me?.
I have:
-Windows 10-64 bits
-Sources TFS 0.4 3777 ([8.60] The Forgotten Server 0.4)
-MSVC 2010
-libvc10.zip (https://github.com/Fir3element/binaries/raw/master/vc10_pack.rar)

Code:
1>------ Build started: Project: theforgottenserver, Configuration: Release Win32 ------
1>     Creating library C:\Users\Enyoli\Desktop\3777-master\src\vc10\Release\theforgottenserver.lib and object C:\Users\Enyoli\Desktop\3777-master\src\vc10\Release\theforgottenserver.exp
1>actions.obj : error LNK2001: unresolved external symbol _lua_pushnumber
1>actions.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ)
1>actions.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ)
1>baseevents.obj : error LNK2001: unresolved external symbol _xmlStrcmp
1>baseevents.obj : error LNK2001: unresolved external symbol _xmlFreeDoc
1>baseevents.obj : error LNK2001: unresolved external symbol _xmlDocGetRootElement
1>baseevents.obj : error LNK2001: unresolved external symbol _xmlParseFile
1>combat.obj : error LNK2001: unresolved external symbol _lua_pcall
1>combat.obj : error LNK2001: unresolved external symbol _lua_gettop
1>configmanager.obj : error LNK2001: unresolved external symbol _luaL_newstate
1>configmanager.obj : error LNK2001: unresolved external symbol _luaL_loadfile
1>configmanager.obj : error LNK2001: unresolved external symbol _luaL_openlibs
1>configmanager.obj : error LNK2001: unresolved external symbol _lua_close
1>creatureevent.obj : error LNK2001: unresolved external symbol _lua_createtable
1>creatureevent.obj : error LNK2001: unresolved external symbol _lua_settable
1>creatureevent.obj : error LNK2001: unresolved external symbol _lua_pushstring
1>creatureevent.obj : error LNK2001: unresolved external symbol _lua_pushlstring
1>creatureevent.obj : error LNK2001: unresolved external symbol _lua_pushboolean
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_close@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_error@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_get_client_version@0
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_real_query@12
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_rollback@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_fetch_row@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_real_connect@32
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_fetch_field@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_store_result@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_commit@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_ping@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_options@12
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_fetch_lengths@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_errno@4
1>databasemysql.obj : error LNK2001: unresolved external symbol _mysql_init@4
1>dispatcher.obj : error LNK2001: unresolved external symbol "public: __thiscall boost::thread::~thread(void)" (??1thread@boost@@QAE@XZ)
1>dispatcher.obj : error LNK2001: unresolved external symbol "private: void __thiscall boost::thread::start_thread(void)" (?start_thread@thread@boost@@AAEXXZ)
1>dispatcher.obj : error LNK2001: unresolved external symbol "bool __cdecl boost::this_thread::interruptible_wait(void *,struct boost::detail::timeout)" (?interruptible_wait@this_thread@boost@@YA_NPAXUtimeout@detail@2@@Z)
1>house.obj : error LNK2001: unresolved external symbol "private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)
1>house.obj : error LNK2001: unresolved external symbol "private: void __thiscall boost::re_detail::perl_matcher<char const *,class std::allocator<struct boost::sub_match<char const *> >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@PBDV?$allocator@U?$sub_match@PBD@boost@@@std@@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)
1>house.obj : error LNK2001: unresolved external symbol "public: bool __thiscall boost::re_detail::perl_matcher<char const *,class std::allocator<struct boost::sub_match<char const *> >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (?match@?$perl_matcher@PBDV?$allocator@U?$sub_match@PBD@boost@@@std@@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE_NXZ)
1>iologindata.obj : error LNK2001: unresolved external symbol _mysql_insert_id@4
1>luascript.obj : error LNK2001: unresolved external symbol _lua_tolstring
1>luascript.obj : error LNK2001: unresolved external symbol _luaL_register
1>luascript.obj : error LNK2001: unresolved external symbol _lua_rawset
1>luascript.obj : error LNK2001: unresolved external symbol _lua_type
1>luascript.obj : error LNK2001: unresolved external symbol _lua_gettable
1>luascript.obj : error LNK2001: unresolved external symbol _lua_setfield
1>luascript.obj : error LNK2001: unresolved external symbol _lua_pushcclosure
1>luascript.obj : error LNK2001: unresolved external symbol _lua_pushnil
1>luascript.obj : error LNK2001: unresolved external symbol _lua_objlen
1>luascript.obj : error LNK2001: unresolved external symbol _lua_tonumber
1>luascript.obj : error LNK2001: unresolved external symbol _lua_call
1>luascript.obj : error LNK2001: unresolved external symbol _lua_next
1>luascript.obj : error LNK2001: unresolved external symbol _lua_isnumber
1>luascript.obj : error LNK2001: unresolved external symbol _lua_rawgeti
1>luascript.obj : error LNK2001: unresolved external symbol _lua_rawget
1>luascript.obj : error LNK2001: unresolved external symbol "class boost::system::error_code __cdecl boost::filesystem3::detail::dir_itr_close(void * &)" (?dir_itr_close@detail@filesystem3@boost@@YA?AVerror_code@system@3@AAPAX@Z)
1>luascript.obj : error LNK2001: unresolved external symbol "void __cdecl boost::filesystem3::detail::directory_iterator_increment(class boost::filesystem3::directory_iterator &,class boost::system::error_code *)" (?directory_iterator_increment@detail@filesystem3@boost@@YAXAAVdirectory_iterator@23@PAVerror_code@system@3@@Z)
1>luascript.obj : error LNK2001: unresolved external symbol "void __cdecl boost::filesystem3::detail::directory_iterator_construct(class boost::filesystem3::directory_iterator &,class boost::filesystem3::path const &,class boost::system::error_code *)" (?directory_iterator_construct@detail@filesystem3@boost@@YAXAAVdirectory_iterator@23@ABVpath@23@PAVerror_code@system@3@@Z)
1>luascript.obj : error LNK2001: unresolved external symbol "private: static class std::codecvt<wchar_t,char,int> const * & __cdecl boost::filesystem3::path::wchar_t_codecvt_facet(void)" (?wchar_t_codecvt_facet@path@filesystem3@boost@@CAAAPBV?$codecvt@_WDH@std@@XZ)
1>luascript.obj : error LNK2001: unresolved external symbol "public: class boost::filesystem3::path __thiscall boost::filesystem3::path::filename(void)const " (?filename@path@filesystem3@boost@@QBE?AV123@XZ)
1>luascript.obj : error LNK2001: unresolved external symbol "void __cdecl boost::filesystem3::path_traits::convert(char const *,char const *,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,class std::codecvt<wchar_t,char,int> const &)" (?convert@path_traits@filesystem3@boost@@YAXPBD0AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@ABV?$codecvt@_WDH@5@@Z)
1>luascript.obj : error LNK2001: unresolved external symbol "void __cdecl boost::filesystem3::path_traits::convert(wchar_t const *,wchar_t const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::codecvt<wchar_t,char,int> const &)" (?convert@path_traits@filesystem3@boost@@YAXPB_W0AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$codecvt@_WDH@5@@Z)
1>luascript.obj : error LNK2001: unresolved external symbol "private: class boost::filesystem3::file_status __thiscall boost::filesystem3::directory_entry::m_get_status(class boost::system::error_code *)const " (?m_get_status@directory_entry@filesystem3@boost@@ABE?AVfile_status@23@PAVerror_code@system@3@@Z)
1>luascript.obj : error LNK2001: unresolved external symbol _lua_remove
1>luascript.obj : error LNK2001: unresolved external symbol _lua_pushinteger
1>luascript.obj : error LNK2001: unresolved external symbol _lua_typename
1>luascript.obj : error LNK2001: unresolved external symbol _lua_getfield
1>luascript.obj : error LNK2001: unresolved external symbol _lua_pushvalue
1>luascript.obj : error LNK2001: unresolved external symbol _lua_insert
1>luascript.obj : error LNK2001: unresolved external symbol _lua_settop
1>luascript.obj : error LNK2001: unresolved external symbol _lua_isstring
1>luascript.obj : error LNK2001: unresolved external symbol _lua_toboolean
1>luascript.obj : error LNK2001: unresolved external symbol _luaL_loadbuffer
1>luascript.obj : error LNK2001: unresolved external symbol _luaL_unref
1>luascript.obj : error LNK2001: unresolved external symbol _luaL_loadstring
1>luascript.obj : error LNK2001: unresolved external symbol _luaL_ref
1>luascript.obj : error LNK2001: unresolved external symbol _lua_topointer
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_sizeinbase
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_mod
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_mul
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_sub_ui
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_set
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_init2
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_clear
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_add
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_powm
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_set_ui
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_cmp_si
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_sub
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_invert
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_export
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_import
1>rsa.obj : error LNK2001: unresolved external symbol ___gmpz_set_str
1>scriptmanager.obj : error LNK2001: unresolved external symbol "class boost::filesystem3::file_status __cdecl boost::filesystem3::detail::status(class boost::filesystem3::path const &,class boost::system::error_code *)" (?status@detail@filesystem3@boost@@YA?AVfile_status@23@ABVpath@23@PAVerror_code@system@3@@Z)
1>status.obj : error LNK2001: unresolved external symbol __imp__xmlFree
1>status.obj : error LNK2001: unresolved external symbol _xmlNodeSetContent
1>status.obj : error LNK2001: unresolved external symbol _xmlNewDocNode
1>status.obj : error LNK2001: unresolved external symbol _xmlDocDumpMemory
1>status.obj : error LNK2001: unresolved external symbol _xmlNewNode
1>status.obj : error LNK2001: unresolved external symbol _xmlAddChild
1>status.obj : error LNK2001: unresolved external symbol _xmlNewTextChild
1>status.obj : error LNK2001: unresolved external symbol _xmlNewDoc
1>status.obj : error LNK2001: unresolved external symbol _xmlSetProp
1>tools.obj : error LNK2001: unresolved external symbol _MD5_Update
1>tools.obj : error LNK2001: unresolved external symbol _SHA1_Update
1>tools.obj : error LNK2001: unresolved external symbol _SHA1_Final
1>tools.obj : error LNK2001: unresolved external symbol _SHA512_Update
1>tools.obj : error LNK2001: unresolved external symbol _SHA256_Update
1>tools.obj : error LNK2001: unresolved external symbol _SHA512_Init
1>tools.obj : error LNK2001: unresolved external symbol _MD5_Init
1>tools.obj : error LNK2001: unresolved external symbol _SHA256_Init
1>tools.obj : error LNK2001: unresolved external symbol _UTF8Toisolat1
1>tools.obj : error LNK2001: unresolved external symbol _xmlNodeGetContent
1>tools.obj : error LNK2001: unresolved external symbol _SHA512_Final
1>tools.obj : error LNK2001: unresolved external symbol _SHA1_Init
1>tools.obj : error LNK2001: unresolved external symbol _xmlGetProp
1>tools.obj : error LNK2001: unresolved external symbol _MD5_Final
1>tools.obj : error LNK2001: unresolved external symbol _SHA256_Final
1>tools.obj : error LNK2001: unresolved external symbol _xmlGetLastError
1>C:\Users\Enyoli\Desktop\3777-master\src\vc10\Release\theforgottenserver.exe : fatal error LNK1120: 121 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 
U can give me, .lib files?.

Bump
Any can give me libs files?, for 64bits, and what boost i need?

AFAIK there is no libs you can download for 0.4 and MSVC
You will have to find the correct ones by googling etc

I guess you can test the boost and SDK from 1.x; Compiling on Windows · otland/forgottenserver Wiki · GitHub
But you might run into more problems if you use those xD

Why aren't you using the Stian dec cpp files?
Stian's Dev-cpp repack 0.2 (with crypto++ and 64bit) !

That or use 1.x insted ..
 
Back
Top