User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 7 of 10

Thread: How to CMake

  1. #1
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,856 Times in 1,119 Posts

    How to CMake

    Required Programs




    I'm getting errors


    • OpenSSL could not be found: Make sure you installed it and be sure you installed the correct bit (32/64 bit, whatever you are compiling in).
    • Could not find ZMQ libraries/headers: Make sure you installed ZMQ. View Required Programs above.
    • No C/CXX compiler could be found: Make sure you've ran Visual Studio at least once before using CMake. If you are still getting the error you most likely missed some necessities. Typically you can launch Visual Studio, click New Project, select Visual C++ and you will see the required necessities to install.
    • GIT not found: Make sure you installed Git, the link is above. If you're still receiving this error, follow my post here.
    • I'm getting boost errors: Boost error solutions can be found in How to install and setup Boost thread.
    • If you are receiving errors not on this list make a new support thread here.


    Specifying your paths


    Where is the source code: Source code path should be linked to your TrinityCore/ source folder. Do not link the path anywhere else other than TrinityCore/ since it contains the main CMakeLists.txt.

    For example, I cloned my TrinityCore source to my desktop, so my source path would be:

    Code:
    C:/Users/Easelmm/Desktop/TrinityCore
    Where to build the binaries: This will be your build folder. It can be anywhere, but it is best to just create the folder in your TrinityCore/ source folder. That's what I do.
    (NOTE: If you move this folder manually it is best to just delete the old build folder and rerun CMake to the new build folder location.)

    For example:

    Code:
    C:/Users/Easelmm/Desktop/TrinityCore/build
    Generator/Compiler


    I use Visual Studio 2015, so the compiler option is Visual Studio 14 2015. Above, under "Required Programs" are the recommend visual studio versions. If you cannot find the correct generator make sure your CMake version supports the version of Visual Studio.

    Bubble option: Choose "Use default native compilers" and click 'Finish'.

    After that, click on "Generate". It will start Configuring and Generating.

    Extra Options


    If you check "Advanced" in CMake (if not already checked) you will see different options. Don't mess with anything unless you know what you're doing. If you want to compile "Tools" check "Tools" and there's other options you might want to check (typically at the bottom of the list).

    If you need any help, scroll up to "I'm getting errors" part of this tutorial.

  2. The Following User Says Thank You to Tommy For This Useful Post:


  3. #2
    Exalted Member <span style='color: #800080'>Rezolve</span>'s Avatar

    Join Date
    Jan 2014
    Posts
    79
    XP
    2,038,457
    Level
    261
    Thanks
    11
    Thanked 13 Times in 10 Posts
    Nice guide, tommy.

  4. #3
    Original Poster
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,856 Times in 1,119 Posts
    Thanks.

  5. #4
    Original Poster
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,856 Times in 1,119 Posts
    Updated to the latest.

  6. #5
    Respected Member
    Join Date
    Jul 2013
    Posts
    75
    XP
    2,869
    Level
    15
    Thanks
    14
    Thanked 1 Time in 1 Post
    Sadly i've gone through all of these, and im running windows 8.1, and everyone in my family is too dumb so they threw away all the windows 7 software, so i can't install windows7, since the torrents dosent work either. just wanted to make that clear.

    So My question is, does this tutorial support Windows 8+ or just windows 7? Besides that, Great tut, one of the most easiest tutorials i've ever seen.





    - EDIT: Notice i've done this before, i know that it worked for me on my old pc, but I've never liked cmake, and i never will either becuse it is too buggy.

    (i can't touch the NetFrame, becuse microsoft feelt like to fuck with everyone with the new windows version (if i delete it using cmd, then i wont be able to reinstall it)
    Last edited by vxea; 06-10-2014 at 03:17 AM.
    Achievements:
    1 year registered Member Level XV

  7. #6
    Original Poster
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,856 Times in 1,119 Posts
    Quote Originally Posted by vxea View Post
    Sadly i've gone through all of these, and im running windows 8.1, and everyone in my family is too dumb so they threw away all the windows 7 software, so i can't install windows7, since the torrents dosent work either. just wanted to make that clear.

    So My question is, does this tutorial support Windows 8+ or just windows 7? Besides that, Great tut, one of the most easiest tutorials i've ever seen.





    - EDIT: Notice i've done this before, i know that it worked for me on my old pc, but I've never liked cmake, and i never will either becuse it is too buggy.

    (i can't touch the NetFrame, becuse microsoft feelt like to fuck with everyone with the new windows version (if i delete it using cmd, then i wont be able to reinstall it)
    I'm using Windows 7, but I don't see why it wouldn't work for Windows 8. Sadly, despite your feels on CMake, you'll still need it to compile. :P

  8. #7
    Original Poster
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,856 Times in 1,119 Posts
    It is about that time to start updating everything. I updated the tutorial and put a more professional twist to it. Screenshots after awhile tend to randomly go away so I'm probably not going to use screenshots unless absolutely necessary, or just upload them on EmuDevs FTP instead. Enjoy!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •