Jump to content
TrinityCore

Recommended Posts

The "for Web" version doesn't have a C++ compiler so that can't work.

I'm pretty sure that the VS 2013 with Updated 2 would work.

 

Glad you got it fixed.


--- Canned message start ---
It appears the issue in the original post was solved, so this thread shall be closed.
Should you encounter any other difficulties, please open a new thread.
--- Canned message end ---

Share this post


Link to post
Share on other sites

Anybody compile trinitycore with boosts on Debian?

This is my Cmake errors.

Cmake find boost library. but can't find 

          boost_system

          boost_thread
          boost_program_options.
I find it - it's exist
 

 Boost version: 1.55.0

 
  Boost include path: /usr/local/include/boost
 
  Could not find the following Boost libraries:
 
          boost_system
          boost_thread
          boost_program_options
 
  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  cmake/macros/ConfigureBoost.cmake:28 (find_package)
  CMakeLists.txt:57 (include)
 

 

 

Help me please.  Boost root folder lib is in /usr/local/include/boost

Edited by Esserg

Share this post


Link to post
Share on other sites
-- Detected 32-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/gcc
-- GCC: Enabled c++11 support
-- GCC: Enabled C99 support
-- GCC: SFMT enabled, SSE2 flags forced
-- GCC: All warnings enabled
-- Found OpenSSL library: /usr/lib/i386-linux-gnu/libssl.so;/usr/lib/i386-linux-                                                                                                 gnu/libcrypto.so
-- Found OpenSSL headers: /usr/include
CMake Error at cmake/macros/FindBoost.cmake:1113 (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):
  cmake/macros/ConfigureBoost.cmake:28 (find_package)
  CMakeLists.txt:60 (include)
 
 
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/i386-linux-gnu/libmysqlclient_r.so
-- Found MySQL headers: /usr/include/mysql
-- Found Readline library: /usr/lib/i386-linux-gnu/libreadline.so
-- Include dir is: /usr/include
-- Found git binary : /usr/bin/git
 
* TrinityCore revision   : aa46a8e79425+ 2014-08-06 21:03:40 +0300 (master branch)
* TrinityCore buildtype  : Release
 
* Install core to        : /home/frozen-wow/SevernaDze
* Install libraries to   : /home/frozen-wow/SevernaDze/lib
* Install configs to     : /home/frozen-wow/SevernaDze/etc
 
* Build world/auth       : Yes (default)
* Build with scripts     : Yes (default)
* 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)
* 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 incomplete, errors occurred!
 

 

Help please, before a 1-2 month on this linux debian 7.5 i do the Core without error and now when you update on 54 i got only errors idk how to fix it.

Share this post


Link to post
Share on other sites
First I want to apologize for using a translator, but my English is quite poor. 
 
At Trinity Core compile gives me the following error: 
 
/usr/bin/ld: no se puede encontrar -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec2085435913] Error 1
make[1]: se sale del directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
make: *** [cmTryCompileExec2085435913/fast] Error 2
 
Under the archive CMakeError.log
 
CMakeError.log
 

 

Determining if the pthread_create exist failed with the following output:

Change Dir: /TrinityCore/build/CMakeFiles/CMakeTmp
 
Run Build Command:/usr/bin/make "cmTryCompileExec2531903625/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2531903625.dir/build.make CMakeFiles/cmTryCompileExec2531903625.dir/build
make[1]: se ingresa al directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
/usr/bin/cmake -E cmake_progress_report /TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2531903625.dir/CheckSymbolExists.c.o
/usr/bin/cc   -std=gnu99 -msse2 -mfpmath=sse -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors    -o CMakeFiles/cmTryCompileExec2531903625.dir/CheckSymbolExists.c.o   -c /TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec2531903625
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2531903625.dir/link.txt --verbose=1
/usr/bin/cc   -std=gnu99 -msse2 -mfpmath=sse -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors     CMakeFiles/cmTryCompileExec2531903625.dir/CheckSymbolExists.c.o  -o cmTryCompileExec2531903625 -rdynamic 
CMakeFiles/cmTryCompileExec2531903625.dir/CheckSymbolExists.c.o: En la función `main':
CheckSymbolExists.c:(.text+0xa): referencia a `pthread_create' sin definir
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec2531903625] Error 1
make[1]: se sale del directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
make: *** [cmTryCompileExec2531903625/fast] Error 2
 
