IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Trying to Recompile RCBot2 (Win32)
RoboCop
post May 21 2017, 03:45 PM
Post #1


RCBot Fan
****

Group: Admin
Posts: 191
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



Hello, I thought I may help out by trying to recompile RCBot2 using VS2017. Now I had to download latest MMSource src-code in order to use the MMS SDK scripts. I had to do some adjustments like removing Create Custom Directory in "D:" like "D:\drv\xxrcinstall\files\rcbot2\files\rcbot2meta.dll;D:\Games\GTAV\steamapps\common\Team Fortress 2\tf\addons\rcbot2meta.dll;%(Outputs)" in order for it to work. The other adjustments is the Code Generation for SSE2 in [Enable Enhanced Instruction Set]. When I tried to [Build] the RcBot2_Meta binary it gave me this error below:-

CODE
1>   Creating library .\Release/HPB_bot2.lib and object .\Release/HPB_bot2.exp
1>tier1.lib(KeyValues.obj) : error LNK2019: unresolved external symbol __vswprintf referenced in function "int __cdecl swprintf(wchar_t *,wchar_t const *,...)" (?swprintf@@YAHPA_WPB_WZZ)
1>tier1.lib(strtools.obj) : error LNK2019: unresolved external symbol __snwprintf referenced in function "int __cdecl V_snwprintf(wchar_t *,int,wchar_t const *,...)" (?V_snwprintf@@YAHPA_WHPB_WZZ)
1>tier1.lib(strtools.obj) : error LNK2019: unresolved external symbol __vsnprintf referenced in function "int __cdecl V_snprintf(char *,int,char const *,...)" (?V_snprintf@@YAHPADHPBDZZ)
1>tier1.lib(utlstring.obj) : error LNK2001: unresolved external symbol __vsnprintf
1>.\Release/rcbot2meta.dll : fatal error LNK1120: 3 unresolved externals
1>Done building project "HPB_Bot2.vcxproj" -- FAILED.


Now I'm a bit of a C++ rookie but does anyone know what this means or have any possible clues or who had this error before for RcBot2?

This RcBot2 src code was downloaded from the latest r484 in SourceForge.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 21 2017, 06:59 PM
Post #2


Admin
*****

Group: Admin
Posts: 3,055
Joined: 11-September 03
From: uk
Member No.: 1



I remember reading somewhere that the hl2 source can't compile in vs later than 2013. I couldn't get it to compile on 2015.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post May 21 2017, 09:43 PM
Post #3


RCBot Fan
****

Group: Admin
Posts: 191
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



QUOTE(Cheeseh @ May 21 2017, 07:59 PM) *

I remember reading somewhere that the hl2 source can't compile in vs later than 2013. I couldn't get it to compile on 2015.

Alright I got it now, I've managed to recompile both the Release and Debug builds but with the newer Metamod Source Src SDK.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 07:17 AM