• 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]MSVC - Compiling TFS under Windows - EASY WAY!

Hello, i'm trying to compile sources from 0.3.7 (For tibia 9.46).

In sources, there isn't folder obj10, instead, there is folder vc10 that contains the tfs project. So i opened it and followed all instructions, but when i try to build the project i get the following errors:
Code:
Error	43	error C2039: 'gethostbyaddr' : is not a member of '`global namespace''	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\socket_ops.ipp	1818	1	tfs
Error	45	error C2039: 'gethostbyname' : is not a member of '`global namespace''	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\socket_ops.ipp	1867	1	tfs
Error	49	error C2039: 'getservbyport' : is not a member of '`global namespace''	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\socket_ops.ipp	2596	1	tfs
Error	8	error C2086: 'int DECLSPEC_NORETURN' : redefinition	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winbase.h	1317	1	tfs
Error	11	error C2086: 'int DECLSPEC_NORETURN' : redefinition	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winbase.h	1377	1	tfs
Error	13	error C2091: function returns function	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	545	1	tfs
Error	16	error C2091: function returns function	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	554	1	tfs
Error	20	error C2091: function returns function	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	555	1	tfs
Error	25	error C2091: function returns function	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	556	1	tfs
Error	29	error C2091: function returns function	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	557	1	tfs
Error	34	error C2091: function returns function	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	558	1	tfs
Error	38	error C2091: function returns function	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	559	1	tfs
Error	4	error C2144: syntax error : 'void' should be preceded by ';'	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winbase.h	1316	1	tfs
Error	6	error C2144: syntax error : 'void' should be preceded by ';'	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winbase.h	1317	1	tfs
Error	9	error C2144: syntax error : 'void' should be preceded by ';'	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winbase.h	1377	1	tfs
Error	23	error C2371: 'DECLARE_STDCALL_P' : redefinition; different basic types	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	555	1	tfs
Error	32	error C2371: 'DECLARE_STDCALL_P' : redefinition; different basic types	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	557	1	tfs
Error	41	error C2371: 'DECLARE_STDCALL_P' : redefinition; different basic types	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	559	1	tfs
Error	22	error C2556: 'int (__cdecl *DECLARE_STDCALL_P(hostent *))(const char *)' : overloaded function differs only by return type from 'int (__cdecl *DECLARE_STDCALL_P(hostent *))(const char *,int,int)'	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	555	1	tfs
Error	40	error C2556: 'int (__cdecl *DECLARE_STDCALL_P(protoent *))(const char *)' : overloaded function differs only by return type from 'int (__cdecl *DECLARE_STDCALL_P(protoent *))(int)'	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	559	1	tfs
Error	31	error C2556: 'int (__cdecl *DECLARE_STDCALL_P(servent *))(const char *,const char *)' : overloaded function differs only by return type from 'int (__cdecl *DECLARE_STDCALL_P(servent *))(int,const char *)'	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	557	1	tfs
Error	44	error C2660: 'boost::asio::detail::socket_ops::gethostbyaddr' : function does not take 3 arguments	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\socket_ops.ipp	1818	1	tfs
Error	46	error C2660: 'boost::asio::detail::socket_ops::gethostbyname' : function does not take 1 arguments	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\socket_ops.ipp	1867	1	tfs
Error	18	error C2733: second C linkage of overloaded function 'DECLARE_STDCALL_P' not allowed	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	554	1	tfs
Error	27	error C2733: second C linkage of overloaded function 'DECLARE_STDCALL_P' not allowed	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	556	1	tfs
Error	36	error C2733: second C linkage of overloaded function 'DECLARE_STDCALL_P' not allowed	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	558	1	tfs
Error	15	error C3646: 'gethostbyaddr' : unknown override specifier	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	554	1	tfs
Error	19	error C3646: 'gethostbyname' : unknown override specifier	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	555	1	tfs
Error	37	error C3646: 'getprotobyname' : unknown override specifier	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	559	1	tfs
Error	33	error C3646: 'getprotobynumber' : unknown override specifier	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	558	1	tfs
Error	28	error C3646: 'getservbyname' : unknown override specifier	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	557	1	tfs
Error	24	error C3646: 'getservbyport' : unknown override specifier	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	556	1	tfs
Error	12	error C3646: 'inet_ntoa' : unknown override specifier	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	545	1	tfs
Error	42	error C3861: 'GetExceptionCode': identifier not found	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\win_mutex.ipp	60	1	tfs
Error	47	error C3861: 'getservbyname': identifier not found	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\socket_ops.ipp	2217	1	tfs
Error	48	error C3861: 'getservbyname': identifier not found	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\socket_ops.ipp	2228	1	tfs
Error	50	error C3861: 'getservbyport': identifier not found	C:\Users\Eduardo\Desktop\include\boost\asio\detail\impl\socket_ops.ipp	2596	1	tfs
Error	5	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winbase.h	1316	1	tfs
Error	7	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winbase.h	1317	1	tfs
Error	10	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winbase.h	1377	1	tfs
Error	14	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	545	1	tfs
Error	17	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	554	1	tfs
Error	21	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	555	1	tfs
Error	26	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	556	1	tfs
Error	30	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	557	1	tfs
Error	35	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	558	1	tfs
Error	39	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winsock2.h	559	1	tfs
	70	IntelliSense: expected a ';'	c:\program files\microsoft visual studio 10.0\vc\include\winbase.h	1316	30	
	72	IntelliSense: expected a ';'	c:\program files\microsoft visual studio 10.0\vc\include\winbase.h	1317	30	
	74	IntelliSense: expected a ';'	c:\program files\microsoft visual studio 10.0\vc\include\winbase.h	1377	30	
	52	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	545	71	
	54	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	554	82	
	55	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	554	86	
	56	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	554	90	
	58	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	555	82	
	60	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	556	74	
	61	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	556	86	
	63	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	557	82	
	64	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	557	94	
	66	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	558	78	
	68	IntelliSense: expected an identifier	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	559	84	
	51	IntelliSense: explicit type is missing ('int' assumed)	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	545	21	
	53	IntelliSense: explicit type is missing ('int' assumed)	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	554	21	
	57	IntelliSense: explicit type is missing ('int' assumed)	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	555	21	
	59	IntelliSense: explicit type is missing ('int' assumed)	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	556	21	
	62	IntelliSense: explicit type is missing ('int' assumed)	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	557	21	
	65	IntelliSense: explicit type is missing ('int' assumed)	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	558	21	
	67	IntelliSense: explicit type is missing ('int' assumed)	c:\program files\microsoft visual studio 10.0\vc\include\winsock2.h	559	21	
	69	IntelliSense: this declaration has no storage class or type specifier	c:\program files\microsoft visual studio 10.0\vc\include\winbase.h	1316	1	
	71	IntelliSense: this declaration has no storage class or type specifier	c:\program files\microsoft visual studio 10.0\vc\include\winbase.h	1317	1	
	73	IntelliSense: this declaration has no storage class or type specifier	c:\program files\microsoft visual studio 10.0\vc\include\winbase.h	1377	1	
Warning	1	warning C4068: unknown pragma	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winnt.h	3903	1	tfs
Warning	2	warning C4068: unknown pragma	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winnt.h	3909	1	tfs
Warning	3	warning C4068: unknown pragma	C:\Program Files\Microsoft Visual Studio 10.0\VC\include\winnt.h	3916	1	tfs

Some help here?
 
edit: those are the errors i get now when i try to compile 64x:

Code:
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
1>baseevents.obj : error LNK2001: unresolved external symbol xmlParseFile
1>baseevents.obj : error LNK2001: unresolved external symbol xmlDocGetRootElement
1>baseevents.obj : error LNK2001: unresolved external symbol xmlStrcmp
1>baseevents.obj : error LNK2001: unresolved external symbol xmlFreeDoc
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_close
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_last_insert_rowid
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_step
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_open
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_errmsg
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_errcode
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_prepare_v2
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_finalize
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_snprintf
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_column_int
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_column_int64
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_column_text
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_column_blob
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_column_bytes
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_column_count
1>databasesqlite.obj : error LNK2001: unresolved external symbol sqlite3_column_name
1>otserv.obj : error LNK2001: unresolved external symbol RSA_new
1>otserv.obj : error LNK2001: unresolved external symbol BN_dec2bn
1>otserv.obj : error LNK2001: unresolved external symbol RSA_check_key
1>otserv.obj : error LNK2001: unresolved external symbol BN_CTX_new
1>otserv.obj : error LNK2001: unresolved external symbol BN_CTX_start
1>otserv.obj : error LNK2001: unresolved external symbol BN_CTX_get
1>otserv.obj : error LNK2001: unresolved external symbol BN_div
1>otserv.obj : error LNK2001: unresolved external symbol BN_mod_inverse
1>otserv.obj : error LNK2001: unresolved external symbol ERR_load_crypto_strings
1>otserv.obj : error LNK2001: unresolved external symbol ERR_error_string
1>otserv.obj : error LNK2001: unresolved external symbol ERR_get_error
1>protocol.obj : error LNK2001: unresolved external symbol RSA_private_decrypt
1>status.obj : error LNK2001: unresolved external symbol xmlNewDoc
1>status.obj : error LNK2001: unresolved external symbol xmlNewDocNode
1>status.obj : error LNK2001: unresolved external symbol xmlSetProp
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 xmlNodeSetContent
1>status.obj : error LNK2001: unresolved external symbol xmlNewTextChild
1>status.obj : error LNK2001: unresolved external symbol xmlDocDumpMemory
1>status.obj : error LNK2001: unresolved external symbol __imp_xmlFree
1>tools.obj : error LNK2001: unresolved external symbol MD5_Init
1>tools.obj : error LNK2001: unresolved external symbol MD5_Update
1>tools.obj : error LNK2001: unresolved external symbol MD5_Final
1>tools.obj : error LNK2001: unresolved external symbol SHA1_Init
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 SHA256_Init
1>tools.obj : error LNK2001: unresolved external symbol SHA256_Update
1>tools.obj : error LNK2001: unresolved external symbol SHA256_Final
1>tools.obj : error LNK2001: unresolved external symbol SHA512_Init
1>tools.obj : error LNK2001: unresolved external symbol SHA512_Update
1>tools.obj : error LNK2001: unresolved external symbol SHA512_Final
1>tools.obj : error LNK2001: unresolved external symbol xmlGetProp
1>tools.obj : error LNK2001: unresolved external symbol xmlNodeGetContent
1>tools.obj : error LNK2001: unresolved external symbol xmlGetLastError
1>tools.obj : error LNK2001: unresolved external symbol UTF8Toisolat1
1>tools.obj : error LNK2001: unresolved external symbol isolat1ToUTF8
 
