Forums WoW Modding Discussion Miscellaneous [Archive] Trinity 3.3.5a Compiling Error.

[Archive] Trinity 3.3.5a Compiling Error.

[Archive] Trinity 3.3.5a Compiling Error.

rektbyfaith
Administrator
0
11-04-2025, 05:16 PM
#1
Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

Hi there, so when I go to build the server in VS2012, at the end of the build I get 100errors, I was wondering if anyone could help workout what the issue is, thanks.

(Error list) - http://i.imgur.com/jK8rZpU.png (1), http://i.imgur.com/nfFzjC8.png (2), http://i.imgur.com/5he0CP0.png (3), http://i.imgur.com/cRpL9Q9.png (4)

If anyone has any idea how I can fix these errors it would be greatly appreciated, thanks.

(If there's any other information I need to post, just request)
rektbyfaith
11-04-2025, 05:16 PM #1

Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

Hi there, so when I go to build the server in VS2012, at the end of the build I get 100errors, I was wondering if anyone could help workout what the issue is, thanks.

(Error list) - http://i.imgur.com/jK8rZpU.png (1), http://i.imgur.com/nfFzjC8.png (2), http://i.imgur.com/5he0CP0.png (3), http://i.imgur.com/cRpL9Q9.png (4)

If anyone has any idea how I can fix these errors it would be greatly appreciated, thanks.

(If there's any other information I need to post, just request)

rektbyfaith
Administrator
0
11-04-2025, 05:16 PM
#2
Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

You're experiencing linker errors which is basically your compiler being unable to find required functions or libraries (while the compiling process itself may have been fine). First I would try to "Clean Solution" and then "Build Solution" after having restarted Visual Studio, and if that doesn't work I'd be checking if I miss dependencies provided by, in your case, Trinity, in order to compile (to me it looks like MySQL is not found by CMake, or missing lib dll in your system32).

It could be that you are running a x86 version of MySQL while trying to compile in x64 mode, or the other way around.
rektbyfaith
11-04-2025, 05:16 PM #2

Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

You're experiencing linker errors which is basically your compiler being unable to find required functions or libraries (while the compiling process itself may have been fine). First I would try to "Clean Solution" and then "Build Solution" after having restarted Visual Studio, and if that doesn't work I'd be checking if I miss dependencies provided by, in your case, Trinity, in order to compile (to me it looks like MySQL is not found by CMake, or missing lib dll in your system32).

It could be that you are running a x86 version of MySQL while trying to compile in x64 mode, or the other way around.

rektbyfaith
Administrator
0
11-04-2025, 05:16 PM
#3
Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

Thank you Tchniq, I'll let you know if I fix the issue thanks for the quick response [Image: 1f642.png] - When I clean solution it looks fine http://i.imgur.com/KAXXNxE.png
rektbyfaith
11-04-2025, 05:16 PM #3

Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

Thank you Tchniq, I'll let you know if I fix the issue thanks for the quick response [Image: 1f642.png] - When I clean solution it looks fine http://i.imgur.com/KAXXNxE.png

rektbyfaith
Administrator
0
11-04-2025, 05:16 PM
#4
Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

Quote:Nickyzxo36 said:

Thank you Tchniq, I'll let you know if I fix the issue thanks for the quick response [Image: 1f642.png] - When I clean solution it looks fine http://i.imgur.com/KAXXNxE.png

Click to expand...
After you have cleaned your solution you will still have to build it however, so it may not be fine still. What the cleaning process does in short is that it will remove the build files from the previous build which [potentially] can be in the way of compiling properly if there's been some sort of update (and it's good practice to always clean your solution before building again).

My guess is that this is not the problem, and you should check what mysql you're running (32 or 64 bit) and compile accordingly (32 bit mysql: Release Win32/x86, 64 bit mysql: Release x64).

edit; check the cmake output too for errors (I am not so familiar with Trinity, didn't compile it myself for ages and I rarely use Cmake)

edit2; make sure you fulfill the Windows requirements (not sure if VS2012 is viable) as seen here https://trinitycore.atlassian.net/wiki/d...quirements
rektbyfaith
11-04-2025, 05:16 PM #4

Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

Quote:Nickyzxo36 said:

Thank you Tchniq, I'll let you know if I fix the issue thanks for the quick response [Image: 1f642.png] - When I clean solution it looks fine http://i.imgur.com/KAXXNxE.png

Click to expand...
After you have cleaned your solution you will still have to build it however, so it may not be fine still. What the cleaning process does in short is that it will remove the build files from the previous build which [potentially] can be in the way of compiling properly if there's been some sort of update (and it's good practice to always clean your solution before building again).

My guess is that this is not the problem, and you should check what mysql you're running (32 or 64 bit) and compile accordingly (32 bit mysql: Release Win32/x86, 64 bit mysql: Release x64).

edit; check the cmake output too for errors (I am not so familiar with Trinity, didn't compile it myself for ages and I rarely use Cmake)

edit2; make sure you fulfill the Windows requirements (not sure if VS2012 is viable) as seen here https://trinitycore.atlassian.net/wiki/d...quirements

rektbyfaith
Administrator
0
11-04-2025, 05:16 PM
#5
Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

------- Solved. -------
rektbyfaith
11-04-2025, 05:16 PM #5

Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

------- Solved. -------

rektbyfaith
Administrator
0
11-04-2025, 05:16 PM
#6
Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

Quote:Nickyzxo36 said:

------- Solved. -------

Click to expand...
I'm glad to know your problem has been solved!

If no further help is needed, then I'll be closing this thread. If you need this thread reopened, feel free to PM me.

// Closed.
rektbyfaith
11-04-2025, 05:16 PM #6

Archived author: Nickyzxo36 • Posted: 2025-11-04T18:16:08.922358
Original source

Quote:Nickyzxo36 said:

------- Solved. -------

Click to expand...
I'm glad to know your problem has been solved!

If no further help is needed, then I'll be closing this thread. If you need this thread reopened, feel free to PM me.

// Closed.

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