![]() |
![]() ![]() |
![]() |
Salvax |
![]()
Post
#41
|
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 75 Joined: 14-February 07 Member No.: 1,034 ![]() |
faint !
so... 1. delet the memoverride.cpp from solution 2.add memoverride-vc7.cpp (right click HPB_bot2/Source Files in Solution explorer --> add an existing item --> choose C:\hl2scr\public\tier0\memoverride-vc7.cpp ) , rename it to memoverride.cpp(how to rename?) 3.re-build solution ? do i miss something ? PS:ok, i did a fast thing like this: 1.i deleted C:\hl2scr\public\tier0\memoverride.cpp 2.renamed C:\hl2scr\public\tier0\memoverride-vc7.cpp to memoverride.cpp 3.open SLN in VS2003, re-build solution i got only 4 errors: QUOTE ------ Rebuild All started: Project: HPB_bot2, Configuration: Release Win32 ------ Deleting intermediate files and output files for project 'HPB_bot2', configuration 'Release|Win32'. Compiling... bitbuf.cpp bot_weapons.cpp bot_waypoint_visibility.cpp bot_waypoint_locations.cpp bot_waypoint.cpp bot_visibles.cpp bot_usercmd.cpp bot_task.cpp bot_strings.cpp bot_schedule.cpp bot_profile.cpp bot_perceptron.cpp bot_navmesh.cpp bot_mods.cpp bot_main.cpp bot_kv.cpp bot_hldm_bot.cpp bot_globals.cpp bot_ga_ind.cpp bot_ga.cpp bot_events.cpp bot_css_bot.cpp bot_convar.cpp bot_commands.cpp bot_client.cpp bot_buttons.cpp bot_accessclient.cpp bot.cpp Compiling... utlbuffer.cpp memoverride.cpp KeyValues.cpp interface.cpp convar.cpp Linking... Creating library .\Release/HPB_bot2.lib and object .\Release/HPB_bot2.exp tier1.lib(strtools.obj) : error LNK2019: unresolved external symbol __ftol2_sse referenced in function "char * __cdecl V_pretifymem(float,int,bool)" (?V_pretifymem@@YAPADMH_N@Z) mathlib.lib(mathlib_base.obj) : error LNK2001: unresolved external symbol __ftol2_sse mathlib.lib(mathlib_base.obj) : error LNK2019: unresolved external symbol __alloca_probe_16 referenced in function "int __cdecl ClipPolyToPlane(class Vector *,int,class Vector *,class Vector const &,float,float)" (?ClipPolyToPlane@@YAHPAVVector@@H0ABV1@MM@Z) .\Release/HPB_bot2.dll : fatal error LNK1120: 2 unresolved externals Build log was saved at "file://c:\hl2scr\utils\HPB_Bot2\Release\BuildLog.htm" HPB_bot2 - 4 error(s), 0 warning(s) ---------------------- Done ---------------------- Rebuild All: 0 succeeded, 1 failed, 0 skipped |
Cheeseh |
![]()
Post
#42
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
it would had been better to remove memoverride from the solution and put in the vc7 version instead (whatever is easier)
didn't you follow the library instructions I gave you? QUOTE project properties-> linker->general->additional library directories-> change each occurence of lib to lib-vc7 |
Salvax |
![]()
Post
#43
|
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 75 Joined: 14-February 07 Member No.: 1,034 ![]() |
COOOOOOOOOOOOOL!!!!!!!!!!!!!!!! My Captain !!!!!!!!!!!!!!!!!! Hat's off to u !!!!!!!!!!!!!!!WOOOOOOOOOOOOOOOW!!!!!!!!!!!!!!!!!!!!!!
OK, i fully followed ur instruction again. i add memoverride-vc7.cpp to the solution then modified project properties-> linker->general->additional library directories-> to this: ..\..\lib-vc7\public;..\..\lib-vc7\common then re-build solution !!!!!!!!!!!! WOOOOOOOOOOOOOOOOOW I make it !!!!!!!!!!!!!!!!!!!!!!!! QUOTE ------ Rebuild All started: Project: HPB_bot2, Configuration: Release Win32 ------ Deleting intermediate files and output files for project 'HPB_bot2', configuration 'Release|Win32'. Compiling... memoverride-vc7.cpp bitbuf.cpp bot_weapons.cpp bot_waypoint_visibility.cpp bot_waypoint_locations.cpp bot_waypoint.cpp bot_visibles.cpp bot_usercmd.cpp bot_task.cpp bot_strings.cpp bot_schedule.cpp bot_profile.cpp bot_perceptron.cpp bot_navmesh.cpp bot_mods.cpp bot_main.cpp bot_kv.cpp bot_hldm_bot.cpp bot_globals.cpp bot_ga_ind.cpp bot_ga.cpp bot_events.cpp bot_css_bot.cpp bot_convar.cpp bot_commands.cpp bot_client.cpp bot_buttons.cpp bot_accessclient.cpp bot.cpp Compiling... utlbuffer.cpp KeyValues.cpp interface.cpp convar.cpp Linking... Creating library .\Release/HPB_bot2.lib and object .\Release/HPB_bot2.exp Performing Custom Build Step Can't find file - C:\program files\Valve\steam\steamapps\********\counter strike source\bin\rcbot.dll Build log was saved at "file://c:\hl2scr\utils\HPB_Bot2\Release\BuildLog.htm" HPB_bot2 - 0 error(s), 0 warning(s) ---------------------- Done ---------------------- Rebuild All: 1 succeeded, 0 failed, 0 skipped PS: how to fix this: QUOTE Can't find file - C:\program files\Valve\steam\steamapps\********\counter strike source\bin\rcbot.dll and sometimes it gives me this warnning, u told me to ignore it , but it is really annoying, plz tell me how to get rid of it, thx !! QUOTE ------ Rebuild All started: Project: HPB_bot2, Configuration: Release Win32 ------ Deleting intermediate files and output files for project 'HPB_bot2', configuration 'Release|Win32'. HPB_bot2 : warning PRJ0042 : The 'Outputs' property for the custom build step for file 'tier0.lib' is not set. The custom build step will be skipped. Performing Custom Build Step The custom build tool has been skipped. Compiling... bitbuf.cpp memoverride-vc7.cpp bot_weapons.cpp bot_waypoint_visibility.cpp bot_waypoint_locations.cpp ... .. . PS2: it seems release is ok , but in debug mode i get some errors, plz check thx,Captain! QUOTE ------ Rebuild All started: Project: HPB_bot2, Configuration: Release Win32 ------ Deleting intermediate files and output files for project 'HPB_bot2', configuration 'Release|Win32'. HPB_bot2 : warning PRJ0042 : The 'Outputs' property for the custom build step for file 'tier0.lib' is not set. The custom build step will be skipped. Performing Custom Build Step The custom build tool has been skipped. Compiling... bitbuf.cpp memoverride-vc7.cpp bot_weapons.cpp bot_waypoint_visibility.cpp bot_waypoint_locations.cpp bot_waypoint.cpp bot_visibles.cpp bot_usercmd.cpp bot_task.cpp bot_strings.cpp bot_schedule.cpp bot_profile.cpp bot_perceptron.cpp bot_navmesh.cpp bot_mods.cpp bot_main.cpp bot_kv.cpp bot_hldm_bot.cpp bot_globals.cpp bot_ga_ind.cpp bot_ga.cpp bot_events.cpp bot_css_bot.cpp bot_convar.cpp bot_commands.cpp bot_client.cpp bot_buttons.cpp bot_accessclient.cpp bot.cpp Compiling... utlbuffer.cpp KeyValues.cpp interface.cpp convar.cpp Linking... Creating library .\Release/HPB_bot2.lib and object .\Release/HPB_bot2.exp Performing Custom Build Step Can't fine file - C:\Program Files\Valve\Steam\SteamApps\*******\counter-strike source\bin\rcbot.dll Build log was saved at "file://e:\hl2scr\utils\HPB_Bot2\Release\BuildLog.htm" HPB_bot2 - 0 error(s), 1 warning(s) ------ Rebuild All started: Project: HPB_bot2, Configuration: Debug Win32 ------ Deleting intermediate files and output files for project 'HPB_bot2', configuration 'Debug|Win32'. HPB_bot2 : warning PRJ0042 : The 'Outputs' property for the custom build step for file 'tier0.lib' is not set. The custom build step will be skipped. Performing Custom Build Step The custom build tool has been skipped. Compiling... bitbuf.cpp memoverride-vc7.cpp bot_weapons.cpp bot_waypoint_visibility.cpp bot_waypoint_locations.cpp bot_waypoint.cpp bot_visibles.cpp bot_usercmd.cpp bot_task.cpp bot_strings.cpp bot_schedule.cpp bot_profile.cpp bot_perceptron.cpp bot_navmesh.cpp bot_mods.cpp bot_main.cpp bot_kv.cpp bot_hldm_bot.cpp bot_globals.cpp bot_ga_ind.cpp Generating Code... Compiling... bot_ga.cpp bot_events.cpp bot_css_bot.cpp bot_convar.cpp bot_commands.cpp bot_client.cpp bot_buttons.cpp bot_accessclient.cpp bot.cpp Generating Code... Compiling... utlbuffer.cpp KeyValues.cpp interface.cpp convar.cpp Generating Code... Linking... LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification Creating library .\Debug/HPB_bot2.lib and object .\Debug/HPB_bot2.exp bot.obj : error LNK2001: unresolved external symbol _pfSqrt bot_globals.obj : error LNK2001: unresolved external symbol _pfSqrt bot_waypoint.obj : error LNK2001: unresolved external symbol _pfSqrt bot.obj : error LNK2019: unresolved external symbol "void __cdecl AngleVectors(class QAngle const &,class Vector *)" (?AngleVectors@@YAXABVQAngle@@PAVVector@@@Z) referenced in function "public: float __thiscall CBot::DotProductFromOrigin(class Vector &)" (?DotProductFromOrigin@CBot@@QAEMAAVVector@@@Z) bot.obj : error LNK2019: unresolved external symbol "void __cdecl VectorAngles(class Vector const &,class QAngle &)" (?VectorAngles@@YAXABVVector@@AAVQAngle@@@Z) referenced in function "protected: void __thiscall CBot::doLook(void)" (?doLook@CBot@@IAEXXZ) bot_globals.obj : error LNK2001: unresolved external symbol "void __cdecl VectorAngles(class Vector const &,class QAngle &)" (?VectorAngles@@YAXABVVector@@AAVQAngle@@@Z) bot_main.obj : error LNK2019: unresolved external symbol "void __cdecl MathLib_Init(float,float,float,int,bool,bool,bool,bool)" (?MathLib_Init@@YAXMMMH_N000@Z) referenced in function "public: virtual bool __thiscall CRCBotPlugin::Load(void * (__cdecl*)(char const *,int *),void * (__cdecl*)(char const *,int *))" (?Load@CRCBotPlugin@@UAE_NP6APAXPBDPAH@Z2@Z) tier1.lib(strtools.obj) : error LNK2019: unresolved external symbol __ftol2_sse referenced in function "char * __cdecl V_pretifymem(float,int,bool)" (?V_pretifymem@@YAPADMH_N@Z) .\Debug/HPB_bot2.dll : fatal error LNK1120: 5 unresolved externals Build log was saved at "file://e:\hl2scr\utils\HPB_Bot2\Debug\BuildLog.htm" HPB_bot2 - 9 error(s), 2 warning(s) ---------------------- Done ---------------------- Rebuild All: 1 succeeded, 1 failed, 0 skipped |
Cheeseh |
![]()
Post
#44
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
Did you do the same things to the project properties under Debug configuration?? i.e. change lib to lib-vc7 in the additional library directories (and the memoverride thing, but I think that would work for both configurations) The project has two configurations Release/Debug, they have seperate configurations so if you changed the things under Release configuration it will not change it under the debug configuration automatically, you will have to do this yourself
That also includes adding "mathlib.lib" to additional dependencies If you want to change the custom build settings, change them in the project properties If you want to remove the "The 'Outputs' property for the custom build step for file '<file>' is not set...", remove that file from the solution and put its name into Additional Dependencies (Linker->Input) |
Salvax |
![]()
Post
#45
|
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 75 Joined: 14-February 07 Member No.: 1,034 ![]() |
ok, i got it! thx Captain, I owe u tooooooooo much !
QUOTE If you want to change the custom build settings, change them in the project properties i don't quite understand it, does it fix the issue ? but how do i do it ? :Can't fine file - C:\Program Files\Valve\Steam\SteamApps\*******\counter-strike source\bin\rcbot.dll |
Cheeseh |
![]()
Post
#46
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
ok, i got it! thx Captain, I owe u tooooooooo much ! i don't quite understand it, does it fix the issue ? but how do i do it ? :Can't fine file - C:\Program Files\Valve\Steam\SteamApps\*******\counter-strike source\bin\rcbot.dll notice the line 'C:\Program Files\Valve\Steam\SteamApps\*******\counter-strike source\bin\rcbot.dll' in project properties->custom build step->general remove it also remove the outputs copy the details from the Debug configuration from the custom build into the Release if you want |
Salvax |
![]()
Post
#47
|
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 75 Joined: 14-February 07 Member No.: 1,034 ![]() |
OK!!! Finally ... thx !!! now i will try my codez now... wait for my good news
![]() |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 22nd August 2025 - 08:15 AM |