Last edited:
Hi guys, ignore all my other posts.

========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

64bit :) latest rev.
 
Thanks for the tutorial! i have a question, is possible compile in 64 bits with visual c++ express edition?

- - - Updated - - -

tfs.pch??

Code:
.\..\..\..\..\Distribucion\protocolold.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>  scriptmanager.cpp
1>..\..\..\..\..\Distribucion\quests.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>  server.cpp
1>..\..\..\..\..\Distribucion\scriptmanager.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\server.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>  spawn.cpp
1>..\..\..\..\..\Distribucion\raids.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\scheduler.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>  spells.cpp
1>..\..\..\..\..\Distribucion\spawn.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\spells.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>  status.cpp
1>  talkaction.cpp
1>  teleport.cpp
1>  textlogger.cpp
1>..\..\..\..\..\Distribucion\status.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\talkaction.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>  thing.cpp
1>  tile.cpp
1>..\..\..\..\..\Distribucion\textlogger.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\teleport.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>  tools.cpp
1>  trashholder.cpp
1>..\..\..\..\..\Distribucion\tools.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\thing.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\tile.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\trashholder.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>  vocation.cpp
1>  waitlist.cpp
1>  weapons.cpp
1>..\..\..\..\..\Distribucion\waitlist.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\weapons.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
1>..\..\..\..\..\Distribucion\vocation.cpp(17): fatal error C1083: Cannot open precompiled header file: 'Release\tfs.pch': No such file or directory
 
Errors

Who can help me with those errors:

PHP:
Build started 2012-08-21 17:08:09.
     1>Project "L:\Server Files\Tibianic\source\5767\vc10\tfs.vcxproj" on node 2 (Build target(s)).
         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /I"C:\Windows\system32\LuaJIT-2.0.0-beta9\include" /I"C:\Windows\system32\libxml2-2.7.8\include" /I"C:\Windows\system32\libiconv-1.14\include" /I"C:\Windows\system32\mpir-2.5.0\include" /I"C:\Windows\system32\sqlite3-3.7.7.1\include" /I"C:\Windows\system32\mysql-connector-c-6.0.2\include" /I"C:\Windows\system32\openssl-0.9.8k\include" /I"C:\Windows\system32\postgresql-9.1.2-1\include" /Zi /nologo /W3 /WX- /MP /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D __LUAJIT__ /D __USE_SQLITE__ /D __USE_MYSQL__ /D __ENABLE_SERVER_DIAGNOSTIC__ /D __EXCEPTION_TRACER__ /D _CRT_SECURE_NO_WARNINGS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yc"otpch.h" /Fp"Debug\tfs.pch" /Fo"Debug\\" /Fd"Debug\vc110.pdb" /Gd /TP /analyze- /errorReport:prompt ..\otpch.cpp
         otpch.cpp
         Unknown compiler version - please run the configure tests and report the results
         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /I"C:\Windows\system32\LuaJIT-2.0.0-beta9\include" /I"C:\Windows\system32\libxml2-2.7.8\include" /I"C:\Windows\system32\libiconv-1.14\include" /I"C:\Windows\system32\mpir-2.5.0\include" /I"C:\Windows\system32\sqlite3-3.7.7.1\include" /I"C:\Windows\system32\mysql-connector-c-6.0.2\include" /I"C:\Windows\system32\openssl-0.9.8k\include" /I"C:\Windows\system32\postgresql-9.1.2-1\include" /Zi /nologo /W3 /WX- /MP /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D __LUAJIT__ /D __USE_SQLITE__ /D __USE_MYSQL__ /D __ENABLE_SERVER_DIAGNOSTIC__ /D __EXCEPTION_TRACER__ /D _CRT_SECURE_NO_WARNINGS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"otpch.h" /Fp"Debug\tfs.pch" /Fo"Debug\\" /Fd"Debug\vc110.pdb" /Gd /TP /analyze- /errorReport:prompt ..\actions.cpp ..\admin.cpp ..\allocator.cpp ..\baseevents.cpp ..\beds.cpp ..\chat.cpp ..\combat.cpp ..\condition.cpp ..\configmanager.cpp ..\connection.cpp ..\container.cpp ..\creature.cpp ..\creatureevent.cpp ..\cylinder.cpp ..\database.cpp ..\databasemanager.cpp ..\databasemysql.cpp ..\databasemysqlpp.cpp ..\databasepgsql.cpp ..\databasesqlite.cpp ..\depot.cpp ..\dispatcher.cpp ..\exception.cpp ..\fileloader.cpp ..\game.cpp ..\gameservers.cpp ..\globalevent.cpp ..\group.cpp ..\house.cpp ..\housetile.cpp ..\ioban.cpp ..\ioguild.cpp ..\iologindata.cpp ..\iomap.cpp ..\iomapserialize.cpp ..\item.cpp ..\itemattributes.cpp ..\iomarket.cpp ..\items.cpp ..\luascript.cpp ..\mailbox.cpp ..\manager.cpp ..\map.cpp ..\monster.cpp ..\monsters.cpp ..\mounts.cpp ..\movement.cpp ..\networkmessage.cpp ..\npc.cpp ..\otserv.cpp ..\outfit.cpp ..\outputmessage.cpp ..\party.cpp ..\player.cpp ..\position.cpp ..\protocol.cpp ..\protocolgame.cpp ..\protocolhttp.cpp ..\protocollogin.cpp ..\protocolold.cpp ..\quests.cpp ..\raids.cpp ..\scheduler.cpp ..\scriptmanager.cpp ..\server.cpp ..\spawn.cpp ..\spells.cpp ..\status.cpp ..\talkaction.cpp ..\teleport.cpp ..\textlogger.cpp ..\thing.cpp ..\tile.cpp ..\tools.cpp ..\trashholder.cpp ..\vocation.cpp ..\waitlist.cpp ..\weapons.cpp
         actions.cpp
         admin.cpp
         allocator.cpp
         baseevents.cpp
         beds.cpp
         chat.cpp
         combat.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\beds.cpp)
         condition.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\actions.cpp)
         configmanager.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\configmanager.cpp)
         connection.cpp
         container.cpp
         creature.cpp
         creatureevent.cpp
         cylinder.cpp
         database.cpp
         databasemanager.cpp
         databasemysql.cpp
         databasemysqlpp.cpp
         databasepgsql.cpp
         databasesqlite.cpp
         depot.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\container.cpp)
         dispatcher.cpp
         exception.cpp
         fileloader.cpp
         game.cpp
         gameservers.cpp
         globalevent.cpp
         group.cpp
         house.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\house.cpp)
         housetile.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\game.cpp)
         ioban.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\housetile.cpp)
         ioguild.cpp
         iologindata.cpp
         iomap.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\iomap.cpp)
         iomapserialize.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\iologindata.cpp)
         item.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\iomapserialize.cpp)
         itemattributes.cpp
         iomarket.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\item.cpp)
         items.cpp
         luascript.cpp
         mailbox.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\luascript.cpp)
         manager.cpp
         map.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\map.cpp)
         monster.cpp
         monsters.cpp
         mounts.cpp
         movement.cpp
         networkmessage.cpp
         npc.cpp
         otserv.cpp
         outfit.cpp
         outputmessage.cpp
         party.cpp
         player.cpp
         position.cpp
         protocol.cpp
         protocolgame.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\player.cpp)
         protocolhttp.cpp
         protocollogin.cpp
         protocolold.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\protocolgame.cpp)
         quests.cpp
         raids.cpp
         scheduler.cpp
         scriptmanager.cpp
         server.cpp
         spawn.cpp
         spells.cpp
         status.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\spells.cpp)
         talkaction.cpp
         teleport.cpp
     1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\boost/unordered/unordered_set.hpp(27): fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory (..\talkaction.cpp)
         textlogger.cpp
         thing.cpp
         tile.cpp
         tools.cpp
         trashholder.cpp
         vocation.cpp
         waitlist.cpp
         weapons.cpp
     1>Done Building Project "L:\Server Files\Tibianic\source\5767\vc10\tfs.vcxproj" (Build target(s)) -- FAILED.

