Warlords of Draenor Core

Hey, I’ve been trying to compile from github the core from 6.2.3/6.2.4, I’m well aware its stopped developing. I cannot get it to configure properly in CMake, nor can I obviously build it.

I’d be willing to pay for help and get this working and running. I want to develop my own server on my freetime as a learning project and for entertainment. I can’t find any core for WoD, sadly… Very hard, would appreciate any quick help

pastebin your compilation log.

I’m using;

https://github.com/TrinityCore/TrinityCore/tree/6.2.4/21355

Generating through CMake gives me this ;

https://pastebin.com/jtNPMQRK

Error with OpenSSL not being found, etc. If I fix openssl;

this shows:

https://pastebin.com/jNEaV67F

I can’t get Boost to work properly for some reason. If I change something in the CMakeLists to route to boost folder, it fixes the boost version being outdated but still wont work.

Then it tells me it cant find x amount of Boost libraries.

https://pastebin.com/LdCP7rZa

I’m pretty stuck, you have discord or anything by any chance?

discord private support only helps one person, you very likely need to port

boost detect fixes from https://github.com/TrinityCore/TrinityCore/commits/master/cmake

Understandable.

Like which ones? https://github.com/TrinityCore/TrinityCore/commit/cabb352c337ef50e90f174e2dcc42eb3bdaede2d#diff-272ceadb8458515b2ae4b5630a6029cc ?

How do I implement this one into the notepad though? I tried adding it at the bottom with no success.

EDIT: I tried adding them but my notepad looks different, the ones he say i should remove (the line is not the same).

urgh.

Man, I’ve tried sooo many things and nothing works.

IS there ANYONE who can help me fix this, please? As stated, I’d be down to pay.

Usually, if you have boost root set up properly, it can still fail if you are using the boost source instead of precompiled binaries or binaries compiled by yourself.

For example, I have everything set up correctly, however when I hide lib64-msvc-14.0 and lib64-msvc-14.1 from my boost installation folder, Cmake will complain with

[CODE]
CMake Error at cmake/macros/FindBoost.cmake:1231 (message):
Unable to find the requested Boost libraries.

Boost version: 1.64.0

Boost include path: C:/local/boost_1_64_0

Could not find the following static Boost libraries:

boost_system
boost_filesystem
boost_thread
boost_program_options
boost_iostreams
boost_regex

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost. If you still have problems search on forum for TCE00020.
Call Stack (most recent call first):
dep/boost/CMakeLists.txt:44 (find_package)
[/CODE]

Hey mate. Do you have discord or anything I could add you on and try help me solve this?

I'd gladly pay if it works for your time!

Hey there’ I’m having a similar problem when I configure with Cmake it says that no boost libraries were found although I have set the BOOST_ROOT and BOOST_LIBRARYDIR in my system properties.
https://pastebin.com/n0AYfx54

Do you have the lib folder(s) with msvc in the name in the boost installation folder?

I have 1, yes. lib64-msvc-14.1 and, libs.

I’ll try one more time :stuck_out_tongue: You have discord or I can link you my stream and you can walk through me from there? I’d be down to paypal for help

Which compiler did you choose in cmake?

https://i.imgur.com/eku8DB8.png

Did you choose Win64? or the one without it?

I’ve tried both mate. 2017 win64, and the normal one.

With the boost you have you should be using win64.
There was some problems with the new boost versions and the cmake script a while back. Maybe the 6.x core you have has the old cmake script that cannot handle the .1 in the folder name. For this reason I think I temporarily copied my lib64-msvc-14.1 folder and named it lib64-msvc-14.0. But instead of that maybe its better to check if your core has the needed boost cmake changes: https://github.com/TrinityCore/TrinityCore/commit/5734643cecbadfffb7ee1b66c9665d57108923f6#diff-82d123ab4d0745ba8103dc4b10c23d9f

… and now right after writing that I just went there and checked and it doesnt, so maybe cherry pick that commit or something.

So I’m supposed to use Boost 1.51?

find_package(Boost 1.51 REQUIRED system filesystem thread program_options iostreams regex)

			set(BOOST_DEBUG ON)
		
	
			if(DEFINED ENV{BOOST_ROOT})
		
	
			set(BOOST_ROOT $ENV{BOOST_ROOT})
		
	
			if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.0)
		
	
			set(BOOST_LIBRARYDIR ${BOOST_ROOT}/lib${PLATFORM}-msvc-12.0)
		
	
			else()
		
	
			set(BOOST_LIBRARYDIR ${BOOST_ROOT}/lib${PLATFORM}-msvc-14.0)
		
	endif()

and CMake less than 19?

No. You should cherry-pick the commit I referenced. It should fix your problem with boost (clear cmake cache and retry configure after you cherry picked).

Though I guess also using older versions would get rid of the error since it is caused by newer versions, but .. is  using old stuff really the solution?

I added this:

if (boost_filesystem_copy_links_without_NO_SCOPED_ENUM)
target_compile_definitions(boost
INTERFACE
-DBOOST_DATE_TIME_NO_LIB
-DBOOST_REGEX_NO_LIB
-DBOOST_CHRONO_NO_LIB)
else()
target_compile_definitions(boost
INTERFACE
-DBOOST_DATE_TIME_NO_LIB
-DBOOST_REGEX_NO_LIB
-DBOOST_CHRONO_NO_LIB
-DBOOST_NO_CXX11_SCOPED_ENUMS)

And the only problem I get is with the first line and if, cause its not closed.

EDIT:

CMake Error in CMakeLists.txt:
A logical block opening on the line

C:/WoDCore/TrinityCore-6.2.4-21355/CMakeLists.txt:80 (if)

is not closed.

Sorry for being a big big noob but I have no idea what you mean by cherrypick, Should I just download a less recent boost version too?

I have absolutely 0 coding experience and I’m doing this just to experience and learn with my friends while having fun IG

if (boost_filesystem_copy_links_without_NO_SCOPED_ENUM)
target_compile_definitions(boost
INTERFACE
-DBOOST_DATE_TIME_NO_LIB
-DBOOST_REGEX_NO_LIB
-DBOOST_CHRONO_NO_LIB)
else()
target_compile_definitions(boost
INTERFACE
-DBOOST_DATE_TIME_NO_LIB
-DBOOST_REGEX_NO_LIB
-DBOOST_CHRONO_NO_LIB
-DBOOST_NO_CXX11_SCOPED_ENUMS)

endif()

did this, deleted cache, removed build folder (the content) re-configured and : https://pastebin.com/ZNTPaKiT

is the result.