Forums WoW Modding Support Archives Azerothcore Discord Archives [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?

[DiscordArchive] Does the build error identify which file and which line is the cause?

rektbyfaith
Administrator
0
02-13-2025, 12:06 PM
#1
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?
rektbyfaith
02-13-2025, 12:06 PM #1

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?

rektbyfaith
Administrator
0
02-13-2025, 12:17 PM
#2
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)
rektbyfaith
02-13-2025, 12:17 PM #2

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)

rektbyfaith
Administrator
0
02-13-2025, 12:17 PM
#3
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
rektbyfaith
02-13-2025, 12:17 PM #3

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

rektbyfaith
Administrator
0
02-13-2025, 12:24 PM
#4
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.
rektbyfaith
02-13-2025, 12:24 PM #4

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.

rektbyfaith
Administrator
0
02-13-2025, 12:25 PM
#5
Archived author: Coffee • Posted: 2025-02-13T12:25:09.315000+00:00
Original source


[Image: image.png?ex=690beae5&is=690a9965&hm=7a8...ae95f092d&]
rektbyfaith
02-13-2025, 12:25 PM #5

Archived author: Coffee • Posted: 2025-02-13T12:25:09.315000+00:00
Original source


[Image: image.png?ex=690beae5&is=690a9965&hm=7a8...ae95f092d&]

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)