LCKB
Error Compiling - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+----- Thread: Error Compiling (/showthread.php?tid=1146)

Pages: 1 2 3 4


- BayBay - 04-09-2021


now im getting this error

 

1>------ Build started: Project: GameServer, Configuration: Debug Win32 ------

1>Build started 4/9/2021 1:29:12 AM.

1>InitializeBuildStatus:

1>  Touching "Debug\GameServer.unsuccessfulbuild".

1>ClCompile:

1>  All outputs are up-to-date.

1>json_vc71_libmtd.lib(json_value.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification

1>LINK : fatal error LNK1104: cannot open file 'libboost_chrono-vc100-mt-sgd-x32-1_70.lib'

1>

1>Build FAILED.

1>

1>Time Elapsed 00:00:04.53

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 




- Scura - 04-09-2021


You have an error in to the LINK ... did you set-up all files? Seems you are trying to compile only one, but remember: some solution take the necessary dependencies by inheritance... also I see there is a problem with the library chrono (which should be placed in the boost libs ...) 




- BayBay - 04-09-2021



11 hours ago, Scura said:




You have an error in to the LINK ... did you set-up all files? Seems you are trying to compile only one, but remember: some solution take the necessary dependencies by inheritance... also I see there is a problem with the library chrono (which should be placed in the boost libs ...) 




yeah i dont know what to do now, first it was asking for chrono 1_59 now its asking for 1_70. Should i update boost and use the latest one 1.7.5 or so?




- Scura - 04-09-2021



50 minutes ago, BayBay said:




yeah i dont know what to do now, first it was asking for chrono 1_59 now its asking for 1_70. Should i update boost and use the latest one 1.7.5 or so?




i've used boost 1.59 so ... dunno ... i suggest you to use the reza release here in to the forum. There is also a guide along with the files 




- BayBay - 04-09-2021



1 hour ago, Scura said:




i've used boost 1.59 so ... dunno ... i suggest you to use the reza release here in to the forum. There is also a guide along with the files 




Ok so i manage to compile GameServer.exe file but when i try to run it it opens and says loading setting file then it closes. maybe cuze i dont have server database yet?




- Scura - 04-10-2021



21 hours ago, BayBay said:




Ok so i manage to compile GameServer.exe file but when i try to run it it opens and says loading setting file then it closes. maybe cuze i dont have server database yet?




yea for sure... you can even check in the gs log files ! 




- Reza - 04-10-2021


if ur refferring to june release here its simple download put it all C:\lastchaos and extract the etc folder and build its that simple its a joke how i started this with no knowledge of c++ but i could learn [CeNsOrEd] cause im not a idiot.

 




- BayBay - 04-11-2021



4 hours ago, Reza said:




if ur refferring to june release here its simple download put it all C:\lastchaos and extract the etc folder and build its that simple its a joke how i started this with no knowledge of c++ but i could learn [CeNsOrEd] cause im not a idiot.



 




yeah i know your not an idiot Reza, i will sure to put everything in that directory. After i manage to compile everything if i open gameserver without having navicat install or DB executed should GameServer.exe keep open?




- BayBay - 04-11-2021


Apparently GameServer.exe is now working just need to set up DBs in navicat

i get this in GameServer logs:

2021-04-09 15:38:38,374 INFO  [ PrintExcuteInfo.cpp :    94] - MYSQL CLIENT VERSION : 5.1.72

2021-04-09 15:38:38,377 ERROR [     Server.cpp :  1079] - Can't connect char DB : ip[127.0.0.1] id[LCUSER] pw[CWvpG9LwwKPsnEX] dbname[ep4_db] error[Client does not support authentication protocol requested by server; consider upgrading MySQL client]

2021-04-09 15:38:38,378 INFO  [    GameServer.cpp :    76] - Cannot Connect DB!!

 




- rondo157 - 04-11-2021



1 minute ago, BayBay said:




Apparently GameServer.exe is now working just need to set up DBs in navicat



i get this in GameServer logs:



2021-04-09 15:38:38,374 INFO  [ PrintExcuteInfo.cpp :    94] - MYSQL CLIENT VERSION : 5.1.72

2021-04-09 15:38:38,377 ERROR [     Server.cpp :  1079] - Can't connect char DB : ip[127.0.0.1] id[LCUSER] pw[CWvpG9LwwKPsnEX] dbname[ep4_db] error[Client does not support authentication protocol requested by server; consider upgrading MySQL client]

2021-04-09 15:38:38,378 INFO  [    GameServer.cpp :    76] - Cannot Connect DB!!

 




Update mysql to 5.7