@stahta01 really sorry but I'm not advanced like you expect
, and for me is not so easy to find directions. I did not want to upset you.
@sodev Thank you for the point, didnt know how CB works with gcc in windows.
I build the project succesfully,
g++.exe -Llib -Latlmfc\lib -L -L..\zlib\lib -L..\mysql\lib\opt -LC:\5entbot\mysql\lib\opt -LC:\5entbot\mysql\lib\opt -LC:\5entbot\bncsutil\vc8_build -LC:\5entbot\bncsutil\src\bncsutil -LC:\5entbot -o update_dota_elo.exe .objs\ghost\config.o .objs\update_dota_elo\elo.o .objs\update_dota_elo\update_dota_elo.o -lboost_system -lmysql -mwindows
Output file is update_dota_elo.exe with size 2.91 MB
Process terminated with status 0 (0 minute(s), 6 second(s))
0 error(s), 0 warning(s) (0 minute(s), 6 second(s))
but when i test it, the mysql code is not integrated in the build.
This is why I asked for the Makefile, because I saw this command inside of the Makefile
LFLAGS = -lmysqlclient -lboost_system
If I add to compiler "-lmysqlclient" i get this error:
g++.exe -Llib -Latlmfc\lib -L -L..\zlib\lib -L..\mysql\lib\opt -LC:\5entbot\mysql\lib\opt -LC:\5entbot\mysql\lib\opt -LC:\5entbot\bncsutil\vc8_build -LC:\5entbot\bncsutil\src\bncsutil -LC:\5entbot -o update_dota_elo.exe .objs\ghost\config.o .objs\update_dota_elo\elo.o .objs\update_dota_elo\update_dota_elo.o -lboost_system -lmysqlclient -lmysql -mwindows
c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmysqlclient
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 6 second(s))
2 error(s), 0 warning(s) (0 minute(s), 6 second(s))
If the MSys2 is the key to made it I must read more,mby i need this version
http://www.msys2.org/