File /TrinityCore/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: /TrinityCore/build/CMakeFiles/CMakeTmp
 
Run Build Command:/usr/bin/make "cmTryCompileExec2085435913/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2085435913.dir/build.make CMakeFiles/cmTryCompileExec2085435913.dir/build
make[1]: se ingresa al directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
/usr/bin/cmake -E cmake_progress_report /TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2085435913.dir/CheckFunctionExists.c.o
/usr/bin/cc   -std=gnu99 -msse2 -mfpmath=sse -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec2085435913.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec2085435913
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2085435913.dir/link.txt --verbose=1
/usr/bin/cc   -std=gnu99 -msse2 -mfpmath=sse -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec2085435913.dir/CheckFunctionExists.c.o  -o cmTryCompileExec2085435913 -rdynamic -lpthreads 
/usr/bin/ld: no se puede encontrar -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec2085435913] Error 1
make[1]: se sale del directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
make: *** [cmTryCompileExec2085435913/fast] Error 2
 

 

Share this post


Link to post
Share on other sites

I hope this is in the right thread

"Compile or cmake problems"

it's what I have

 

I have all the requirements:

I've searched the net for the boost eerror, and there are thousads of post regarding it - little to no solutions.

The solutions they do give (including here) I have already done.

 

Eviroment vars set: YES.

boost installed to its own folder: Yes.

 

error produced by cmake:

 

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

Boost version: 1.55.0

Boost include path: J:/_boost

Could not find the following static Boost libraries:

boost_system
boost_thread
boost_program_options

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.

 

I been on pc's for sometime (and compiling wow servers for over 5yrs - first time with trinity - I hear trinity is pretty active vs mangos), never had issues like this. Just Express + DB's compile and your done. Trinity on the other hand, 3rd party apps.. makes things messy - too many cooks in the kitchen as they say.

 

Anyways. not sure what else to do,

Currently Enviroment var is set to BOOT_ROOT -> J:_boost

and yet cmake can only see some of the folder (as seen above)

 

 

I just changed everything over to c: (as per friend suggestion) and still fails with the above error.

So posting here, to see if I can get another suggestion, if not, i'll prob head back to mangos. I really want this to work, but sometimes things are just not meant to be

 

Share this post


Link to post
Share on other sites

 

Detected 32-bit platform

Using supplied MySQL sources

MSVC: Enabled large address awareness

MSVC: Enabled SSE2 support

MSVC: Overloaded standard names

MSVC: Disabled NON-SECURE warnings

MSVC: Disabled POSIX warnings

MSVC: Disabled generic compiletime warnings

Found OpenSSL library: optimized;C:/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib

Found OpenSSL headers: C:/OpenSSL-Win32/include

Boost version: 1.56.0

Found the following Boost libraries:

system

thread

program_options

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

* TrinityCore revision : 1d2313391f15 2014-08-16 21:55:00 +0200 (master branch)

* Install core to : C:/Program Files (x86)/TrinityCore

* Build world/auth : Yes (default)

* Build with scripts : Yes (default)

* Build map/vmap tools : No (default)

* Build core w/PCH : Yes (default)

* Build scripts w/PCH : Yes (default)

* Show compile-warnings : No (default)

* Use coreside debug : No (default)

* Use MySQL sourcetree : Yes (default)

* Use GIT revision hash : Yes

-- MySQL 5.5.9

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

CMake Error at src/server/scripts/CMakeLists.txt:148 (add_library):

Cannot find source file:

HEAD

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp

.hxx .in .txx

 

Not been updating my server in a long time; I've updated the source (with quite a lot of conflicts), installed and configured Boost and started Cmake...but this error keeps popping up.

Share this post


Link to post
Share on other sites

I won't bitch about Boost because everyone hates it.

 

However.

I get issue:

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

Boost version: 1.55.0

Boost include path: C:/local/boost_1_55_0

Could not find the following static Boost libraries:

boost_system
boost_thread
boost_program_options

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.

 

 

Why?  I don't know, I made boost_root a system var to the path

I even make a boost_librarydir and set it to c:localboost_1_55_0libs

