[DiscordArchive] Does the build error identify which file and which line is the cause?
[DiscordArchive] Does the build error identify which file and which line is the cause?
Archived author: metallinos • Posted: 2025-02-13T12:06:40+00:00
Original source
Does the build error identify which file and which line is the cause?
Archived author: Kosie [UK] • Posted: 2025-02-13T12:17:08.400000+00:00
Original source
think this is the whole section (apologies, not great with code)
Archived author: Kosie [UK] • Posted: 2025-02-13T12:17:09.954000+00:00
Original source
azerothcorepb/src/server/database/Database/MySQLConnection.cpp:132:9: fatal error: use of undeclared identifier 'mysql_ssl_mode'; did you mean 'mysql_ssl_set'?
132 | mysql_ssl_mode opt_use_ssl = SSL_MODE_DISABLED;
| ^~~~~~~~~~~~~~
| mysql_ssl_set
/usr/include/mariadb/mysql.h:539:14: note: 'mysql_ssl_set' declared here
539 | int STDCALL mysql_ssl_set(MYSQL *mysql, const char *key,
| ^
1 error generated.
make[2]: *** [src/server/database/CMakeFiles/database.dir/build.make:189: src/server/database/CMakeFiles/database.dir/Database/MySQLConnection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 13%] Linking CXX executable vmap4_extractor
[ 13%] Built target vmap4_extractor
make[1]: *** [CMakeFiles/Makefile2:1052: src/server/database/CMakeFiles/database.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Archived author: Honey • Posted: 2025-02-13T12:24:46.919000+00:00
Original source
It appears you're using mariadb. It's not supported. Use MySQL instead.
![[Image: image.png?ex=690beae5&is=690a9965&hm=7a8...ae95f092d&]](https://cdn.discordapp.com/attachments/1255602330431127753/1339573075544506378/image.png?ex=690beae5&is=690a9965&hm=7a8407ab889770fe44266b3b197310dfa064d73fe6f131ab4c979bfae95f092d&)
Archived author: Coffee • Posted: 2025-02-13T12:25:09.315000+00:00
Original source
![[Image: image.png?ex=690beae5&is=690a9965&hm=7a8...ae95f092d&]](https://cdn.discordapp.com/attachments/1255602330431127753/1339573075544506378/image.png?ex=690beae5&is=690a9965&hm=7a8407ab889770fe44266b3b197310dfa064d73fe6f131ab4c979bfae95f092d&)