-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building Error while src/bnetd/CMakeFiles/bnetd.dir/sql_mysql.cpp.o #472
Comments
编辑sql_mysql.cpp.o文件, 将my_bool my_true = xxx 中的 my_bool 改为 bool |
Excuse me, could you please rewrite your comment in English, I didn't understand very well after the Google translation)😃 |
open and edit the sql_mysql.cpp.o file ,change my_bool(line 175 and 193) to bool, as mentioned in the error(I don't know if I'm expressing what I mean clearly. if you solve the problem, please tell me. i'm trying to install PVPGN too, and the ./bnetd can run at my severce, but I can't see my buddy in the lobby. i don't know where is wrong) |
I successfully built file. Thank you!) |
can you give me your contact info like twitter in my homepage(@qianmo366573994)? i still can't connect this sever to re2 because of my poverty of knowledge about the net. thank you. |
@gugo2808 Switch to the |
Hello, this is my telegram channel, if you want you |
Thank you. Thank you! |
Hello everyone. it is the second day, that i'm trying to install PVPGN pro.
I have an Ubuntu 20.04.1
every time when i try to build the server i get this error
[ 72%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/sql_mysql.cpp.o /root/pvpgn-server/src/bnetd/sql_mysql.cpp: In function ‘int pvpgn::bnetd::sql_mysql_init(const char*, const char*, const char*, const char*, const char*, const char*)’: /root/pvpgn-server/src/bnetd/sql_mysql.cpp:175:4: error: ‘my_bool’ was not declared in this scope; did you mean ‘bool’? 175 | my_bool my_true = true; | ^~~~~~~ | bool /root/pvpgn-server/src/bnetd/sql_mysql.cpp:176:51: error: ‘my_true’ was not declared in this scope 176 | if (mysql_options(mysql, MYSQL_OPT_RECONNECT, &my_true)){ | ^~~~~~~ make[2]: *** [src/bnetd/CMakeFiles/bnetd.dir/build.make:752: src/bnetd/CMakeFiles/bnetd.dir/sql_mysql.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:955: src/bnetd/CMakeFiles/bnetd.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
What am i doing wrong? How can i solve it? thank you!
The text was updated successfully, but these errors were encountered: