Jump to content
TrinityCore

meeek

Plebs
  • Posts

    14
  • Joined

  • Last visited

Posts posted by meeek

  1. >

    CMake Error at dep/boost/CMakeLists.txt:47 (add_library):
    add_library cannot create target "boost" because another target with the
    same name already exists. The existing target is an interface library
    created in source directory "C:/WoDCore/TrinityCore-6.2.4-21355". See
    documentation for policy CMP0002 for more details.

     

    CMake Error at dep/mysql/CMakeLists.txt:12 (message):
    MySQL wasn't found on your system but it's required to build the servers!

     

     

    My only remaining error now... apparently mysql dont exist on my system. Scripts etc are loaded but MySQL can't be found

  2. 4 minutes ago, Rochet2 said:

    Hmm, why did you add that? I don't think I suggested such at least.
    The commit/changes I referenced had no mention of such code.

    I don't get the git-cherrypicking part.

    Where do I enter git-cherrypick and what do I enter per/line to cherrypick?

    > 5734643cecbadfffb7ee1b66c9665d57108923f6#diff-82d123ab4d0745ba8103dc4b10c23d9f

    ^that from the url?

     

     

  3. > 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.

  4. 4 minutes ago, Rochet2 said:

    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)

    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.

  5. 2 minutes ago, Rochet2 said:

    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?

     

     

  6. Just now, Rochet2 said:

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

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

     

    I'll try one more time :P 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

     

  7. Just now, Rochet2 said:

    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

     

    
    	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)
    	

     

    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!

  8. 20 minutes ago, Aokromes said:

    discord private support

    Understandable.

     

    20 minutes ago, Aokromes said:

    you very likely need  to port 

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

    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.

  9. 52 minutes ago, Aokromes said:

    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?

  10. 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

     

×
×
  • Create New...