Forums WoW Modding Discussion Miscellaneous [Archive] Error while compiling trinitycore

[Archive] Error while compiling trinitycore

[Archive] Error while compiling trinitycore

rektbyfaith
Administrator
0
11-04-2025, 05:15 PM
#1
Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

Hello I have been trying to compile the most recent trinitycore using Microsoft visual community 2017 but when I run the build solution order it only gets 18/22 right and I get 4 errors the errors are these:
Quote: Severity Code Description Project File Line Suppression State

Error LNK1112 module machine type 'x64' conflicts with target machine type 'X86' authserver E:\Build\src\server\authserver\libboost_program_options-vc141-mt-1_64.lib(value_semantic.obj) 1

Click to expand...
and
Quote: Severity Code Description Project File Line Suppression State

Error LNK1112 module machine type 'x64' conflicts with target machine type 'X86' worldserver E:\Build\src\server\worldserver\libboost_program_options-vc141-mt-1_64.lib(value_semantic.obj) 1

Click to expand...
and
Quote: Severity Code Description Project File Line Suppression State

Error LNK1104 cannot open file 'libboost_system-vc141-mt-1_64.lib' mmaps_generator E:\Build\src\tools\mmaps_generator\LINK 1

Click to expand...
and
Quote: Severity Code Description Project File Line Suppression State

Error LNK1104 cannot open file 'libboost_system-vc141-mt-1_64.lib' mapextractor E:\Build\src\tools\map_extractor\LINK 1

Click to expand...
I looked around all the web and did not find a solution to my problem so can anyone help me?
rektbyfaith
11-04-2025, 05:15 PM #1

Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

Hello I have been trying to compile the most recent trinitycore using Microsoft visual community 2017 but when I run the build solution order it only gets 18/22 right and I get 4 errors the errors are these:

Quote: Severity Code Description Project File Line Suppression State

Error LNK1112 module machine type 'x64' conflicts with target machine type 'X86' authserver E:\Build\src\server\authserver\libboost_program_options-vc141-mt-1_64.lib(value_semantic.obj) 1

Click to expand...
and
Quote: Severity Code Description Project File Line Suppression State

Error LNK1112 module machine type 'x64' conflicts with target machine type 'X86' worldserver E:\Build\src\server\worldserver\libboost_program_options-vc141-mt-1_64.lib(value_semantic.obj) 1

Click to expand...
and
Quote: Severity Code Description Project File Line Suppression State

Error LNK1104 cannot open file 'libboost_system-vc141-mt-1_64.lib' mmaps_generator E:\Build\src\tools\mmaps_generator\LINK 1

Click to expand...
and
Quote: Severity Code Description Project File Line Suppression State

Error LNK1104 cannot open file 'libboost_system-vc141-mt-1_64.lib' mapextractor E:\Build\src\tools\map_extractor\LINK 1

Click to expand...
I looked around all the web and did not find a solution to my problem so can anyone help me?

rektbyfaith
Administrator
0
11-04-2025, 05:15 PM
#2
Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

Hello a7mad3ayya6,

If you are working with the project from trinitycore.org you may have better luck posting in their projects forum. https://community.trinitycore.org/

With that being said, it looks like you are setup with 64 bit versions of the various required software (Boost, OppenSSL, etc...) but you are compiling for 32 bit.

If this is indeed the case you can either download and install the 32 bit versions (they can be installed along with the 64 bit versions) of the required software or set your compiler (debug and/or release) to 64 bit.

On a side note the trinitycore project gave up on Cata. They still support Wotlk (3.3.5) but the master branch is Legion (7.2.5).

If you want Cata might I suggest giving Emucoach's repack a go. Easy to get up and running one of the most complete Cata repack you can find.

Hope this is helpful and good luck with your compiling.
rektbyfaith
11-04-2025, 05:15 PM #2

Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

Hello a7mad3ayya6,

If you are working with the project from trinitycore.org you may have better luck posting in their projects forum. https://community.trinitycore.org/

With that being said, it looks like you are setup with 64 bit versions of the various required software (Boost, OppenSSL, etc...) but you are compiling for 32 bit.

If this is indeed the case you can either download and install the 32 bit versions (they can be installed along with the 64 bit versions) of the required software or set your compiler (debug and/or release) to 64 bit.

On a side note the trinitycore project gave up on Cata. They still support Wotlk (3.3.5) but the master branch is Legion (7.2.5).

If you want Cata might I suggest giving Emucoach's repack a go. Easy to get up and running one of the most complete Cata repack you can find.

Hope this is helpful and good luck with your compiling.

