Jump to content
TrinityCore

Recommended Posts

Edit By Aokromes:

If you can't compile check that you meet requirements:

https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130068/Requirements

UVJHm52.png

If you get SSE2 error use:

-DCMAKE_C_FLAGS="-msse -msse2 -msse3"
-DCMAKE_CXX_FLAGS="-msse -msse2 -msse3"

If you get mysql libs error you miss MySQL development files
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.
Extract the files to a known location, e.g, C:/mysql_libs
https://github.com/TrinityCore/TrinityCore/releases/download/TDB335.55/mysql_lib.zip

If you get error 0xc000007b at start is that you are mixing 32 and 64 bits libraries.

Share this post


Link to post
Share on other sites

Hi, the file where it builds this information from is automated through CMake, and is as such something that is my responsibility (at least sorting out issues with the buildsystem itself).

Please try this, and report back to us regarding this - I dont't have a possibility to test XCode myself, so your help will be appreciated.


diff --git a/cmake/compiler/xcode/settings.cmake b/cmake/compiler/xcode/settings.cmake
index cd33fc1..ad3c58e 100644
--- a/cmake/compiler/xcode/settings.cmake
+++ b/cmake/compiler/xcode/settings.cmake
@@ -1,2 +1,2 @@
# Set build-directive (used in core to tell which buildtype we used)
-add_definitions(-D_BUILD_DIRECTIVE="$(CONFIGURATION)")
+add_definitions(-D_BUILD_DIRECTIVE=\\"$(CONFIGURATION)\\")
[/code]

Share this post


Link to post
Share on other sites

Hi, the file where it builds this information from is automated through CMake, and is as such something that is my responsibility (at least sorting out issues with the buildsystem itself).

Please try this, and report back to us regarding this - I dont't have a possibility to test XCode myself, so your help will be appreciated.

diff --git a/cmake/compiler/xcode/settings.cmake b/cmake/compiler/xcode/settings.cmake

index cd33fc1..ad3c58e 100644

--- a/cmake/compiler/xcode/settings.cmake

+++ b/cmake/compiler/xcode/settings.cmake

@@ -1,2 +1,2 @@

 # Set build-directive (used in core to tell which buildtype we used)

-add_definitions(-D_BUILD_DIRECTIVE="$(CONFIGURATION)")

+add_definitions(-D_BUILD_DIRECTIVE=\\"$(CONFIGURATION)\\")

Thanks for your immediate responsibility !

But more specifically, how should I apply this ?

Share this post


Link to post
Share on other sites

Either copy and save as a patch/diff (example : fix.diff ) , and then do

git apply nameofthepatchfile

or, simply open cmake/compiler/xcode/settings.cmake and adjust the file according to the above (it's just one line anyway)

Share this post


Link to post
Share on other sites

I CMade it and opened the project (CMake had no errors) but the XCode popped: "Project "<Directory_of_the_project>" cannot be opened because the project file cannot be parsed"...

I changed the "TrinityCore/cmake/compiler/xcode/settings.cmake"

from

# Set build-directive (used in core to tell which buildtype we used)

add_definitions(-D_BUILD_DIRECTIVE="$(CONFIGURATION)")

to
# Set build-directive (used in core to tell which buildtype we used)

add_definitions(-D_BUILD_DIRECTIVE=\\"$(CONFIGURATION)\\")

Was that right?

*EDIT:

And when I used git it said: "Fatal: corrupt patch at line 8"

Edited by Joy

Share this post


Link to post
Share on other sites

That was right, and I've already pushed the changeset to the main repo - had someone else test it, and it worked there. Feel free to re-test.

Share this post


Link to post
Share on other sites

Sorry, but it still says "Project "<Directory_of_the_project>" cannot be opened because the project file cannot be parsed"...

What am I doing wrong ?

I pull the newest source, Terminal cd-in and mkdir build

then I cd build, and cmake ../ -GXcode with/without the additional lines from the guide.

Still generates that error..

Share this post


Link to post
Share on other sites

Try to replace

add_definitions(-D_BUILD_DIRECTIVE=\\"$(CONFIGURATION)\\")
with
add_definitions(-D_BUILD_DIRECTIVE=$(CONFIGURATION))

Share this post


Link to post
Share on other sites

It goes back to the same thing, no errors until I build the solution from XCode..

Screenshot Here

I wander how the other guys get it to work, different XCode preference setting or something else ?

Edited by Joy

Share this post


Link to post
Share on other sites

Hello the Trinity Core community, this is my first post, please excuse my lack of knowledge on things that I might be regardless of.

I'm trying to compile latest ver [http://code.google.com/p/trinitycore/downloads/detail?name=Trinitycore%20b10866%20for%20335a.rar&can=2&q=] [build 10866] i done everything like is said in : http://www.trinitycore.info/w/How-to:Linux

And when i get to point:

cmake ../trinitycore/ -DPREFIX=/home/username/server -DWITH_SQL=1

make

make install

compilation crashes on [make]

Scanning dependencies of target game

[ 11%] Building CXX object src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o


c++: Internal error: Segmentation fault (program cc1plus)

Please submit a full bug report.

See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

make[2]: *** [src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o] Error 1

make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2

make: *** [all] Error 2

Not so long ago i used same instructions on same machine with older build of core and there where no problems :/

Any idea what i done wrong?

ACE is installed systemwide

ale apt-get install commads gaved no errors so it is ok..

Edited by Luniak

Share this post


Link to post
Share on other sites

Hey, ive been using trinitycore before and i love it, except that i now dont know how to compile it, it always fails,

I use windows 7 ultimate x64

the programs are also Win64 and i have tried following all guides ive found but, it doesnt work!

I formated my PC, did it all over again, restarted, retried, doesnt work, been searching everywhere, can someone help me?

__________________________________________________ ___

Check for working C compiler using: Visual Studio 10 Win64

Check for working C compiler using: Visual Studio 10 Win64 -- broken

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):

