User Tag List

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

Thread: Compiler error

  1. #1
    Lurking Member
    Join Date
    Jul 2016
    Posts
    6
    XP
    93
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Compiler error

    hey i have eluna and trinity together

    and ive already set the environ variables to BOOST_ROOT


    and i keep getting


    CMake Error at cmake/macros/FindBoost.cmake:1185 (message):
    Unable to find the requested Boost libraries.

    Unable to find the Boost header files. Please set BOOST_ROOT to the root
    directory containing Boost or BOOST_INCLUDEDIR to the directory containing
    Boost's headers.
    Call Stack (most recent call first):
    dep/boost/CMakeLists.txt:29 (find_package)


    any help ?

    - - - Updated - - -

    i also added # set boost-directory
    set (ENV{BOOST_ROOT} "C:/local/boost_1_59_0/boost/")


    to cmakemlist.txt and it still wont make the .sln file and im using vs 2013 #4

  2. #2
    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
    Is that the correct path? Your path should be the parent boost directory. Look at the image below for elaboration:



    So my BOOST_ROOT path will be "C:\boost_1_60_0", for example. In other words, make sure your path is the correct path, else it cannot find what it is looking for.

  3. #3
    Original Poster
    Lurking Member
    Join Date
    Jul 2016
    Posts
    6
    XP
    93
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes that is the correct path

  4. #4
    Original Poster
    Lurking Member
    Join Date
    Jul 2016
    Posts
    6
    XP
    93
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    can you post your cmakelists.txt file plz

  5. #5
    Original Poster
    Lurking Member
    Join Date
    Jul 2016
    Posts
    6
    XP
    93
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Any help ?

  6. #6
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,859
    XP
    13,487
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    Remove the cmakelists modification you made

    can you post your cmakelists.txt file plz
    Mine is default, which you can find from the TC repository https://github.com/TrinityCore/TrinityCore

    Post exactly what you set in the environment variables.
    Post where you downloaded boost from. (exactly, not just "boost.org")
    Post which boost you downloaded exactly.
    Post if you chose the 64 bit compiler in cmake.

    You might have wrong path, for example it might have ending / or \ even though it should not be there or something
    or you might have downloaded incorrect boost that:
    - doesnt have binaries
    - is for some other compiler
    - is for wrong bit version
    If you know some of these, post them also in addition to posting where you downloaded boost form.

    try post all info : )

    Try setting both the system and the user specific environment variable to the same boost path.

    My BOOST_ROOT is set to E:/Programs/boost/boost_1_60_0/
    Try using similar slashes.
    Last edited by Rochet2; 07-06-2016 at 02:53 PM.
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner
    rochet2.github.io - Home of great codes

  7. #7
    Mad Scientist <span style='color: #008000'><span class='glow_006400'>slp13at420</span></span>'s Avatar



    Join Date
    Dec 2013
    Location
    Idaho
    Posts
    2,485
    XP
    20,134,737
    Level
    500
    Thanks
    1,087
    Thanked 329 Times in 211 Posts
    fyi with my 2 cents worth lol .
    when I installed Boost x64, it installed by default to C:\local\boost_1_60_0
    Last edited by slp13at420; 07-07-2016 at 02:31 AM.
    Achievements:
    Shopper Got a Sticky! Member 1 year registered Level XL Level D
    Awards:
    Pot Head LOL Raffle Winner Top Tagger Donator Hangman Scripter Repacker Drunk Support Member of Staff Da Bomb!
    "Cuz PvP's better with a bag 'o' weed"
    !! King Spade !!

    -Guild Plot System-
    Grumbo'z Guild Warz


    -VIP System-
    Grumbo'z VIP System

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
  •