Jump to content
TrinityCore

Recommended Posts

Hi!

I'm trying since yesterday to compile TrinityCore in Debug (does not work in Release too). I let Visual Studio 2013 open all night but this morning the compilation was still blocked on the file wave.c... in deplibmpq project.

I just get the following files:

ace.dll
ace.ilk
ace.pdb
authserver.conf.dist
authserver.exe
authserver.ilk
authserver.pdb
libmysql.dll
libmysql.ilk
libmysql.pdb
vmap4assembler.exe
vmap4assembler.ilk
vmap4assembler.pdb
worldserver.conf.dist
worldserver.exe
worldserver.ilk
worldserver.pdb

I tried to compile without TrinityTools for maps, vmaps, dbc and mmaps and it works, but if I do not have maps, etc : I can not start the server.

 

mpq.log : http://pastebin.com/x0CH8DLm

mpq.pdb : http://fbe.am/sby in ZiP file.

 

Thank you for your response. I am at your disposal for further information.

Edited by Belitharian
Link to comment
Share on other sites

The C compiler identification is unknown
The CXX compiler identification is unknown

I found it : http://cmake.3232098.n2.nabble.com/Visual-Studio-10-compiler-identification-unknown-td7585120.html

Don't forget to clean your cMake Cache before rebuild.

 

Maybe it could help you.

 

PS : Have you solutions for my compilation problem?

Edited by Belitharian
Link to comment
Share on other sites

The C compiler identification is unknown
The CXX compiler identification is unknown

I found it : http://cmake.3232098.n2.nabble.com/Visual-Studio-10-compiler-identification-unknown-td7585120.html

Don't forget to clean your cMake Cache before rebuild.

 

Maybe it could help you.

 

PS : Have you solutions for my compilation problem?

 

No dice, friend.

Link to comment
Share on other sites

I am about run trinity on a centos machine, and the system is centos 6.2

 

the compile process is as flows:

-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/local/bin/cc
-- Check for working C compiler: /usr/local/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/c++
-- Check for working CXX compiler: /usr/local/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/local/bin/cc
-- GCC: Enabled c++11 support
-- GCC: Enabled C99 support
-- GCC: SFMT enabled, SSE2 flags forced
-- Found ACE library: /usr/local/lib/libACE.so
-- Found ACE headers: /usr/local/include
-- Found OpenSSL library: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
-- Found OpenSSL headers: /usr/include
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib64/mysql/libmysqlclient.so
-- Found MySQL headers: /usr/include/mysql
-- Found Readline library: /usr/lib64/libreadline.so
-- Include dir is: /usr/include
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3") 
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5") 
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Found git binary : /usr/bin/git

* TrinityCore revision   : b717ce0edaf2+ 2014-04-07 09:56:06 +0200 (master branch)
* TrinityCore buildtype  : Release

* Install core to        : /home/trinity/server
* Install libraries to   : /home/trinity/server/lib
* Install configs to     : /home/trinity/server/conf

* Build world/auth       : Yes (default)
* Build with scripts     : Yes (default)
* 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)
* Use GIT revision hash  : Yes

-- SCRIPT PREPARATIONS
  -> Prepared: Spells
  -> Prepared: Commands
  -> Prepared: Examples
  -> Prepared: Custom
  -> Prepared: World
  -> Prepared: Outdoor PVP Zones
  -> Prepared: Eastern Kingdoms
  -> Prepared: Kalimdor
  -> Prepared: Outland
  -> Prepared: Northrend
  -> Prepared: Events
  -> Prepared: Pet
-- SCRIPT PREPARATION COMPLETE

-- Configuring done
-- Generating done
-- Build files have been written to: /home/trinity/forcompile/build

make -j 4 

 