Build FAILED.

Time Elapsed 00:01:58.65
 
Code:
1>LINK : fatal error LNK1181: cannot open input file 'lua5.1.lib'

Can anyone help me with it?


@edit
Nvm, fixed. Had to add it to linker.
 
Last edited:
HELP!

I am using MVS PRO

I got this:

1>------ Rebuild All started: Project: tfs, Configuration: Release Win32 ------
1>Build started 17/11/2012 06:47:32.
1>_PrepareForClean:
1> Deleting file "Release\tfs.lastbuildstate".
1>InitializeBuildStatus:
1> Touching "Release\tfs.unsuccessfulbuild".
1>ClCompile:
1> otpch.cpp
1> actions.cpp
1> admin.cpp
1> allocator.cpp
1> baseevents.cpp
1> beds.cpp
1> chat.cpp
1> combat.cpp
1> condition.cpp
1> configmanager.cpp
1> connection.cpp
1> container.cpp
1> creature.cpp
1> creatureevent.cpp
1> cylinder.cpp
1> database.cpp
1> databasemanager.cpp
1> databasemysql.cpp
1> databasemysqlpp.cpp
1> databasepgsql.cpp
1> databasesqlite.cpp
1> depot.cpp
1> dispatcher.cpp
1> exception.cpp
1> fileloader.cpp
1> game.cpp
1> gameservers.cpp
1> globalevent.cpp
1> group.cpp
1> house.cpp
1> housetile.cpp
1> ioban.cpp
1> ioguild.cpp
1> iologindata.cpp
1> iomap.cpp
1> iomapserialize.cpp
1> item.cpp
1> itemattributes.cpp
1> iomarket.cpp
1> items.cpp
1> luascript.cpp
1> mailbox.cpp
1> manager.cpp
1> map.cpp
1> monster.cpp
1>..\luascript.cpp(769): error C2039: 'string' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>
1> ]
1> monsters.cpp
1> mounts.cpp
1> movement.cpp
1> networkmessage.cpp
1> npc.cpp
1> otserv.cpp
1> outfit.cpp
1> outputmessage.cpp
1> party.cpp
1> player.cpp
1> position.cpp
1> protocol.cpp
1> protocolgame.cpp
1> protocolhttp.cpp
1> protocollogin.cpp
1> protocolold.cpp
1> quests.cpp
1> raids.cpp
1> scheduler.cpp
1> scriptmanager.cpp
1> server.cpp
1> spawn.cpp
1> spells.cpp
1> status.cpp
1> talkaction.cpp
1> teleport.cpp
1>..\scriptmanager.cpp(147): error C2039: 'string' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>
1> ]
1> textlogger.cpp
1> thing.cpp
1> tile.cpp
1> tools.cpp
1> trashholder.cpp
1> vocation.cpp
1> waitlist.cpp
1> weapons.cpp
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:16.49
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
 