The C compiler "cl" is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/Users/AH/Desktop/Build/CMakeFiles/CMakeTmp

Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30 319\MSBuild.exe

cmTryCompileExec.vcxproj /p:Configuration=Debug

Microsoft ® Build Engine Version 4.0.30319.1

[Microsoft .NET Framework, Version 4.0.30319.1]

Copyright © Microsoft Corporation 2007. All rights reserved.

Build started 2010-12-21 20:45:18.

Project

"C:\Users\AH\Desktop\Build\CMakeFiles\CMakeTmp \cmT ryCompileExec.vcxproj"

on node 1 (default targets).

C:\Program Files

(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.Inv alidPlatform.Targets(23,7):

error MSB8007: The Platform for project 'cmTryCompileExec.vcxproj' is

invalid. Platform='x64'. You may be seeing this message because you are

trying to build a project without a solution file, and have specified a

non-default Platform that doesn't exist for this project.

[C:\Users\AH\Desktop\Build\CMakeFiles\CMakeTmp\cmTr yCompileExec.vcxproj]

Done Building Project

"C:\Users\AH\Desktop\Build\CMakeFiles\CMakeTmp \cmT ryCompileExec.vcxproj"

(default targets) -- FAILED.

Build FAILED.

"C:\Users\AH\Desktop\Build\CMakeFiles\CMakeTmp \cmT ryCompileExec.vcxproj"

(default target) (1) ->

(InvalidPlatformError target) ->

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.Inv alidPlatform.Targets(23,7): error MSB8007: The Platform for project 'cmTryCompileExec.vcxproj' is invalid. Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project. [C:\Users\AH\Desktop\Build\CMakeFiles\CMakeTmp\cmTr yCompileExec.vcxproj]

0 Warning(s)

1 Error(s)

Time Elapsed 00:00:00.94

CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:12 (project)

Configuring incomplete, errors occurred!

Share this post


Link to post
Share on other sites

Try using Visual Stuio 2008 instead of 2010 ?

It failed at cmake which tried to use a C compile then failed..

Share this post


Link to post
Share on other sites

Try:

change the file in <your_trinitycore_directory/cmake/compiler/xcode/settings.cmake>

from whatever it was to

# Set build-directive (used in core to tell which buildtype we used)

add_definitions(-D_BUILD_DIRECTIVE='"$(CONFIGURATION)"')

And LMAO did you copy the first line from my post ?

Share this post


Link to post
Share on other sites

I changed

the file <your_trinitycore_directory/cmake/compiler/xcode/settings.cmake>

from whatever it was to

# Set build-directive (used in core to tell which buildtype we used)

add_definitions(-D_BUILD_DIRECTIVE='"$(CONFIGURATION)"')

Then it went perfectly well until the XCode links....

11 errors came up and do not show me the lines:

Screenshot

Share this post


Link to post
Share on other sites

Sorry for my stupid question but... what LMAO means?

Still same error after that modification

Maybe i have some old ver? as said in 1 post i downloaded it from google code.

I just tryed to compile older ver and still it brakes in same moment :/ so it looks problem is not in core but in compiler :/ any idea?

Edited by Luniak

Share this post


Link to post
Share on other sites

Ok... i updated all packets on server and rebuild ACE and server core is compiling but now i have problem:

virtual memory exhausted: Cannot allocate memory

make[2]: *** [src/server/game/CMakeFiles/game.dir/Entities/Player/Player.cpp.o] Error 1

make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2

make: *** [all] Error 2

i tryed to limmit virtual memory using:

ulimit

command, but nothing change... any idea?

Share this post


Link to post
Share on other sites

Hello,

If the area is wrong please move.

I had an error when compiling.

Here is the compile excerpt:

[email protected]:/home/trinitycore/build# make -j 4 && make install

Scanning dependencies of target jemalloc

Scanning dependencies of target g3dlib

Scanning dependencies of target gsoap

Scanning dependencies of target revision.h


-- WARNING - No revision-information found

[  0%] Built target revision.h

[  0%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o

Scanning dependencies of target shared_pch_dephelp

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o

[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o

[  1%] Building CXX object src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o

[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk.c.o

Linking CXX static library libshared_pch_dephelp.a

[  1%] Built target shared_pch_dephelp

[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_dss.c.o

[  1%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_mmap.c.o

[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_swap.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o

[  3%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o

[  3%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o

[  4%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o

[  4%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o

[  4%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/huge.c.o

/home/trinitycore/trinitycore/dep/jemalloc/src/huge.c: In function 'huge_ralloc':

/home/trinitycore/trinitycore/dep/jemalloc/src/huge.c:235: error: 'MREMAP_FIXED' undeclared (first use in this function)

/home/trinitycore/trinitycore/dep/jemalloc/src/huge.c:235: error: (Each undeclared identifier is reported only once

/home/trinitycore/trinitycore/dep/jemalloc/src/huge.c:235: error: for each function it appears in.)

/home/trinitycore/trinitycore/dep/jemalloc/src/huge.c:236: error: too many arguments to function 'mremap'

make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/huge.c.o] Error 1

make[1]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o

[  4%] [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o

Linking CXX static library libgsoap.a

[  6%] Built target gsoap

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o

Linking CXX static library libg3dlib.a

[  8%] Built target g3dlib

make: *** [all] Error 2

Please help me fast.

Greets,

BabylonHD

Share this post


Link to post
Share on other sites

Hi,

i have a Linux Debian 4.0 Plesk 8.4 64 Bit vServer machine...

cmake was successful.

This cmake Code i have use:

cmake ../TrinityCore -DPREFIX=/home/TrinityCore/build

in the build directory.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • 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.
    • By Fyury
      When I run "worldserver.exe" it just crashes and I get this:
      TrinityCore rev. 084da48ba15a 2018-05-26 18:48:09 +0200 (master branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon)
      <Ctrl-C> to stop.
       ______                       __
      /\__  _\       __          __/\ \__
      \/_/\ \/ _ __ /\_\    ___ /\_\ \, _\  __  __
         \ \ \/\`'__\/\ \ /' _ `\/\ \ \ \/ /\ \/\ \
          \ \ \ \ \/ \ \ \/\ \/\ \ \ \ \ \_\ \ \_\ \
           \ \_\ \_\  \ \_\ \_\ \_\ \_\ \__\\/`____ \
            \/_/\/_/   \/_/\/_/\/_/\/_/\/__/ `/___/> \
                                       C O R E  /\___/
      http://TrinityCore.org                    \/__/
      Using configuration file C:/WoW-Server/bin/RelWithDebInfo/worldserver.conf.
      Using SSL version: OpenSSL 1.0.1e 11 Feb 2013 (library: OpenSSL 1.0.1e 11 Feb 2013)
      Using Boost version: 1.65.1
      Updating Auth database...
      >> Auth database is up-to-date! Containing 6 new and 115 archived updates.
      Updating Character database...
      >> Character database is up-to-date! Containing 3 new and 77 archived updates.
      Updating World database...
      >> World database is up-to-date! Containing 193 new and 2262 archived updates.
      Updating Hotfixes database...
      >> Hotfixes database is up-to-date! Containing 18 new and 130 archived updates.
      Realm running as realm ID 1
      Using World DB: TDB 735.00
      Using enUS DBC Locale
      Will clear `logs` table of entries older than 1209600 seconds every 10 minutes.
      Using DataDir ./
      WORLD: MMap data directory is: ./mmaps
      VMap support included. LineOfSight: 1, getHeight: 1, indoorCheck: 1
      VMap data directory is: ./vmaps
      Missing name Guild.SaveInterval in config file C:/WoW-Server/bin/RelWithDebInfo/worldserver.conf, add "Guild.SaveInterval = 15" to this file
      Initialize PlayerDump...
      >> Initialized 370 PlayerDump ColumnDefinitions in 551 ms.
      Loading Trinity strings...
      >> Loaded 965 trinity strings in 32 ms
      Initialize data stores...
      Some required *.db2 files (2 from 230) not found or not compatible:
      ItemSearchName.db2
      WorldSafeLocs.db2
       
       
      ItemSearName.db2 & WorldSafeLocs.db2 dont exist but how can I get them
      When I start "mapextractor.exe" this happens:
       
      Unable to open file DBFilesClient\ItemSearchName.db2 in the archive for locale enUS: FILE_NOT_FOUND
      Unable to open file DBFilesClient\Unittest.db2 in the archive for locale enUS: FILE_NOT_FOUND
      Unable to open file DBFilesClient\WorldSafeLocs.db2 in the archive for locale enUS: FILE_NOT_FOUND
       
×