User Tag List

Results 1 to 6 of 6

Thread: [HELP!] Eluna Errors when Building in VB

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

    [HELP!] Eluna Errors when Building in VB

    Hello emudevs !

    I'm trying to compile a fresh 3.3.5 TrinityCore with Eluna and it gives me some errors. I hope anyone here can help me to solve them or point me to any guide


    Last edited by nicklaspp1234; 07-27-2016 at 10:05 PM.
    Achievements:
    Level I Member

  2. #2
    Moderator <span style='color: #FF1493'><span class='glow_000000'>Vitrex</span></span>'s Avatar

    Join Date
    Sep 2013
    Location
    Vilnius , Lithuania
    Posts
    1,049
    XP
    1,000,662
    Level
    174
    Thanks
    283
    Thanked 137 Times in 97 Posts
    Are you trying to compile 64 bits or 32 ?
    Your problem related to that, all you need to do is select the correct mysql version depending on what bits you are trying to compile.
    easiest way will be to go here.

    https://trinitycore.atlassian.net/wi...s+Requirements

    STEP 9


    1. These files are shipped with MySQL Server but to make it easier we packed the libs and include files for both 32 bits and 64 bits.


    Click on download link.

    Place it somewhere you know where (lol)

    Now open cMake place a tick on checkbox where it says advanced and grouped , it's in line with bar named search.

    Now expand the MYSQL group.
    and change the last 2 entries.

    MSYQL_INCLUDE_DIR - must be a folder named include (you can found it your folder that you downloaded)
    MYSQL_LIBRARY - must be a .lib file (can be found in your folder you downloaded)

    Just don't forget if you downloaded all software for 32 bits it's doesn't matter if your OS is 64. just select 32 bit mysql folder in MYSQL_LIBRARY.

    And after compile just move a .lib files from this folder to your's release folder.(like in normal way)

    If you have any problems, post them here.
    Last edited by Vitrex; 07-27-2016 at 10:47 PM.
    Achievements:
    Shopper Got a Sticky! 1 year registered Member Level XL Level C Referrer
    Awards:
    Raffle Winner Donator Member of Staff Pot Head
    I won't create anything for you, i can only guide you to right direction.
    Don't forget to read rules before posting.
    Forum Rules
    Need and assistance with your issue? use this section to ask for assistance !
    -----
    My Portfolio
    Wanna learn PHP ? check out my One-Page project


  3. The Following User Says Thank You to Vitrex For This Useful Post:


  4. #3
    Original Poster
    Lurking Member
    Join Date
    Jul 2016
    Posts
    2
    XP
    17
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Vitrex View Post
    Are you trying to compile 64 bits or 32 ?
    Your problem related to that, all you need to do is select the correct mysql version depending on what bits you are trying to compile.
    easiest way will be to go here.

    https://trinitycore.atlassian.net/wi...s+Requirements

    STEP 9


    1. These files are shipped with MySQL Server but to make it easier we packed the libs and include files for both 32 bits and 64 bits.


    Click on download link.

    Place it somewhere you know where (lol)

    Now open cMake place a tick on checkbox where it says advanced and grouped , it's in line with bar named search.

    Now expand the MYSQL group.
    and change the last 2 entries.

    MSYQL_INCLUDE_DIR - must be a folder named include (you can found it your folder that you downloaded)
    MYSQL_LIBRARY - must be a .lib file (can be found in your folder you downloaded)

    Just don't forget if you downloaded all software for 32 bits it's doesn't matter if your OS is 64. just select 32 bit mysql folder in MYSQL_LIBRARY.

    And after compile just move a .lib files from this folder to your's release folder.(like in normal way)

    If you have any problems, post them here.
    MySQL is 32bit as i reinstalled the other day after i found out it was higher all of the programs i have used was 32bit :) I find it weird since i first was able to build and everything (without Eluna) but when i did it with eluna it gave of these errors :)
    Last edited by nicklaspp1234; 07-27-2016 at 10:58 PM.
    Achievements:
    Level I Member

  5. #4
    Moderator <span style='color: #FF1493'><span class='glow_000000'>Vitrex</span></span>'s Avatar

    Join Date
    Sep 2013
    Location
    Vilnius , Lithuania
    Posts
    1,049
    XP
    1,000,662
    Level
    174
    Thanks
    283
    Thanked 137 Times in 97 Posts
    then check it.

    Core\src\server\game\LuaEngine

    this folder is empty or not?

    P.s i still believe it's not Eluna related problem, since the error says that something wrong with mysql libs.

    You don't have to install anything just change paths in cMake as i showed. Because MySQL installs the default version of software if your OS 64 it will install 64 by default. not 32

    If LuaEninge folder empty, clone / download zip from here : https://github.com/ElunaLuaEngine/El...5760e19a60586f

    Place it in that folder, generate cMake and re Compile.
    Last edited by Vitrex; 07-27-2016 at 11:32 PM.
    Achievements:
    Shopper Got a Sticky! 1 year registered Member Level XL Level C Referrer
    Awards:
    Raffle Winner Donator Member of Staff Pot Head
    I won't create anything for you, i can only guide you to right direction.
    Don't forget to read rules before posting.
    Forum Rules
    Need and assistance with your issue? use this section to ask for assistance !
    -----
    My Portfolio
    Wanna learn PHP ? check out my One-Page project


  6. #5
    Exalted Member Syphex's Avatar
    Join Date
    Dec 2014
    Location
    Sweden GMT + 1
    Posts
    297
    XP
    169,093
    Level
    105
    Thanks
    50
    Thanked 37 Times in 29 Posts
    When you dragged your libmysql.dll file did you copy it or dragged it from it's position? as you should just copy it, if you take it away from it's folder you will experience problems in the future.

    As it still has to be in it's folder even after you have compiled your server before. Also if he have the downloaded 32 bit then it will compile in 32 bit no matter what your system will not make a change in this. Your correct about that the mysql installer will choose your operative system, but i told him to install the 32 bit which worked fine and he got his server running that way.

    But As Vitrex mentioned above that the problem could be that cmake is redirected to the wrong mysql folder that has 64 bits. (which i highly doubt if you uninstalled the 64x version and installed the 32 bit version)
    But id give my guess that you havnt downloaded the correct files that you need for Eluna.

    Here is an older thread with the exact same problems, look through it to see if you can relate to any of the comments etc.. etc.. etc..
    http://emudevs.com/showthread.php/51...-Compile-Error
    Last edited by Syphex; 07-28-2016 at 12:47 AM.
    Achievements:
    Member 1 year registered Level XL Level C

  7. #6
    Moderator <span style='color: #FF1493'><span class='glow_000000'>Vitrex</span></span>'s Avatar

    Join Date
    Sep 2013
    Location
    Vilnius , Lithuania
    Posts
    1,049
    XP
    1,000,662
    Level
    174
    Thanks
    283
    Thanked 137 Times in 97 Posts
    I helped him to fix issue as i mentioned in my first post.
    Just others don't forget you need to copy libmysql.dll and libmysql.lib files from folder i provided in link otherwise you'll see the following error.

    Code:
    DatabaseWorkerPool<class WorldDatabaseConnection>::DatabaseWorkerPool FATAL ERROR:
    Used MySQL library version (5.6.31) does not match the version used to compile TrinityCore (5.5.38). Search on forum for TCE00011
    Marking as solved.
    Last edited by Vitrex; 07-28-2016 at 06:59 PM.
    Achievements:
    Shopper Got a Sticky! 1 year registered Member Level XL Level C Referrer
    Awards:
    Raffle Winner Donator Member of Staff Pot Head
    I won't create anything for you, i can only guide you to right direction.
    Don't forget to read rules before posting.
    Forum Rules
    Need and assistance with your issue? use this section to ask for assistance !
    -----
    My Portfolio
    Wanna learn PHP ? check out my One-Page project


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
  •