I was able to compile it on visual studio. But I can't compile the Login server TFLS on visual studio on 64 bits. can some one help?
 
1>------ Build started: Project: The Forgotten Server, Configuration: Release Win32 ------
1> Generating code
1> Finished generating code
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Please heelp meee!
 
After like 2 months every compiling thread is just obsolete.

I never can get these things to work with newer revs. I really want to compile lol, I am following every tutorial written and I mean following to-the-letter. None work with a 9.x build. I get errors about missing libs or header files or include libraries. I know I am following the guides though lol.

I really wish there was an updated compiling tutorial. This sucks.

Can someone PM me if they are willing to help me get this working?
 
@corporatelayer:
..\scriptmanager.cpp(147): error C2039: 'string' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'
is fixed by:
opening "otsystem.h" and changing:
from:
#if BOOST_VERSION < 104400
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename()
#else
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename().string()
#endif

to:

#if BOOST_VERSION < 104400
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename()
#else
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename()
#endif

@Tibianic.eu:
fatal error C1083: Cannot open include file: 'initializer_list': No such file or directory
is fixed by:
defining BOOST_NO_0X_HDR_INITIALIZER_LIST
by that I mean:
adding:
#define BOOST_NO_0X_HDR_INITIALIZER_LIST
at the top of the unordered_set.hpp

Iam currently getting this error:
1>LINK : fatal error LNK1181: cannot open input file 'lua51.lib'
can anyone help me to fix it?
 
Is there any easy way to make boost libs work with msvc 2012?

whatever, I finally managed to fing MSVC 2010

Code:
1>  tfs02.vcxproj -> E:\down\forgottenserver-0.2.14.r101\0.2.14.r101\vc10\Release\tfs02.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
lol wuuuuut, yeah
 
Last edited:
Someone help me out here, I included everything right, got everything in the right folders and everything, but I get an error... when it comes to the end for the lua5.1.lib, anyone got the right kind for newest mystic spirit?

- - - Updated - - -

Error 2 error LNK1181: cannot open input file 'lua51.lib' C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\LINK tfs02

- - - Updated - - -

Can someone who has compiled forgottenserver-0.2.14.r101 flawlessly please upload their lib and include folders PLEASE!!!!!!!!!!!

- - - Updated - - -

For 64 bit

- - - Updated - - -

keep fixing errors, but I cannot find this file anywhere, does anyone have this lib?

Error 1 error LNK1104: cannot open file 'libboost_system-vc100-mt-1_44.lib' C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\LINK tfs02

- - - Updated - - -

copied libboost_system-vc100-mt-s-1_44 and made libboost_system-vc100-mt-1_44 and had other ones like that pop up that I did the same thing to, and then I got this

[QUOTEError 3 error LNK2001: unresolved external symbol xmlStrEqual C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\admin.obj tfs02
Error 5 error LNK2001: unresolved external symbol xmlStrcmp C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\baseevents.obj tfs02
Error 78 error LNK2001: unresolved external symbol xmlSetProp C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\status.obj tfs02
Error 52 error LNK2001: unresolved external symbol xmlSchemaValidateDoc C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\items.obj tfs02
Error 50 error LNK2001: unresolved external symbol xmlSchemaParse C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\items.obj tfs02
Error 51 error LNK2001: unresolved external symbol xmlSchemaNewValidCtxt C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\items.obj tfs02
Error 49 error LNK2001: unresolved external symbol xmlSchemaNewDocParserCtxt C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\items.obj tfs02
Error 53 error LNK2001: unresolved external symbol xmlSchemaFreeValidCtxt C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\items.obj tfs02
Error 55 error LNK2001: unresolved external symbol xmlSchemaFreeParserCtxt C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\items.obj tfs02
Error 54 error LNK2001: unresolved external symbol xmlSchemaFree C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\items.obj tfs02
Error 48 error LNK2001: unresolved external symbol xmlReadFile C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\items.obj tfs02
Error 1 error LNK2001: unresolved external symbol xmlParseFile C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\admin.obj tfs02
Error 88 error LNK2001: unresolved external symbol xmlNodeGetContent C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\tools.obj tfs02
Error 83 error LNK2001: unresolved external symbol xmlNewTextChild C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\status.obj tfs02
Error 81 error LNK2001: unresolved external symbol xmlNewNode C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\status.obj tfs02
Error 80 error LNK2001: unresolved external symbol xmlNewDocNode C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\status.obj tfs02
Error 79 error LNK2001: unresolved external symbol xmlNewDoc C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\status.obj tfs02
Error 86 error LNK2001: unresolved external symbol xmlGetProp C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\tools.obj tfs02
Error 4 error LNK2001: unresolved external symbol xmlFreeDoc C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\admin.obj tfs02
Error 2 error LNK2001: unresolved external symbol xmlDocGetRootElement C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\admin.obj tfs02
Error 84 error LNK2001: unresolved external symbol xmlDocDumpMemory C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\status.obj tfs02
Error 82 error LNK2001: unresolved external symbol xmlAddChild C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\status.obj tfs02
Error 87 error LNK2001: unresolved external symbol UTF8Toisolat1 C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\tools.obj tfs02
Error 37 error LNK2001: unresolved external symbol sqlite3_step C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 38 error LNK2001: unresolved external symbol sqlite3_snprintf C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 34 error LNK2001: unresolved external symbol sqlite3_prepare_v2 C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 32 error LNK2001: unresolved external symbol sqlite3_open C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 31 error LNK2001: unresolved external symbol sqlite3_libversion_number C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 30 error LNK2001: unresolved external symbol sqlite3_libversion C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 29 error LNK2001: unresolved external symbol sqlite3_last_insert_rowid C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 35 error LNK2001: unresolved external symbol sqlite3_finalize C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 36 error LNK2001: unresolved external symbol sqlite3_errmsg C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 41 error LNK2001: unresolved external symbol sqlite3_column_text C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 45 error LNK2001: unresolved external symbol sqlite3_column_name C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 40 error LNK2001: unresolved external symbol sqlite3_column_int64 C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 39 error LNK2001: unresolved external symbol sqlite3_column_int C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 44 error LNK2001: unresolved external symbol sqlite3_column_count C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 43 error LNK2001: unresolved external symbol sqlite3_column_bytes C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 42 error LNK2001: unresolved external symbol sqlite3_column_blob C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 33 error LNK2001: unresolved external symbol sqlite3_close C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasesqlite.obj tfs02
Error 19 error LNK2001: unresolved external symbol mysql_store_result C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 15 error LNK2001: unresolved external symbol mysql_rollback C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 17 error LNK2001: unresolved external symbol mysql_real_query C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 21 error LNK2001: unresolved external symbol mysql_real_escape_string C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 12 error LNK2001: unresolved external symbol mysql_real_connect C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 11 error LNK2001: unresolved external symbol mysql_options C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 7 error LNK2001: unresolved external symbol mysql_insert_id C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 10 error LNK2001: unresolved external symbol mysql_init C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 9 error LNK2001: unresolved external symbol mysql_get_client_version C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 8 error LNK2001: unresolved external symbol mysql_get_client_info C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 20 error LNK2001: unresolved external symbol mysql_free_result C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 23 error LNK2001: unresolved external symbol mysql_fetch_row C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 22 error LNK2001: unresolved external symbol mysql_fetch_lengths C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 24 error LNK2001: unresolved external symbol mysql_fetch_field C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 13 error LNK2001: unresolved external symbol mysql_error C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 18 error LNK2001: unresolved external symbol mysql_errno C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 16 error LNK2001: unresolved external symbol mysql_commit C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 14 error LNK2001: unresolved external symbol mysql_close C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 85 error LNK2001: unresolved external symbol __imp_xmlFree C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\status.obj tfs02
Error 62 error LNK2001: unresolved external symbol __gmpz_sub_ui C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 68 error LNK2001: unresolved external symbol __gmpz_sub C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 72 error LNK2001: unresolved external symbol __gmpz_sizeinbase C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 71 error LNK2001: unresolved external symbol __gmpz_set_ui C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 61 error LNK2001: unresolved external symbol __gmpz_set_str C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 58 error LNK2001: unresolved external symbol __gmpz_set C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 67 error LNK2001: unresolved external symbol __gmpz_powm C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 65 error LNK2001: unresolved external symbol __gmpz_mul C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 64 error LNK2001: unresolved external symbol __gmpz_mod C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 63 error LNK2001: unresolved external symbol __gmpz_invert C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 59 error LNK2001: unresolved external symbol __gmpz_init2 C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 66 error LNK2001: unresolved external symbol __gmpz_import C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 73 error LNK2001: unresolved external symbol __gmpz_export C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 69 error LNK2001: unresolved external symbol __gmpz_cmp_si C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 60 error LNK2001: unresolved external symbol __gmpz_clear C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 70 error LNK2001: unresolved external symbol __gmpz_add C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\rsa.obj tfs02
Error 75 error LNK2001: unresolved external symbol "public: void __cdecl boost::thread::join(void)" (?join@thread@boost@@QEAAXXZ) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\scheduler.obj tfs02
Error 26 error LNK2001: unresolved external symbol "public: bool __cdecl boost::re_detail::perl_matcher<class std::_String_const_iterator<class std::_String_val<struct std::_Simple_types<char> > >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<class std::_String_val<struct std::_Simple_types<char> > > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::find(void)" (?find@?$perl_matcher@V?$_String_const_iterator@V?$_String_val@U?$_Simple_types@D@std@@@std@@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@V?$_String_val@U?$_Simple_types@D@std@@@std@@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QEAA_NXZ) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 46 error LNK2001: unresolved external symbol "public: bool __cdecl 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@PEBDV?$allocator@U?$sub_match@PEBD@boost@@@std@@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QEAA_NXZ) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\house.obj tfs02
Error 76 error LNK2001: unresolved external symbol "public: __cdecl boost::thread::thread(void)" (??0thread@boost@@QEAA@XZ) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\scheduler.obj tfs02
Error 57 error LNK2001: unresolved external symbol "public: __cdecl boost::thread::~thread(void)" (??1thread@boost@@QEAA@XZ) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\otserv.obj tfs02
Error 77 error LNK2001: unresolved external symbol "private: void __cdecl boost::thread::start_thread(void)" (?start_thread@thread@boost@@AEAAXXZ) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\scheduler.obj tfs02
Error 27 error LNK2001: unresolved external symbol "private: void __cdecl boost::re_detail::perl_matcher<class std::_String_const_iterator<class std::_String_val<struct std::_Simple_types<char> > >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<class std::_String_val<struct std::_Simple_types<char> > > > >,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@V?$_String_const_iterator@V?$_String_val@U?$_Simple_types@D@std@@@std@@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@V?$_String_val@U?$_Simple_types@D@std@@@std@@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@AEAAXAEBV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 47 error LNK2001: unresolved external symbol "private: void __cdecl 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@PEBDV?$allocator@U?$sub_match@PEBD@boost@@@std@@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@AEAAXAEBV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\house.obj tfs02
Error 25 error LNK2001: unresolved external symbol "private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __cdecl 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@@AEAAAEAV12@PEBD0I@Z) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 6 error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\connection.obj tfs02
Error 56 error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\otpch.obj tfs02
Error 28 error LNK2001: unresolved external symbol "char __cdecl boost::re_detail::w32_toupper(char,unsigned int)" (?w32_toupper@re_detail@boost@@YADDI@Z) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\databasemysql.obj tfs02
Error 74 error LNK2001: unresolved external symbol "bool __cdecl boost::this_thread::interruptible_wait(void *,struct boost::detail::timeout)" (?interruptible_wait@this_thread@boost@@YA_NPEAXUtimeout@detail@2@@Z) C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\scheduler.obj tfs02
Error 89 error LNK1120: 88 unresolved externals C:\Users\chase\Downloads\Compressed files\forgottenserver-0.2.14.r101.tar\0.2.14.r101\vc10\x64\Release GUI\tfs02.exe tfs02
][/QUOTE]

Can someone please help me out with linkers, I desperately need to be able to do work on the sources.... Never had this much trouble with linkers...
 
Last edited:
i still think stians repack was the best cuz it was like open and compile, i tried 5x in a row, and yet iam not that dumb, i cant compile it due missing librarys or bad librarys, and i did exacly like u said download program, include the stuff and compile and puff error and more errors.
 
Error 1 error LNK1181: cannot open input file 'lua51.lib' C:\Users\rodri_000\Downloads\forgottenserver-trunk.r5959\trunk.r5959\vc10\LINK tfs02
:c
FIXED:
just rename the life lua5.1.lib to lua51.lib... :)

- - - Updated - - -

I've got this problem too, did you get correct?
 
Last edited:
Back
Top