then it has errors as:

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/trinity/forcompile/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec3516515598/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3516515598.dir/build.make CMakeFiles/cmTryCompileExec3516515598.dir/build
gmake[1]: Entering directory `/home/trinity/forcompile/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake28 -E cmake_progress_report /home/trinity/forcompile/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3516515598.dir/CheckSymbolExists.c.o
/usr/local/bin/cc   -std=gnu99     -o CMakeFiles/cmTryCompileExec3516515598.dir/CheckSymbolExists.c.o   -c /home/trinity/forcompile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec3516515598
/usr/bin/cmake28 -E cmake_link_script CMakeFiles/cmTryCompileExec3516515598.dir/link.txt --verbose=1
/usr/local/bin/cc    -std=gnu99      CMakeFiles/cmTryCompileExec3516515598.dir/CheckSymbolExists.c.o  -o cmTryCompileExec3516515598 -rdynamic 
CMakeFiles/cmTryCompileExec3516515598.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
gmake[1]: Leaving directory `/home/trinity/forcompile/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec3516515598] Error 1
gmake: *** [cmTryCompileExec3516515598/fast] Error 2

File /home/trinity/forcompile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/trinity/forcompile/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec2355673569/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec2355673569.dir/build.make CMakeFiles/cmTryCompileExec2355673569.dir/build
gmake[1]: Entering directory `/home/trinity/forcompile/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake28 -E cmake_progress_report /home/trinity/forcompile/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2355673569.dir/CheckFunctionExists.c.o
/usr/local/bin/cc   -std=gnu99  -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec2355673569.dir/CheckFunctionExists.c.o   -c /usr/share/cmake28/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec2355673569
/usr/bin/cmake28 -E cmake_link_script CMakeFiles/cmTryCompileExec2355673569.dir/link.txt --verbose=1
/usr/local/bin/cc    -std=gnu99  -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec2355673569.dir/CheckFunctionExists.c.o  -o cmTryCompileExec2355673569 -rdynamic -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: Leaving directory `/home/trinity/forcompile/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec2355673569] Error 1
gmake: *** [cmTryCompileExec2355673569/fast] Error 2

if I compile without  DTOOLS then this whole thing runs smooth without problem, however when I add  -DTOOLS=1 , the error occurs,

 

 

coould anyone give me some help on how to solve this. thanks!

Link to comment
Share on other sites

Hi !
 
I have restore my computer today and reinstalled all the software for build trinitycore but today CMake will not build the source. I have build with new sources from the trintycore repository and here's the CMake logs :
 
 
Configuration :
 
Windows 8.1
CMake 2.8.12.2
Visual Studio 2012
Openssl 1.0.1g
Edited by Frøøzen
Link to comment
Share on other sites

visual studio 2013 is required, afaik.

 

Same error with Visual Studio 2013 (I've choose Visual Studio 12 on CMake)

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:12 (project)
 
 
The C compiler identification is unknown
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:12 (project)
Configuration :
 
Windows 8.1
CMake 2.8.12.2
Visual Studio 2012 - Visual Studio 2013
Openssl 1.0.1g
Edited by Frøøzen
Link to comment
Share on other sites

Hey Smellbee,

What version of g++ & gcc & cmake are you running?

I haven't compiled on my CentOS box for quite some time and will try it out since TC changed the cmake configuration to allow newer compilers.

 

Also something that I noticed before you ran anything...

-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
Link to comment
Share on other sites

 

Hey Smellbee,

What version of g++ & gcc & cmake are you running?

I haven't compiled on my CentOS box for quite some time and will try it out since TC changed the cmake configuration to allow newer compilers.

 

Also something that I noticed before you ran anything...

-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found

 

gcc is 4.7.2 , you can see in my previous post as:

-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2

cmake :  2.8

 

 

I think pthread is there, and you can see it as :

-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found

it found pthread in pthread 

 

I dont know what is wrong :(

Link to comment
Share on other sites

Nop... doesn't work :(

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:12 (project)


The C compiler identification is unknown
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:12 (project)


The CXX compiler identification is unknown
Link to comment
Share on other sites

Visual Studio 12 (Visual Studio 2013)

 

Configuration :

 

Windows 7 (64bits)

Visual Studio 2013

CMake 2.8.12 (32bits)

GitExtension (2.47.03) > GitVersion 1.8.3 > KDiff3

.NET Framework 4.5 and 4.5.1 (+ SDK)

Visual C++ 2008 (x86)

Visual C++ 2010 (x86 & x64)

Visual C++ 2012 (x86 & x64)

Openssl 1.0.1g (32bits)

Microsoft Windows SDK for Windows 7(7.1)

Microsoft Visual C++ Compilers 2010 SP1 (x86 & x64)

WampServer 2.4

Edited by Frøøzen
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...