No work. =[

Share this post


Link to post
Share on other sites

You should not set it to the boost subdirectories. But the installation folder itself. At least for the root path

And download 32 bit boost if you have 64 now.

Share this post


Link to post
Share on other sites

You should not set it to the boost subdirectories. But the installation folder itself. At least for the root path

And download 32 bit boost if you have 64 now.

How is it you have the solution to all of my problems?

Share this post


Link to post
Share on other sites

Hello everyone,

 

I have this problem when Linking CXX with make in src/server/worldserver:

/usr/bin/ld: failed to set dynamic section sizes: Memory exhausted

make[2]: *** [src/server/worldserver/worldserver] Erreur 1
make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Erreur 2
make: *** [all] Erreur 2

 

I do make to another first folder authserver, collison, game, scripts, and shared but i don't have this problem...

 

I search on google and i find http://forums.mozillazine.org/viewtopic.php?f=42&t=2750117 but that can't solve my problem...

 

I have a serveur but I want to develop on my local.

 

On local I have 4gb on physics ram and 4gb on swap.

 

When do linking the make process memory demand up to 3,8gb (2g on physics and rest on swap) and crash with error: Memory exhausted...

 

Please help me :)!

Edited by theludovyc

Share this post


Link to post
Share on other sites

Why?

 

I lost two days now to resolve this problem!

 

I try modulary, so I use submake in subdirectory

 

I try to use make LC_ALL=C for more allocated memory

 

I try to create custom group to use swap and I have the same problem!

 

So why is it useless?

 

Sorry if i am nervous but i don't see the solution now, and i don't like this...

Share this post


Link to post
Share on other sites

Ok I add more informations in my first post.

 

I have a serveur but I want to develop on my local.

 

On local I have 4gb on physics ram and 4gb on swap.

 

When do linking the make process memory demand up to 3,8gb (2g on physics and rest on swap) and crash with error: Memory exhausted...

Share this post


Link to post
Share on other sites

Requirements

Platform: Linux, Windows or Mac

Processor with SSE2 support

ACE ≥ 5.8.3 (included for Windows)

MySQL ≥ 5.1.0 (included for Windows)

CMake ≥ 2.8.11.2 / 2.8.9 (Windows / Linux)

OpenSSL ≥ 1.0.0

GCC ≥ 4.7.2 (Linux only)

MS Visual Studio ≥ 12 (2013) (Windows only)

"MS Visual Studio ≥ 12 (2013) (Windows only)"

 

Most people ether cant afford to go past xp/vista  so there highest MSVS is 2010

 

In other words this "MS Visual Studio ≥ 12 (2013) (Windows only)" should be saying this "MS Visual Studio ≥ 12 (2013) (Windows 7/8)"

 

Windows Only would be considered MSVS 2010 guys should really do your homework as most server machines run better off of xp/vist and MSVS 2010 what your doing is forcing an upgrade.

 

And no i well not turn off my ad blockers because asking such a thing is considered against the law in 7 Continents.

Share this post


Link to post
Share on other sites

Windows Only would be considered MSVS 2010 guys should really do your homework as most server machines run better off of xp/vist and MSVS 2010 what your doing is forcing an upgrade.

Sorry, but we don't go to stay on VS2010 because core devs wanna use lambas and other c++11 only features, if you can't afford W7/8 machine, install Linux, but we don't go to stay on a 13 years old unsuported OS, and if next year VS2014 is released and GCC 4.9 becomes final and we see c++14 can help us we will force again compiler minimum requirement ussing c++14 only features, if you don't wanna have gunship battle, stay on VS2010 or switch to mangos.

Ah, btw, "as most server machines run better off of xp/vist and MSVS 2010" you can also switch into linux and there it will run even better.

  • Upvote 1

Share this post


Link to post
Share on other sites

Sorry, but we don't go to stay on VS2010 because core devs wanna use lambas and other c++11 only features, if you can't afford W7/8 machine, install Linux, but we don't go to stay on a 13 years old unsuported OS, and if next year VS2014 is released and GCC 4.9 becomes final and we see c++14 can help us we will force again compiler minimum requirement ussing c++14 only features, if you don't wanna have gunship battle, stay on VS2010 or switch to mangos.

Ah, btw, "as most server machines run better off of xp/vist and MSVS 2010" you can also switch into linux and there it will run even better.

 

I'm so sorry that you have to deal with people that think XP/Vista should be used to run servers, ever.

  • Upvote 1

Share this post


Link to post
Share on other sites

