Jump to content
TrinityCore

Recommended Posts

1 hour ago, Dukla said:

It is all there in my post ... even parameters ...

No, it's not.

 

 cmake ../
-- Detected 64-bit platform
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/clang-3.8
-- Clang: All warnings enabled
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so
-- Found MySQL headers: /usr/include/mysql
-- Found MySQL executable: /usr/bin/mysql
-- Found git binary : /usr/bin/git

* TrinityCore revision   : 4536846d7d30+ 2017-02-12 05:43:55 -0300 (3.3.5 branch)
* TrinityCore buildtype  : None

* Install core to        : /home/bin/trinity335a
* Install libraries to   : /home/bin/trinity335a/lib
* Install configs to     : /home/bin/trinity335a/etc

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

-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   program_options
--   iostreams
--   regex
-- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so
-- Found OpenSSL headers: /usr/include
-- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Include dir is: /usr/include

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

-- Configuring done
-- Generating done
-- Build files have been written to: /home/src/produccion/bin
 

Link to comment
Share on other sites

I get this on the last tool compile for vmap4extractor:

 

[ 98%] Linking CXX executable vmap4extractor
CMakeFiles/vmap4extractor.dir/vmapexport.cpp.o: In function `ExtractSingleWmo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
vmapexport.cpp:(.text+0x4c6): undefined reference to `WMORoot::WMORoot(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
vmapexport.cpp:(.text+0x553): undefined reference to `WMOGroup::WMOGroup(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/vmap4extractor.dir/gameobject_extract.cpp.o: In function `ExtractGameobjectModels()':
gameobject_extract.cpp:(.text+0x311): undefined reference to `DBCFile::DBCFile(std::string const&)'
gameobject_extract.cpp:(.text+0x4f6): undefined reference to `ExtractSingleWmo(std::string&)'
collect2: error: ld returned 1 exit status
src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/build.make:279: recipe for target 'src/tools/vmap4_extractor/vmap4extractor' failed
make[2]: *** [src/tools/vmap4_extractor/vmap4extractor] Error 1
CMakeFiles/Makefile2:2005: recipe for target 'src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/all' failed
make[1]: *** [src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
 

My apologies if I missed notice about this one. On 3.3.5a branch. Ubuntu 16.04, cmake 3.5.2

Link to comment
Share on other sites

  • 2 weeks later...

hy all.

I have a problem with build, i get an error in bnet and World:

Severity

Code

Description

Project

File

Line

Suppression State

Error

LNK1181

cannot open input file 'C:\mysql-5.7.17-winx64\lib.obj'

bnetserver

D:\Servers\WoW\LEGION\bin\src\server\bnetserver\LINK

1

 

Using master branch
Visual Studio 2015 Comm
mysql 5.7.17 64bit

yes, i know, the lib.obj file is missing from mysql dir, where can i get this?


_________________________________________________________________
I SOLVED THIS PROBLEM

Edited by Azzeroth
solved
Link to comment
Share on other sites

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.6/lib/libmysql.lib

Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.6/include

Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe

Found git binary : C:/Program Files (x86)/Git/cmd/git.exe

 

* TrinityCore revision : 6067d19dfc43 2017-03-08 19:22:48 +0100 (master 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

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

CMake Error at cmake/macros/FindOpenSSL.cmake:191 (file):
file STRINGS file "C:/OpenSSL-Win64/openssl/opensslv.h" cannot be read.
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:203 (list):
list GET given empty list
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:204 (list):
list GET given empty list
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:205 (list):
list GET given empty list
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:206 (list):
list GET given empty list
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:213 (math):
math cannot parse the expression: " + 96": syntax error, unexpected
exp_PLUS, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:217 (string):
string Character with code does not exist.
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/EnsureVersion.cmake:76 (MATH):
math cannot parse the expression: "..*10000 + ..*100 + 0": syntax error,
unexpected exp_TIMES, expecting exp_OPENPARENT or exp_NUMBER (3)
Call Stack (most recent call first):
cmake/macros/EnsureVersion.cmake:111 (NORMALIZE_VERSION)
cmake/macros/FindOpenSSL.cmake:224 (ENSURE_VERSION_RANGE)
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:226 (message):
TrinityCore needs OpenSSL version 1.0 but found version ..
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

Configuring incomplete, errors occurred!

See also "C:/Build/CMakeFiles/CMakeOutput.log".

See also "C:/Build/CMakeFiles/CMakeError.log".

 

________________________________________________

 

CMake version: 3.7.2

OpenSSL version: 1.0.2k win 64

 

I already searched in the common problems but i didn't find a solution...

I'm trying to generate from "master" branch

Link to comment
Share on other sites

Note #2: While installing OpenSSL, choose The OpenSSL binaries (/bin) directory (NOT "The Windows system directory")
 

I reinstalled OpenSSL 1.0.2k with this option and installed OpenSSL 1.0.2k 32 bits too. Still get this error:

 

_____________________________________________________________________

 

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.6/lib/libmysql.lib

Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.6/include

Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe

Found git binary : C:/Program Files (x86)/Git/cmd/git.exe

 

* TrinityCore revision : 6067d19dfc43 2017-03-08 19:22:48 +0100 (master 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

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

CMake Error at cmake/macros/FindOpenSSL.cmake:191 (file):
file STRINGS file "C:/OpenSSL-Win64/openssl/opensslv.h" cannot be read.
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:203 (list):
list GET given empty list
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:204 (list):
list GET given empty list
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:205 (list):
list GET given empty list
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:206 (list):
list GET given empty list
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:213 (math):
math cannot parse the expression: " + 96": syntax error, unexpected
exp_PLUS, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:217 (string):
string Character with code does not exist.
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/EnsureVersion.cmake:76 (MATH):
math cannot parse the expression: "..*10000 + ..*100 + 0": syntax error,
unexpected exp_TIMES, expecting exp_OPENPARENT or exp_NUMBER (3)
Call Stack (most recent call first):
cmake/macros/EnsureVersion.cmake:111 (NORMALIZE_VERSION)
cmake/macros/FindOpenSSL.cmake:224 (ENSURE_VERSION_RANGE)
dep/openssl/CMakeLists.txt:16 (find_package)

 

CMake Error at cmake/macros/FindOpenSSL.cmake:226 (message):
TrinityCore needs OpenSSL version 1.0 but found version ..
Call Stack (most recent call first):
dep/openssl/CMakeLists.txt:16 (find_package)

 

Configuring incomplete, errors occurred!

See also "C:/Build/CMakeFiles/CMakeOutput.log".

See also "C:/Build/CMakeFiles/CMakeError.log".

Link to comment
Share on other sites

EDIT:

Oh lord, I fked up. When downloading TC with the Github-Client, i didn't merge the two master-branches. I guess I had something from a previous installation on my disc. Obviously, it works now. Sorry for this.

_____

I am sure, I downloaded both the latest (not light) versions of OpenSSL 1.0.2k 64/32bit, as stated on the tutorial, and I set the option to put the binaries not in the windows folder. sxegg's cmake-log says " TrinityCore needs OpenSSL version 1.0 but found version .. ", but mine says "TrinityCore needs OpenSSL version 1.0.0 but found version ..". Maybe a recent update broke something? Do you know where to find older precompiled Windows binaries? I tried, but I only found the sources..

Also, I had an older version of OpenSSL installed, used by a compilation some months ago. Is it possible that the version number is saved in the registry or something, and cmake compares this one, and not the one actually installed?

Edited by Ceriana
Link to comment
Share on other sites

Hi there  i want to compile a 3.3.5a trinitycore and i instaled everithing  All visual studios versioan and i kee get thes  erorr

he C compiler identification is unknown

The CXX compiler identification is unknown

CMake Error at CMakeLists.txt:15 (project):
No CMAKE_C_COMPILER could be found.


 

CMake Error at CMakeLists.txt:15 (project):
No CMAKE_CXX_COMPILER could be found.


 

Configuring incomplete, errors occurred!

See also "C:/build/CMakeFiles/CMakeOutput.log".

See also "C:/build/CMakeFiles/CMakeError.log".

 

Please Help me guys i m new on thes  and i tried everithing if someone can help me  Please

Link to comment
Share on other sites

27 minutes ago, hessor said:

Hi there  i want to compile a 3.3.5a trinitycore and i instaled everithing  All visual studios versioan and i kee get thes  erorr

he C compiler identification is unknown

The CXX compiler identification is unknown

CMake Error at CMakeLists.txt:15 (project):
No CMAKE_C_COMPILER could be found.


 

CMake Error at CMakeLists.txt:15 (project):
No CMAKE_CXX_COMPILER could be found.


 

Configuring incomplete, errors occurred!

See also "C:/build/CMakeFiles/CMakeOutput.log".

See also "C:/build/CMakeFiles/CMakeError.log".

 

Please Help me guys i m new on thes  and i tried everithing if someone can help me  Please

Follow the TC requirements page guide on how to install visual studio.

Link to comment
Share on other sites

Hello all, after going through the core set up for Win, I noticed the wikki says I should have bnetserver.pdb and worldserver.pdb files in my build folder. I do not have those two files. I compiled using VS 2017. I also noticed that it says I need those two files for the 3.3.5 server as well, but I have never seen those 2 files in my 3.3.5 build folder before. Are those 2 files for OS's other than Winblows or did I miss something? I am currently trying to get the master branch up and running.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


  • Similar Content

    • By xgamerninjax
      Hello all, first time posting here and it's really got me scratching my head.
      I've compiled everything on my own computer, and then transferred everything to a host computer so the server can stay live. The server was running fine for a month or so and then suddenly it just crashes when it hits "Loading C++ scripts", exiting saying "caught signal 22"
      I tried setting up the host computer from scratch and transferred everything over fresh and it's still happening for some reason. (Note, I can run the server perfectly on my personal pc where I compiled it.)
      Any help would be greatly appreciated, thanks!
      3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].dmp 3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].txt
    • By Deer_Hunter
      Hello all,
      I just updated from the latest Git 
      Trinity Core REV. ac6baa547376 + 2020-02-21  3.3.5 Branch.
      I'm getting this error after crash.
      Problem signature:
        Problem Event Name:    APPCRASH
        Application Name:    worldserver.exe
        Application Version:    0.0.0.0
        Application Timestamp:    5e50a462
        Fault Module Name:    StackHash_f12f
        Fault Module Version:    6.3.9600.19629
        Fault Module Timestamp:    5e2fdc0d
        Exception Code:    c0000374
        Exception Offset:    PCH_9E_FROM_ntdll+0x0000000000090D0A
        OS Version:    6.3.9600.2.0.0.272.7
        Locale ID:    1033
        Additional Information 1:    f12f
        Additional Information 2:    f12f0934d3e965f73c68e60f20f2cd40
        Additional Information 3:    7595
        Additional Information 4:    7595e4d8d703db9dcd3d2f6ea540e357
      the exception code says its a Heap error,  I'm not sure how to troubleshoot this.
      Thanks
    • By 939h
      Hi,

      The chat channel Lookup for group is not available when a player isn't in a city. I tried to modify the worldserver.conf file with:
      #
      #    Channel.RestrictedLfg
      #        Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
      #        Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
      #                     0 - (Disabled, Allow join to channel in any time)
      Channel.RestrictedLfg = 0

      I restarted the server but it didn't help.

      Thanks
    • By meeek
      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
       
    • By Probie_Wan_Kenobi
      I believe everything I have done up to this point has been correct. When I go to launch worldserver.exe a console window opens up for a second and closes right away and nothing else seems to have happened. I skipped a head a little in the instructions to see what is left and step 5 seems skippable since I am running this only for this computer and step 6 has me launch to a log in screen which I can not get to. I tried going to the faq but the page was not loading properly so I am forced to post here.
×
×
  • Create New...