• 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 TFS 1.0 on x64 [Microsoft Visual C++ 2013 Express]

Rer

LUA is for genius xD
Joined
Oct 24, 2012
Messages
234
Reaction score
16
Location
Poland
Hi all,

I downloaded TFS SDK v2.0 and Boosts x64 from Wiki Github (OTLand) but when I compiling sources I have errors:

Code:
------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1>  otpch.cpp
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(1346): warning C4996: 'WSASocketA': Use WSASocketW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(3457) : see declaration of 'WSASocketA'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(1954): warning C4996: 'WSAAddressToStringA': Use WSAAddressToStringW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(3556) : see declaration of 'WSAAddressToStringA'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(2160): warning C4996: 'WSAStringToAddressA': Use WSAStringToAddressW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(3623) : see declaration of 'WSAStringToAddressA'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(2295): warning C4996: 'gethostbyaddr': Use getnameinfo() or GetNameInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(2216) : see declaration of 'gethostbyaddr'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(2344): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(2238) : see declaration of 'gethostbyname'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_select_interrupter.ipp(62): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(1850) : see declaration of 'inet_addr'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_select_interrupter.ipp(75): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(1850) : see declaration of 'inet_addr'

What's wrong? ;/ I build: Release x64
 
I know, but I don't know why I have errors on compiling. I do all with tutorial on github and from you thread..
 
Can you post the whole log in pastebin? I've never had this problem to be honest so I dont really know what causes it or how to fix it.
 
Back
Top