Jump to content
TrinityCore

Recommended Posts

3 hours ago, Aokromes said:

this is trinitycore forum, not AshamaneCore forum. P.S. warning aint error.

i didn't compile AshamaneCore Source , 
i did compile 4.3.4 and at least i know ashamane isn't 4.3.4 it's right ? 

Share this post


Link to post
Share on other sites

Hello, I get this error on debian and I can't set it up, but it works properly on windows. Any suggestions ?

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

Run Build Command:"/usr/bin/make" "cmTC_e7e5b/fast"
/usr/bin/make -f CMakeFiles/cmTC_e7e5b.dir/build.make CMakeFiles/cmTC_e7e5b.dir/build
make[1]: Entering directory '/home/test/testwow335/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e7e5b.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_e7e5b.dir/CheckSymbolExists.c.o -c /home/test/testwow335/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_e7e5b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e7e5b.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_e7e5b.dir/CheckSymbolExists.c.o -o cmTC_e7e5b -rdynamic
CMakeFiles/cmTC_e7e5b.dir/CheckSymbolExists.c.o: In function `main':
/home/test/testwow335/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cfrown.gif.text+0x19): undefined reference to `pthread_create'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_e7e5b.dir/build.make:97: recipe for target 'cmTC_e7e5b' failed
make[1]: *** [cmTC_e7e5b] Error 1
make[1]: Leaving directory '/home/test/testwow335/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_e7e5b/fast' failed
make: *** [cmTC_e7e5b/fast] Error 2

File /home/test/testwow335/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/test/testwow335/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_4eede/fast"
/usr/bin/make -f CMakeFiles/cmTC_4eede.dir/build.make CMakeFiles/cmTC_4eede.dir/build
make[1]: Entering directory '/home/test/testwow335/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4eede.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_4eede.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_4eede
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4eede.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_4eede.dir/CheckFunctionExists.c.o -o cmTC_4eede -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_4eede.dir/build.make:97: recipe for target 'cmTC_4eede' failed
make[1]: *** [cmTC_4eede] Error 1
make[1]: Leaving directory '/home/test/testwow335/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_4eede/fast' failed
make: *** [cmTC_4eede/fast] Error 2

Share this post


Link to post
Share on other sites
8 hours ago, levani4321 said:

Hello, I get this error on debian and I can't set it up, but it works properly on windows. Any suggestions ?

You might want to check this out:

https://community.trinitycore.org/topic/13962-trouble-with-your-trinity-install-starting-login-readme-1st-faqs/?tab=comments#comment-47706

"undefined reference to `pthread_create' "

Share this post


Link to post
Share on other sites
4 hours ago, levani4321 said:

plz someone help me

Did you enter these commands, like the post said?

declare -x CFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic -fno-fast-math -lpthread"

declare -x CXXFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic -fno-fast-math -lpthread"

cmake ../ -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/your/installation/path

If that doesn't compile, try deleting your build directory, then make it again and run your cmake commands in the new one. Ideally you should be using Debian stable on bare metal, not any version of Debian running under windows.

Your openssl might be an issue, but I remember running 1.1, the last time I compiled on Debian, without any problems. If you want to be sure, download the older library ( https://packages.debian.org/jessie/openssl ), unpack it into your source directory, and use the following cmake parameters to point to it:

-DOPENSSL_LIBRARIES=<path to OpenSSL library>

-DOPENSSL_INCLUDE_DIR=<path to OpenSSL includes>

Share this post


Link to post
Share on other sites

I am just wondering if it is possible to have 2 versions of OpenSSL and Boost running at the same time.  I have an older version of TC and would like to keep it, but I also would like to have a clean TC to tip. This would mean running Boost_1_60_0 and Boost_1_66_0 and the same type of thing with OpenSSL.

Is it possible to change the name of Boost for example to Boost1_1_66_0 and have that work?

Share this post


Link to post
Share on other sites

-- 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/cc
CMake Error at cmake/compiler/gcc/settings.cmake:9 (message):
  GCC: TrinityCore requires version 6.3.0 to build but found 6.0.0
Call Stack (most recent call first):
  cmake/platform/unix/settings.cmake:29 (include)
  cmake/macros/CheckPlatform.cmake:13 (include)
  CMakeLists.txt:61 (include)


getting this response when starting to compile. why is it telling me my Trinity isn't up to date when I downloaded it today?

Share this post


Link to post
Share on other sites
33 minutes ago, NoirPhoenix said:

-- 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/cc
CMake Error at cmake/compiler/gcc/settings.cmake:9 (message):
  GCC: TrinityCore requires version 6.3.0 to build but found 6.0.0
Call Stack (most recent call first):
  cmake/platform/unix/settings.cmake:29 (include)
  cmake/macros/CheckPlatform.cmake:13 (include)
  CMakeLists.txt:61 (include)


getting this response when starting to compile. why is it telling me my Trinity isn't up to date when I downloaded it today?

i told you 2 times already, with this 3, you need GCC 6.3.0. you have GCC 6.0.0 ask to who installed you GCC to install CLANG for you.

Share this post


Link to post
Share on other sites

Hi, okay I'm new, so sorry in advance for my inexperience.  I'm trying to build 3.3.5.  It all seems to go beautifully until I open the project in Xcode.  Thats when I don't seem to be able to get a clean archive.  (I hope I'm using the right words)