linux would be the best choice but btw, anyone who knows a little bit about windows server architecture, would tell that win 2008 server + are 100 times better then old versions of win server or winxp) btw. winxp is not even a server OS, shure, trinity is working but the os is "outdated crap"
sorry but its the true!

Share this post


Link to post
Share on other sites

Been compiling no problem for awhile now. I did a pull of the master about a half hour ago (last pull was 2 days ago, no problems) and ~100 files appeared to be updated. When I run cmake I get an SQL error I have never seen before. Nothing in my setup has changed.

 

 

Detected 64-bit platform

MSVC: 64-bit platform, enforced -D_WIN64 parameter

MSVC: Enabled extended object-support for debug-compiles

MSVC: Overloaded standard names

MSVC: Disabled NON-SECURE warnings

MSVC: Disabled POSIX warnings

MSVC: Disabled generic compiletime warnings

Found OpenSSL library: optimized;P:/OpenSSL-Win64/lib/VC/ssleay32MD.lib;P:/OpenSSL-Win64/lib/VC/libeay32MD.lib;debug;P:/OpenSSL-Win64/lib/VC/ssleay32MDd.lib;P:/OpenSSL-Win64/lib/VC/libeay32MDd.lib

Found OpenSSL headers: P:/OpenSSL-Win64/include

Boost version: 1.55.0

Found the following Boost libraries:

system

thread

program_options

CMake Error at cmake/macros/FindMySQL.cmake:175 (message):
Could not find the MySQL libraries! Please install the development
libraries and headers
Call Stack (most recent call first):
CMakeLists.txt:61 (find_package)

 

Configuring incomplete, errors occurred!

See also "D:/Trinity Core/Build/CMakeFiles/CMakeOutput.log".

See also "D:/Trinity Core/Build/CMakeFiles/CMakeError.log".

 

 

Determining if files pthread.h exist failed with the following output:
Change Dir: D:/Trinity Core/Build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTryCompileExec1764667153.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft ® Build Engine version 12.0.21005.1

[Microsoft .NET Framework, version 4.0.30319.18444]

Copyright © Microsoft Corporation. All rights reserved.



Build started 8/26/2014 2:56:46 PM.

Project "D:Trinity CoreBuildCMakeFilesCMakeTmpcmTryCompileExec1764667153.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTryCompileExec1764667153.dirDebug".

  Creating directory "D:Trinity CoreBuildCMakeFilesCMakeTmpDebug".

  Creating directory "cmTryCompileExec1764667153.dirDebugcmTryCom.97E3F1F5.tlog".

InitializeBuildStatus:

  Creating "cmTryCompileExec1764667153.dirDebugcmTryCom.97E3F1F5.tlogunsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:Program Files (x86)Microsoft Visual Studio 12.0VCbinx86_amd64CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1764667153.dirDebug" /Fd"cmTryCompileExec1764667153.dirDebugvc120.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue CheckIncludeFiles.c

  Microsoft ® C/C++ Optimizing Compiler Version 18.00.21005.1 for x64

  Copyright © Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1764667153.dirDebug" /Fd"cmTryCompileExec1764667153.dirDebugvc120.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue CheckIncludeFiles.c

 

  CheckIncludeFiles.c

CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:Trinity CoreBuildCMakeFilesCMakeTmpcmTryCompileExec1764667153.vcxproj]

Done Building Project "D:Trinity CoreBuildCMakeFilesCMakeTmpcmTryCompileExec1764667153.vcxproj" (default targets) -- FAILED.



Build FAILED.



"D:Trinity CoreBuildCMakeFilesCMakeTmpcmTryCompileExec1764667153.vcxproj" (default target) (1) ->

(ClCompile target) ->

  CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:Trinity CoreBuildCMakeFilesCMakeTmpcmTryCompileExec1764667153.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.30


Source:
/* */
#include <pthread.h>


int main(){return 0;}

Edited by llars

Share this post


Link to post
Share on other sites

MySQL sources have been removed from the repository.

 

Like OpenSSL, you need to set MYSQL_LIBRARY and MYSQL_INCLUDE_DIR to where you have mysql installed.

 