rektbyfaith
Administrator
0
11-04-2025, 05:15 PM
#3
Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

Quote:mastermind said:

Hello a7mad3ayya6,

If you are working with the project from trinitycore.org you may have better luck posting in their projects forum. https://community.trinitycore.org/

With that being said, it looks like you are setup with 64 bit versions of the various required software (Boost, OppenSSL, etc...) but you are compiling for 32 bit.

If this is indeed the case you can either download and install the 32 bit versions (they can be installed along with the 64 bit versions) of the required software or set your compiler (debug and/or release) to 64 bit.

On a side note the trinitycore project gave up on Cata. They still support Wotlk (3.3.5) but the master branch is Legion (7.2.5).

If you want Cata might I suggest giving Emucoach's repack a go. Easy to get up and running one of the most complete Cata repack you can find.

Hope this is helpful and good luck with your compiling.

Click to expand...
I changed the platform from win32 to x64 now I am getting 1/22 success and 21 errors
rektbyfaith
11-04-2025, 05:15 PM #3

Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

Quote:mastermind said:

Hello a7mad3ayya6,

If you are working with the project from trinitycore.org you may have better luck posting in their projects forum. https://community.trinitycore.org/

With that being said, it looks like you are setup with 64 bit versions of the various required software (Boost, OppenSSL, etc...) but you are compiling for 32 bit.

If this is indeed the case you can either download and install the 32 bit versions (they can be installed along with the 64 bit versions) of the required software or set your compiler (debug and/or release) to 64 bit.

On a side note the trinitycore project gave up on Cata. They still support Wotlk (3.3.5) but the master branch is Legion (7.2.5).

If you want Cata might I suggest giving Emucoach's repack a go. Easy to get up and running one of the most complete Cata repack you can find.

Hope this is helpful and good luck with your compiling.

Click to expand...
I changed the platform from win32 to x64 now I am getting 1/22 success and 21 errors

rektbyfaith
Administrator
0
11-04-2025, 05:15 PM
#4
Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

I have compiled that same projects dozens of times both 32 and 64 bit and the only time I ever ran into those type of errors is when I did not have the proper platform of the required software installed. ie. build set for 64 bit with only 32 bit third party apps installed or vice versa.

That a look here: https://trinitycore.atlassian.net/wiki/d...quirements

At the top of the page:

Processor with SSE2 support

Boost 1.59 (1.63 recommended if visual studio 2015) 1.63 (if visual studio 2017, if you have problems with 1.64 downgrade to 1.63)

MySQL ≥ 5.1.0

OpenSSL = 1.0.x

CMake ≥ 3.3.2 (≥ 3.8.2 to recognize VS2017)

MS Visual Studio (Community) ≥ 14 (2015 update 3) (Desktop)

Verify the version of Boost and CMake you have installed.

Good luck
rektbyfaith
11-04-2025, 05:15 PM #4

Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

I have compiled that same projects dozens of times both 32 and 64 bit and the only time I ever ran into those type of errors is when I did not have the proper platform of the required software installed. ie. build set for 64 bit with only 32 bit third party apps installed or vice versa.

That a look here: https://trinitycore.atlassian.net/wiki/d...quirements

At the top of the page:

Processor with SSE2 support

Boost 1.59 (1.63 recommended if visual studio 2015) 1.63 (if visual studio 2017, if you have problems with 1.64 downgrade to 1.63)

MySQL ≥ 5.1.0

OpenSSL = 1.0.x

CMake ≥ 3.3.2 (≥ 3.8.2 to recognize VS2017)

MS Visual Studio (Community) ≥ 14 (2015 update 3) (Desktop)

Verify the version of Boost and CMake you have installed.

Good luck

rektbyfaith
Administrator
0
11-04-2025, 05:15 PM
#5
Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

This thread can be closed as my problem has been solved I solved it by downloading the c++ 64 bit visual 15 2017 tools and using cmake to configure the core with the 64 bit tools and all my problems disappeared Thanks mastermind your answer gave me a hint
rektbyfaith
11-04-2025, 05:15 PM #5

Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

This thread can be closed as my problem has been solved I solved it by downloading the c++ 64 bit visual 15 2017 tools and using cmake to configure the core with the 64 bit tools and all my problems disappeared Thanks mastermind your answer gave me a hint

rektbyfaith
Administrator
0
11-04-2025, 05:15 PM
#6
Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

Glad to hear you got it figured out.
rektbyfaith
11-04-2025, 05:15 PM #6

Archived author: a7mad3ayya6 • Posted: 2025-11-04T18:15:14.500423
Original source

Glad to hear you got it figured out.

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