I get ... oh heck, I'll just add the screenshot:

I hope this screenshot makes sense to somebody.  I'm really excited to build and run TC 3.3.5 on my Mac and try our hand at family gaming night.

If there is more info needed after this I will happily submit what I can or know how to.

Thanks.

Oh sorry, I should add... 

I'm running High Sierra, and I've been following the instructions on this site.  I've successfully installed all the tools, with no errors I can notice, and it seems to go beautifully until I begin this Xcode part.  The build [xcodebuild -config Release -target install] says ** BUILD SUCCEEDED **

Screen Shot 2018-12-08 at 1.49.21 PM.png

Edited by Aescleal

Share this post


Link to post
Share on other sites

Maybe I've come to the end of the possibilities for a Mac build?  I don't know what more to do.  I've wiped the $TRINITY folder and repeated the steps over and over now.  Same results.  I did find I hasn't set 'Install' properly in Xcode, but turns out it didn't help anyway, just more errors/issues.  So the files created mapextractor, etc... don't seem to work.  When I copy them to the client folder all I get are failed to find this and that folder.. I manually created those folders, but still no dice. <sigh>.

I had such high hopes this would work.  The instructions look so clear and straight forward.  I just can't go forward without hitting walls I can't climb.  :(

If anybody can help me out I'd be grateful

Share this post


Link to post
Share on other sites
2 minutes ago, Aescleal said:

Okay, so I've decided to give this a go on my iMac instead.  I'm doing as much as I can with Homebrew this time.  We'll see how it goes.

macOS High Sierra 10.13.6

try this if you still don't have tried it.

Share this post


Link to post
Share on other sites

Thanks Aokromes,

I'm trying to follow this now as well.  On a new computer, but having loads of mysql issues.  I am following it step by step, but it seams Homebrew wants to install mysql 8, and I'm so frustrated now.  This is disheartening, but I'm not giving up.

Share this post


Link to post
Share on other sites

Hi, could something on both my Macs be messed up?  I've tried the Homebrew compile method and get the same thing still.  I compared the errors and they look the same to me.

I'm a bit turned about / confused.  I deleted my tc-server folder and everything in it.  I installed mysql-5.7.24.  And I started everything over again with exact commands; to make sure I copy&paste them into terminal.  The only thing that gives me concern is the warning in the below screenshot.

What do you think?  Is there a way for me to be able to compile TC properly?  Do you think I have to make changes to my computer?  Maybe I'm missing something else or have a version problem that is preventing things?

2015 iMac, 8GB Memory, macOS 10.13.6 High Sierra

I let Homebrew do the installs, except I also manually installed mysql-5.7.24.

- could there be a mysql conflict still with version 8?  How do I uninstall mysql 8?  Can you even do that?

Screen Shot 2018-12-10 at 8.05.31 PM.png

Screen Shot 2018-12-10 at 8.01.01 PM.png

Share this post


Link to post
Share on other sites

Ran into this yesterday after doing a 'git pull orgin 3.3.5' on Debian 'STRETCH' x64.

[  0%] Built target Detour
[  1%] Built target Recast
[  2%] Built target fmt
[  6%] Built target g3dlib
[  6%] Built target gsoap
[  9%] Built target jemalloc
[  9%] Built target revision_data.h
Scanning dependencies of target common
[  9%] Building CXX object src/common/CMakeFiles/common.dir/GitRevision.cpp.o
[ 10%] Linking CXX static library libcommon.a
[ 14%] Built target common
[ 16%] Built target database
Scanning dependencies of target shared
[ 16%] Building CXX object src/server/shared/CMakeFiles/shared.dir/enuminfo_SharedDefines.cpp.o
[ 16%] Linking CXX static library libshared.a
[ 17%] Built target shared
make[2]: *** No rule to make target '../dep/smart_enum/smart_enum.hpp', needed by 'src/server/game/cotire/game_CXX_prefix.hxx.pch'.  Stop.
CMakeFiles/Makefile2:1197: recipe for target 'src/server/game/CMakeFiles/game.dir/all' failed
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 17%] Linking CXX executable authserver
make[2]: *** No rule to make target '../dep/smart_enum/smart_enum.hpp', needed by 'src/server/scripts/cotire/scripts_CXX_prefix.hxx.pch'.  Stop.
CMakeFiles/Makefile2:1417: recipe for target 'src/server/scripts/CMakeFiles/scripts.dir/all' failed
make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
[ 18%] Built target authserver
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
 