In my case, it's LIB=D:webservermysqlliblibmysqld.lib and INCLUDE_DIR=D:webservermysqlinclude

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 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
    • By Cantte
      Well ... today I was about to compile the trinity core version for WoW 4.3.4 of this repository "https://gitlab.com/trinitycore/TrinityCore_434". Download them and when you use the cmake, I generate the solution correctly. When I began to compile this went well until I got to the last step, when I was 90% practically.
      This was the error:
      Main.obj: error LNK2019: external symbol SSLeay_version unresolved referred to in the function "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> :: operator () (void) const" (?? R <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> @@ QEBAXXZ)
      25> scripts.lib (cs_server.obj): error LNK2001: external symbol SSLeay_version unresolved
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_num external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_value external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_pop_free external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: outer symbol OPENSSL_add_all_algorithms_noconf unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_load_error_strings unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved external SSLv23_method symbol referenced in the ssl_auth_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_library_init unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_state unresolved referenced in the tcp_connect function
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_num_locks unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_set_locking_callback unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_numeric unresolved referred to in the function "void __cdecl threadIdCallback (struct crypto_threadid_st *)" (? ThreadIdCallback @@ YAXPEAUcrypto_threadid_st @@@ Z)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_callback unresolved referenced in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (ARC4.obj): error LNK2019: external symbol EVP_CIPHER_CTX_init unresolved referred to in the function "public: __cdecl ARC4 :: ARC4 (unsigned int)" (?? 0ARC4 @@ QEAA @ I @ Z)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_init external symbol referenced in the "struct hmac_ctx_st * __cdecl HMAC_CTX_new (void)" function (? HMAC_CTX_new @@ YAPEAUhmac_ctx_st @@ XZ)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_cleanup external symbol referenced in the "void __cdecl HMAC_CTX_free (struct hmac_ctx_st *)" function (? HMAC_CTX_free @@ YAXPEAUhmac_ctx_st @@@ Z)
      25> E: \ Server-Wow \ TrinityCore_434-4.3.4 \ Build \ bin \ RelWithDebInfo \ worldserver.exe: fatal error LNK1120: 16 external unresolved
      25> Compilation of the "worldserver.vcxproj" project completed - ERROR.
      26> ------ Compile operation started: project: ALL_BUILD, configuration: RelWithDebInfo x64 ------
      26> Building Custom Rule E: /Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26> CMake does not need to re-run because E: /Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compile: 23 correct, 3 incorrect, 0 updated, 0 omitted ==========
       
      And this is the original error in Spanish (since I use the compiler in Spanish)
       
      Main.obj : error LNK2019: símbolo externo SSLeay_version sin resolver al que se hace referencia en la función "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7>::operator()(void)const " (??R<lambda_4a2d53ce610f18dba0b4b4d6532c13a7>@@QEBAXXZ)
      25>scripts.lib(cs_server.obj) : error LNK2001: símbolo externo SSLeay_version sin resolver
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_num sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_value sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_pop_free sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo OPENSSL_add_all_algorithms_noconf sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_load_error_strings sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSLv23_method sin resolver al que se hace referencia en la función ssl_auth_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_library_init sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_state sin resolver al que se hace referencia en la función tcp_connect
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_num_locks sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_set_locking_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_numeric sin resolver al que se hace referencia en la función "void __cdecl threadIdCallback(struct crypto_threadid_st *)" ([email protected]@[email protected]@@Z)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(ARC4.obj) : error LNK2019: símbolo externo EVP_CIPHER_CTX_init sin resolver al que se hace referencia en la función "public: __cdecl ARC4::ARC4(unsigned int)" ([email protected]@[email protected]@Z)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_init sin resolver al que se hace referencia en la función "struct hmac_ctx_st * __cdecl HMAC_CTX_new(void)" ([email protected]@[email protected]@XZ)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_cleanup sin resolver al que se hace referencia en la función "void __cdecl HMAC_CTX_free(struct hmac_ctx_st *)" ([email protected]@[email protected]@@Z)
      25>E:\Server-Wow\TrinityCore_434-4.3.4\Build\bin\RelWithDebInfo\worldserver.exe : fatal error LNK1120: 16 externos sin resolver
      25>Compilación del proyecto "worldserver.vcxproj" terminada -- ERROR.
      26>------ Operación Compilar iniciada: proyecto: ALL_BUILD, configuración: RelWithDebInfo x64 ------
      26>Building Custom Rule E:/Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26>CMake does not need to re-run because E:/Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compilar: 23 correctos, 3 incorrectos, 0 actualizados, 0 omitidos ==========
       
       
      Thanks.
×
×
  • Create New...