![]() |
|
N00b setup help - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Programmers Gateway (https://lckb.dev/forum/forumdisplay.php?fid=196) +---- Forum: Coders Talk (https://lckb.dev/forum/forumdisplay.php?fid=192) +---- Thread: N00b setup help (/showthread.php?tid=3088) |
- Sutz - 02-11-2015 Hello all, So I decided to take the jump an start to learn a bit of programming an using the server source codes I have to mess about with. I have install VB C++ 6.0 an can open the projects have fixed some of the comiple errors by myself (but could have made things worse haha) but I have failed xD and google cant save me so im here making a n00b post lol. Can someone give me a list of things needed to compile the source.. Do I need mysql installed on the pc compiling? Do I need any other stuff other than C++ 6.0 I have been testing with AnalyzeTool project Atm I fixed some missing file erros on compile by setting missing DIR in options of C++ but now I just get this error: --------------------Configuration: AnalyzeTool - Win32 Debug-------------------- Linking... mysqlclient.lib(mf_loadpath.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(trees.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(inftrees.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(ctype-ucs2.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(ctype-tis620.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(xml.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(ctype-mb.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(ctype.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(ctype-uca.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(ctype-simple.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(mf_pack.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(my_error.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(mf_fn_ext.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(my_fopen.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(my_lib.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(my_init.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(my_thr_init.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(mf_format.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(longlong2str.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(charset.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(password.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(int2str.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(net_serv.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(safemalloc.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(default.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(libmysql.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(my_vsnprintf.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(dbug.obj) : error LNK2001: unresolved external symbol ___security_cookie mysqlclient.lib(mf_loadpath.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(trees.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(inftrees.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(ctype-ucs2.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(ctype-tis620.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(xml.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(ctype-mb.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(ctype.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(ctype-uca.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(ctype-simple.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(mf_pack.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(my_error.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(mf_fn_ext.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(my_fopen.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(my_lib.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(my_init.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(my_thr_init.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(mf_format.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(longlong2str.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(charset.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(password.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(int2str.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(net_serv.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(safemalloc.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(default.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(libmysql.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(my_vsnprintf.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(dbug.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 mysqlclient.lib(libmysql.obj) : error LNK2001: unresolved external symbol __ftol2 mysqlclient.lib(password.obj) : error LNK2001: unresolved external symbol __ftol2 mysqlclient.lib(timer.obj) : error LNK2001: unresolved external symbol __ftol2 mysqlclient.lib(algebra.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(md2.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(file.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(dh.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(des.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(aes.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(coding.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(hash.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(random.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(dsa.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(rsa.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(md5.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(sha.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(ripemd.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(arc4.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(timer.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(integer.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(asn.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(misc.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(handshake.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(cert_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(crypto_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(buffer.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(ssl.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(yassl_int.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(yassl_imp.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(socket_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp mysqlclient.lib(coding.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(algebra.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(md2.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(file.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(rsa.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(dh.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(des.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(aes.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(arc4.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(hash.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(random.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(dsa.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(misc.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(md5.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(sha.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(ripemd.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(buffer.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(timer.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(integer.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(asn.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(log.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(handshake.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(cert_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(crypto_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(ssl.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(yassl_int.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(yassl_imp.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(socket_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown mysqlclient.lib(coding.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(algebra.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(md2.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(file.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(rsa.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(dh.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(des.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(aes.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(arc4.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(hash.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(random.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(dsa.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(misc.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(md5.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(sha.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(ripemd.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(buffer.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(timer.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(integer.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(asn.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(log.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(handshake.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(cert_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(crypto_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(ssl.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(yassl_int.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(yassl_imp.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(socket_wrapper.obj) : error LNK2001: unresolved external symbol __RTC_InitBase mysqlclient.lib(file.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(aes.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(coding.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(algebra.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(md2.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(dsa.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(rsa.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(dh.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(des.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(ripemd.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(arc4.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(hash.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(random.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(integer.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(asn.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(md5.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(sha.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(handshake.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(cert_wrapper.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(crypto_wrapper.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(timer.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(ssl.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(yassl_int.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(yassl_imp.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(socket_wrapper.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 mysqlclient.lib(integer.obj) : error LNK2001: unresolved external symbol __aligned_malloc mysqlclient.lib(integer.obj) : error LNK2001: unresolved external symbol __aligned_free AnalyzeTool.exe : fatal error LNK1120: 9 unresolved externals Error executing link.exe. AnalyzeTool.exe - 176 error(s), 0 warning(s) - Sutz - 02-11-2015 Would be very helpful if someone could post a whats needed to be installed guide or something just to get me going.. From their I'd like to just try an learn some basic stuff :-) - Nikolee - 02-11-2015 Link libmyql.lib instead of mysqlclient.lib Edit: If you dont Linked mysqlclient.lib then i would suggest to try it first Settings->Linker->Input. (and dont forget to set the Path.) - pwesty - 02-11-2015 Here are the header files and the mysql lib needed for the tools.. hope it helps you 2 - Sutz - 02-11-2015 I managed to get the tool built yay.. ty Nikola Thankyou pwesty for your upload I will use these to be sure ![]() - Sutz - 02-11-2015 Ok, alittle info please i'm still very new to all this.. Whenever I build a exe then try to run it the exe file errors with missing DLL Connector missing DLL error: 2 Connector with DLL's in the same DIR as connector: 2 I guess I forgot something as like I got the connector built an it gives missing dll error but all ep1 servers I run don't do this error.. Same with any tools I try to build?? I can put the DLL with the exe an it runs but I know this isn't right. - Nikolee - 02-11-2015 Its because u Linked the libmysql.lib, which expects the libmysql.dll. u can try to Link mysqlclient.lib, so far as i know the mysqlclient.lib dosent require the .dll. Edit: Also i asw you are using the zlib.dll, this is also wrong. - Sutz - 02-11-2015 Edit: Also i asw you are using the zlib.dll, this is also wrong. Great job that fixed it!! Do I remove zlib.lib it was calling for it :? xD then when I built it the connector errors with missing DLL zlib I have zlib.lib in my "LINK" - Nikolee - 02-11-2015 1 - I assume you are using VS2013 - so open the GameServer.dsp and let it convert. 2 - Then Open your Settings and go to C++->General and choose the Includes, it should look like this:2 (it might cant find zlib.h if its the case then just look at the path, it could be that the folder name is wrong. 3 - Then do the same in Linker and look for "Additional librarys path" (dont know how its called on english) it should look like this: 2 4 - now you go to Properties > Linker > Advanced and scroll down there is something with safesh, set this to NO. 5 - Go to the GameServer foldre and delete GameServer.pdb 6 - after that u should start compilng the GS and there appear like 4 errors thats because its old crap code. -- Battle_Procdead_npc.cpp at Line 455 replace it with this: time_t lastCubePoint; -- Battle_Procdead_pc.cpp at Line 812 also replace it with this: time_t lastCubePoint; -- Battle_Procdead_pc.cpp at Line 846 also replace it with this: time_t lastCubePoint; - now in doFuncAdmin.cpp at line 1023 replace it with this: time_t mytime = static_cast<time_t>(gserver.m_extremeCube.m_nextGuildCubeTime); ti = localtime((const time_t*)mytime); : NOTE THIS IS NOT SAFE CODE! For me it worked, i did all these steps and compiled it now.. - Sickness - 02-11-2015 You won't be compiling the server on vb 6. You compile under linux. |