It happened yesterday and this morning after pulling again.

Code error or me screwing up?

Share this post


Link to post
Share on other sites
17 hours ago, Billy said:

Ran into this yesterday after doing a 'git pull orgin 3.3.5' on Debian 'STRETCH' x64.

[  0%] Built target Detour
[  1%] Built target Recast
[  2%] Built target fmt
[  6%] Built target g3dlib
[  6%] Built target gsoap
[  9%] Built target jemalloc
[  9%] Built target revision_data.h
Scanning dependencies of target common
[  9%] Building CXX object src/common/CMakeFiles/common.dir/GitRevision.cpp.o
[ 10%] Linking CXX static library libcommon.a
[ 14%] Built target common
[ 16%] Built target database
Scanning dependencies of target shared
[ 16%] Building CXX object src/server/shared/CMakeFiles/shared.dir/enuminfo_SharedDefines.cpp.o
[ 16%] Linking CXX static library libshared.a
[ 17%] Built target shared
make[2]: *** No rule to make target '../dep/smart_enum/smart_enum.hpp', needed by 'src/server/game/cotire/game_CXX_prefix.hxx.pch'.  Stop.
CMakeFiles/Makefile2:1197: recipe for target 'src/server/game/CMakeFiles/game.dir/all' failed
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 17%] Linking CXX executable authserver
make[2]: *** No rule to make target '../dep/smart_enum/smart_enum.hpp', needed by 'src/server/scripts/cotire/scripts_CXX_prefix.hxx.pch'.  Stop.
CMakeFiles/Makefile2:1417: recipe for target 'src/server/scripts/CMakeFiles/scripts.dir/all' failed
make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
[ 18%] Built target authserver
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
 

It happened yesterday and this morning after pulling again.

Code error or me screwing up?

delete build directory and re-run cmake again.

Share this post


Link to post
Share on other sites

Hello,

I've a probleme. Two days ago, I make a build and a installation of the core of TrinityCore without probleme, but my VPS doesn't have enought space on hdd. I migrated to a higher, now when I make a build, my VPS crash at 100% by 

/usr/bin/ld: cannot find -lncurses

I use a Debian 9 with 4vCore, 8Go Memory and 50Go Stockage.

Pik0fr

Share this post


Link to post
Share on other sites

I have one problem when i install from Build with RelWithDeb i only get .pdb files i no have authserver.conf.dist or worldserver.conf.dist please help me

Edited by Tunitoo0

Share this post


Link to post
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.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • 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.
    • By Wark
      I'd just like to get a little insight to why so much of the current Trinitycore code doesn't match up to a few years ago.
      Now I know I'm not a pro at coding on Trinitycore and I understand that the core is open sourced but these just seem so significant and doesn't seem right to remove this stuff.
       
      Let me give an example. Lets say I'm watching this tutorial to get a little information about classes and methods that I can use when making a script. (I've also been using the Trinitycore Code Documentation as reference as well but it also seems to show the same issues)
      Although the tutorial is a little out of date, I don't see why OnGossipSelect doesn't exist anywhere in CreatureScript and that when I try to link the script to the core code it spits out this error.
      object of abstract class type "GossipTeleporter" is not allowed:
      pure virtual function "CreatureScript::GetAI" has no overrider
      The DEFINES of "ADD_GOSSIP_ITEM" and many more don't exist either.
       
      Am I missing something? All I want to know is if the core is mean't to be this way and if not should I download an older version of the core before I put to much working into my current core.
      (I downloaded my core right from the Trinitycore website tutorial)
       
      I'm currently trying to write a simple gossipteleporter that will let you talk to an npc and teleport to the given location. It's very hard to do this when so many things just don't exist within my core.
       
      EXTRA: I pasted this into a new custom script just to see if I would get errors and I got a lot of different errors: http://pastebin.com/raw/G62e0t49
      This was obtained from here: http://www.ac-web.org/forums/showthread.php?129885-Request-Teleporter-NPC-for-TrinityCore
      By no means am I looking to copy the code from the two links above, I was using them as a test to see if my core accepted them.
       
      Thanks,
      Wark
×
×
  • Create New...