Cmake issues, could anyone assist. menu

User Tag List

Results 1 to 3 of 3
  1. #1
    bblewittAG's Avatar Member
    Reputation
    3
    Join Date
    Mar 2017
    Posts
    18
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cmake issues, could anyone assist.

    I finally got cmake to work properly where it shows tools for building a core but when I configure it it comes up with this.

    Cmake issues, could anyone assist.-capture10-gif

    Also the text at the bottom is:

    The C compiler identification is MSVC 19.10.25019.0
    The CXX compiler identification is MSVC 19.10.25019.0
    Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe
    Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- works
    Detecting C compiler ABI info
    Detecting C compiler ABI info - done
    Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe
    Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- works
    Detecting CXX compiler ABI info
    Detecting CXX compiler ABI info - done
    Detecting CXX compile features
    Detecting CXX compile features - done
    Detected 64-bit platform
    MSVC: 64-bit platform, enforced -D_WIN64 parameter
    MSVC: Enabled increased number of sections in object files
    MSVC: Overloaded standard names
    MSVC: Disabled NON-SECURE warnings
    MSVC: Disabled POSIX warnings
    MSVC: Disabled generic compiletime warnings
    Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.7/lib/libmysql.lib
    Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.7/include
    Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.7/bin/mysql.exe
    Found git binary : C:/Program Files (x86)/Git/cmd/git.exe

    * TrinityCore revision : 5cb1555de6db+ 2017-04-06 20:38:27 -0300 (3.3.5 branch)

    * Install core to : C:/Program Files/TrinityCore

    * Build world/auth : Yes (default)
    * Build with scripts : Yes (static)
    * Build map/vmap tools : Yes
    * Build core w/PCH : Yes (default)
    * Build scripts w/PCH : Yes (default)
    * Show compile-warnings : No (default)
    * Use coreside debug : No (default)
    * Show source tree : Yes (hierarchical)
    * Use GIT revision hash : Yes (default)

    Looking for pthread.h
    Looking for pthread.h - not found
    Found Threads: TRUE
    CMake Error at dep/boost/CMakeLists.txt:21 (message):
    No BOOST_ROOT environment variable could be found! Please make sure it is
    set and the points to your Boost installation.


    Configuring incomplete, errors occurred!
    See also "F:/Games/WoW/Build/CMakeFiles/CMakeOutput.log".
    See also "F:/Games/WoW/Build/CMakeFiles/CMakeError.log".

    Cmake issues, could anyone assist.
  2. #2
    brotalnia's Avatar Elite User
    Reputation
    498
    Join Date
    Apr 2009
    Posts
    473
    Thanks G/R
    26/301
    Trade Feedback
    0 (0%)
    Mentioned
    14 Post(s)
    Tagged
    2 Thread(s)
    It tells you what is wrong. Boost was not found.

  3. #3
    killingfool's Avatar Member
    Reputation
    7
    Join Date
    Apr 2017
    Posts
    1
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Been looking for a fix founds 2 that worked right aways

    1. You need to set it up in your users/system variable to do so
    - right click on computer
    - select properties
    - advanced system properties
    - enviro variables

    Click on *new* and add to users and system

    Important again need a slash like this -> / not \ or yup errors

    Variable = BOOST_ROOT ; VALUE = Path to your boost folder example C:/boost
    Variable = Boost_DIR ; VALUE = Path to your boost folder example C:/boost
    2.
    INSIDE TRINITY/SOURCES/CMAKELISTS.TXT
    Important use / not \ or else you will get errors
    Under

    # add this options before PROJECT keyword
    set(CMAKE_DISABLE_SOURCE_CHANGES ON)
    set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)

    Add

    # path option for libs and boost
    set(BOOST_ROOT "Path to your boost root folder exmp C:/boost")
    set(BOOST_LIBRARYDIR "Path to your boost lib folder exmp C:/boost/libs")
    3. You need boost i recommand 1.60.0 you can get it here IMPORTANT if you compile with MSVC 64 Bits you NEED to have cmake 64 bits too as all the other programs as well else you will have a lots of error when you will build it with MSVC

    After ANY of these option be SURE to delete the cache in cmake close the prog and re-open it

    i have been able to compile without any major error a 6.x with cmake 64bits, MSVC 2015 64bits, openSSL 1.0.2k 64 bits and mysql 5.5.5 community edition, Git Extensions and ZeroMQ 4.0.4 64bits
    Detected 64-bit platform
    MSVC: 64-bit platform, enforced -D_WIN64 parameter
    MSVC: Enabled increased number of sections in object files
    MSVC: Overloaded standard names
    MSVC: Disabled NON-SECURE warnings
    MSVC: Disabled POSIX warnings
    MSVC: Disabled generic compiletime warnings
    Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.5/lib/libmysql.lib
    Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.5/include
    Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.5/bin/mysql.exe
    Found git binary : C:/Program Files/Git/cmd/git.exe

    * TrinityCore revision : cc07a491f64f+ 2016-07-18 20:26:05 +0200 (6.x branch)

    * Install core to : C:/Program Files/TrinityCore

    * Build world/auth : Yes (default)
    * Build with scripts : Yes (static)
    * Build map/vmap tools : Yes
    * Build core w/PCH : Yes (default)
    * Build scripts w/PCH : Yes (default)
    * Show compile-warnings : No (default)
    * Use coreside debug : No (default)
    * Show source tree : Yes (hierarchical)
    * Use GIT revision hash : Yes (default)

    Boost version: 1.60.0
    Found the following Boost libraries:
    system
    filesystem
    thread
    program_options
    iostreams
    regex
    Found OpenSSL library: optimized;C:/OpenSSL-Win64/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win64/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win64/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win64/lib/VC/libeay32MDd.lib
    Found OpenSSL headers: C:/OpenSSL-Win64/include

    * Script configuration (static):
    |
    +- worldserver
    | +- Commands
    | +- Custom
    | +- EasternKingdoms
    | +- Events
    | +- Kalimdor
    | +- Maelstrom
    | +- Northrend
    | +- OutdoorPvP
    | +- Outland
    | +- Pet
    | +- Spells
    | +- World
    |

    Configuring done
    Generating done
    Hope this is going to help

    EDIT just saw you have a 5.7 mysql server be sure to get the fix as well for the 2 missing files
    Last edited by killingfool; 04-10-2017 at 11:57 PM. Reason: typo url

  4. Thanks Krack3n (1 members gave Thanks to killingfool for this useful post)

Similar Threads

  1. Could anyone try out my model edit?
    By EcHoEs in forum World of Warcraft Model Editing
    Replies: 2
    Last Post: 02-25-2008, 12:15 AM
  2. Could anyone help please?
    By King Shaun in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 12-27-2007, 04:45 PM
  3. Could anyone help me please!
    By puffen in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 09-19-2007, 10:11 PM
  4. Could anyone post the GM Vendors for GM Island?
    By Losheau in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 09-16-2007, 07:08 AM
  5. Could Anyone Help me with a DB thing...
    By heijheija in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 09-07-2007, 05:59 PM
All times are GMT -5. The time now is 06:31 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search