Jump to content
TrinityCore

Recommended Posts

Hello trinity,

I have read your wiki,and I have all the programs on the list needed,I use VC 2008 due to my 64 bit,but I havn't even gotten to the need of it yet,

Each time I open Cmake 2.8.4 and do enter the builds/source I get this error,

CMake Error: The source directory "C:/tc" does not appear to contain CMakeLists.txt.

Specify --help for usage, or press the help button on the CMake GUI.

I don't know if I make a file or what,then I tried to improvise and make them in the folder,and it gave me

the same exact error.

So then I was like okay,Maybe I need to use the Git Extensions Step,So thats what I do

c:\Program Files (x86)\Git\bin\git.exe clone -v "https://github.com/TrinityCore/TrinityCore.git" "C:/Trinity/TrinityCore"

error: error setting certificate verify locations:

CAfile: /bin/curl-ca-bundle.crt

CApath: none

while accessing https://github.com/TrinityCore/TrinityCore.git/info/refs

fatal: HTTP request failed

Initialized empty Git repository in C:/Trinity/TrinityCore/.git/

Done

Now I am CLUELESS on what to do next,Can I get some support or some sort of a tip to help me fix this error?

Thank you for reading my post.

Share this post


Link to post
Share on other sites

create 2 dirs,

ie:

c/source //pull source from git to here (usualyl git makes a /trinitycore/ dir, if it happened, move everything out from it to c/source)

so you should have 
c/source/.git
c/source/cmake
c/source/src
c/source/sql
etc, and some files like CMakeLists.txt, .gitignore, etc[/code]

create:

[u]c/build[/u] //leave empty

run cmake gui

fill in / browse the two top fields:

"where is the source code? " [u]c/source[/u]

"where to build? " [u]c/build[/u]

press Configure, check for anny error, if none, click generate, tadam, you should have a VS project file in the build dir

Share this post


Link to post
Share on other sites

Wait are you telling me to make those or how to fix the GIT extensions?

actually the easiest way to do it, create folder, right click on folder, select "Git bash here"

then type git clone https://github.com/TrinityCore/TrinityCore.git

that's it... no errors. (running this on Windows 7 Ultimate x64 so I know it works).

-Thirand

Edited by thirand

Share this post


Link to post
Share on other sites

ok, sorry to revive a dead topic, but since i never updated what i found out about this particular error and have also figured a workaround i really ought to post it...

it turns out that VC2005 has a limitation of about 90 directories you can include via the /I options. i assume that orkrak found out that VC2008 has the same issue.

the workaround is to move files in the src directory around and edit the cmakelists.txt files so that there are less directories that the '/I' will actually include.

ie heres the include options from cmakelists.txt from the worldserver directory from the base source.

include_directories(

  ${CMAKE_BINARY_DIR}

  ${CMAKE_SOURCE_DIR}/dep/gsoap

  ${CMAKE_SOURCE_DIR}/dep/sockets/include

  ${CMAKE_SOURCE_DIR}/dep/SFMT

  ${CMAKE_SOURCE_DIR}/dep/mersennetwister

  ${CMAKE_SOURCE_DIR}/src/server/collision

  ${CMAKE_SOURCE_DIR}/src/server/collision/Management

  ${CMAKE_SOURCE_DIR}/src/server/shared

  ${CMAKE_SOURCE_DIR}/src/server/shared/Configuration

  ${CMAKE_SOURCE_DIR}/src/server/shared/Cryptography

  ${CMAKE_SOURCE_DIR}/src/server/shared/Cryptography/Authentication

  ${CMAKE_SOURCE_DIR}/src/server/shared/Database

  ${CMAKE_SOURCE_DIR}/src/server/shared/DataStores

  ${CMAKE_SOURCE_DIR}/src/server/shared/Debugging

  ${CMAKE_SOURCE_DIR}/src/server/shared/Dynamic/CountedReference

  ${CMAKE_SOURCE_DIR}/src/server/shared/Dynamic/LinkedReference

  ${CMAKE_SOURCE_DIR}/src/server/shared/Dynamic

  ${CMAKE_SOURCE_DIR}/src/server/shared/Logging

  ${CMAKE_SOURCE_DIR}/src/server/shared/Packets

  ${CMAKE_SOURCE_DIR}/src/server/shared/Policies

  ${CMAKE_SOURCE_DIR}/src/server/shared/Threading

  ${CMAKE_SOURCE_DIR}/src/server/shared/Utilities

  ${CMAKE_SOURCE_DIR}/src/server/game

  ${CMAKE_SOURCE_DIR}/src/server/game/Accounts

  ${CMAKE_SOURCE_DIR}/src/server/game/Achievements

  ${CMAKE_SOURCE_DIR}/src/server/game/Addons

  ${CMAKE_SOURCE_DIR}/src/server/game/AI

  ${CMAKE_SOURCE_DIR}/src/server/game/AI/CoreAI

  ${CMAKE_SOURCE_DIR}/src/server/game/AI/EventAI

  ${CMAKE_SOURCE_DIR}/src/server/game/AI/ScriptedAI

  ${CMAKE_SOURCE_DIR}/src/server/game/AI/SmartScripts

  ${CMAKE_SOURCE_DIR}/src/server/game/AuctionHouse

  ${CMAKE_SOURCE_DIR}/src/server/game/Battlegrounds

  ${CMAKE_SOURCE_DIR}/src/server/game/Battlegrounds/Zones

  ${CMAKE_SOURCE_DIR}/src/server/game/Calendar

  ${CMAKE_SOURCE_DIR}/src/server/game/Chat

  ${CMAKE_SOURCE_DIR}/src/server/game/Chat/Channels

  ${CMAKE_SOURCE_DIR}/src/server/game/Chat/Commands

  ${CMAKE_SOURCE_DIR}/src/server/game/Combat

  ${CMAKE_SOURCE_DIR}/src/server/game/Conditions

  ${CMAKE_SOURCE_DIR}/src/server/game/DataStores

  ${CMAKE_SOURCE_DIR}/src/server/game/DungeonFinding

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Creature

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Corpse

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/DynamicObject

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/GameObject

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Item

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Item/Container

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object/Updates

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Pet

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Player

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Totem

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Unit

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Vehicle

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Transport

  ${CMAKE_SOURCE_DIR}/src/server/game/Events

  ${CMAKE_SOURCE_DIR}/src/server/game/Globals

  ${CMAKE_SOURCE_DIR}/src/server/game/Grids/Cells

  ${CMAKE_SOURCE_DIR}/src/server/game/Grids/Notifiers

  ${CMAKE_SOURCE_DIR}/src/server/game/Grids

  ${CMAKE_SOURCE_DIR}/src/server/game/Groups

  ${CMAKE_SOURCE_DIR}/src/server/game/Guilds

  ${CMAKE_SOURCE_DIR}/src/server/game/Instances

  ${CMAKE_SOURCE_DIR}/src/server/game/Loot

  ${CMAKE_SOURCE_DIR}/src/server/game/Mails

  ${CMAKE_SOURCE_DIR}/src/server/game/Maps

  ${CMAKE_SOURCE_DIR}/src/server/game/Miscellaneous

  ${CMAKE_SOURCE_DIR}/src/server/game/Movement

  ${CMAKE_SOURCE_DIR}/src/server/game/Movement/MovementGenerators

  ${CMAKE_SOURCE_DIR}/src/server/game/Movement/Waypoints

  ${CMAKE_SOURCE_DIR}/src/server/game/OutdoorPvP

  ${CMAKE_SOURCE_DIR}/src/server/game/Pools

  ${CMAKE_SOURCE_DIR}/src/server/game/PrecompiledHeaders

  ${CMAKE_SOURCE_DIR}/src/server/game/Quests

  ${CMAKE_SOURCE_DIR}/src/server/game/Reputation

  ${CMAKE_SOURCE_DIR}/src/server/game/Scripting

  ${CMAKE_SOURCE_DIR}/src/server/game/Server/Protocol

  ${CMAKE_SOURCE_DIR}/src/server/game/Server/Protocol/Handlers

  ${CMAKE_SOURCE_DIR}/src/server/game/Server

  ${CMAKE_SOURCE_DIR}/src/server/game/Skills

  ${CMAKE_SOURCE_DIR}/src/server/game/Spells

  ${CMAKE_SOURCE_DIR}/src/server/game/Spells/Auras

  ${CMAKE_SOURCE_DIR}/src/server/game/Tools

  ${CMAKE_SOURCE_DIR}/src/server/game/Weather

  ${CMAKE_SOURCE_DIR}/src/server/game/World

  ${CMAKE_SOURCE_DIR}/src/server/authserver/Server

  ${CMAKE_CURRENT_SOURCE_DIR}

  ${CMAKE_CURRENT_SOURCE_DIR}/CommandLine

  ${CMAKE_CURRENT_SOURCE_DIR}/RemoteAccess

  ${CMAKE_CURRENT_SOURCE_DIR}/TCSoap

  ${CMAKE_CURRENT_SOURCE_DIR}/WorldThread

  ${ACE_INCLUDE_DIR}

  ${MYSQL_INCLUDE_DIR}

  ${OPENSSL_INCLUDE_DIR}

)

what i did was change the cmakelists.txt like so...
include_directories(

  ${CMAKE_BINARY_DIR}

  ${CMAKE_SOURCE_DIR}/dep/gsoap

  ${CMAKE_SOURCE_DIR}/dep/SFMT

  ${CMAKE_SOURCE_DIR}/dep/mersennetwister

  ${CMAKE_SOURCE_DIR}/src/server/collision

  ${CMAKE_SOURCE_DIR}/src/server/collision/Management

  ${CMAKE_SOURCE_DIR}/src/server/shared

  ${CMAKE_SOURCE_DIR}/src/server/shared/Configuration

  ${CMAKE_SOURCE_DIR}/src/server/shared/Cryptography

  ${CMAKE_SOURCE_DIR}/src/server/shared/Cryptography/Authentication

  ${CMAKE_SOURCE_DIR}/src/server/shared/Database

  ${CMAKE_SOURCE_DIR}/src/server/shared/DataStores

  ${CMAKE_SOURCE_DIR}/src/server/shared/Debugging

  ${CMAKE_SOURCE_DIR}/src/server/shared/Dynamic/LinkedReference

  ${CMAKE_SOURCE_DIR}/src/server/shared/Dynamic

  ${CMAKE_SOURCE_DIR}/src/server/shared/Logging

  ${CMAKE_SOURCE_DIR}/src/server/shared/Packets

  ${CMAKE_SOURCE_DIR}/src/server/shared/Policies

  ${CMAKE_SOURCE_DIR}/src/server/shared/Threading

  ${CMAKE_SOURCE_DIR}/src/server/shared/Utilities

  ${CMAKE_SOURCE_DIR}/src/server/game/Accounts

  ${CMAKE_SOURCE_DIR}/src/server/game/Achievements

  ${CMAKE_SOURCE_DIR}/src/server/game/Addons

  ${CMAKE_SOURCE_DIR}/src/server/game/AI                                //removed four entries after here from origional

  ${CMAKE_SOURCE_DIR}/src/server/game/AuctionHouse

  ${CMAKE_SOURCE_DIR}/src/server/game/Battlegrounds

  ${CMAKE_SOURCE_DIR}/src/server/game/Battlegrounds/Zones

  ${CMAKE_SOURCE_DIR}/src/server/game/Calendar

  ${CMAKE_SOURCE_DIR}/src/server/game/Chat

  ${CMAKE_SOURCE_DIR}/src/server/game/Chat/Channels

  ${CMAKE_SOURCE_DIR}/src/server/game/Chat/Commands

  ${CMAKE_SOURCE_DIR}/src/server/game/Combat

  ${CMAKE_SOURCE_DIR}/src/server/game/Conditions

  ${CMAKE_SOURCE_DIR}/src/server/game/DataStores

  ${CMAKE_SOURCE_DIR}/src/server/game/DungeonFinding

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Creature

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Corpse

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/DynamicObject

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/GameObject

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Item

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Item/Container

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object/Updates

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Pet

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Player

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Totem

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Unit

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Vehicle

  ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Transport

  ${CMAKE_SOURCE_DIR}/src/server/game/Events

  ${CMAKE_SOURCE_DIR}/src/server/game/Globals

  ${CMAKE_SOURCE_DIR}/src/server/game/Grids/Cells

  ${CMAKE_SOURCE_DIR}/src/server/game/Grids/Notifiers

  ${CMAKE_SOURCE_DIR}/src/server/game/Grids

  ${CMAKE_SOURCE_DIR}/src/server/game/Groups

  ${CMAKE_SOURCE_DIR}/src/server/game/Guilds

  ${CMAKE_SOURCE_DIR}/src/server/game/Instances

  ${CMAKE_SOURCE_DIR}/src/server/game/Loot

  ${CMAKE_SOURCE_DIR}/src/server/game/Mails

  ${CMAKE_SOURCE_DIR}/src/server/game/Maps

  ${CMAKE_SOURCE_DIR}/src/server/game/Miscellaneous

  ${CMAKE_SOURCE_DIR}/src/server/game/Movement

  ${CMAKE_SOURCE_DIR}/src/server/game/Movement/MovementGenerators

  ${CMAKE_SOURCE_DIR}/src/server/game/Movement/Waypoints

  ${CMAKE_SOURCE_DIR}/src/server/game/OutdoorPvP

  ${CMAKE_SOURCE_DIR}/src/server/game/Pools

  ${CMAKE_SOURCE_DIR}/src/server/game/PrecompiledHeaders

  ${CMAKE_SOURCE_DIR}/src/server/game/Quests

  ${CMAKE_SOURCE_DIR}/src/server/game/Reputation

  ${CMAKE_SOURCE_DIR}/src/server/game/Scripting

  ${CMAKE_SOURCE_DIR}/src/server/game/Server/Protocol

  ${CMAKE_SOURCE_DIR}/src/server/game/Server/Protocol/Handlers

  ${CMAKE_SOURCE_DIR}/src/server/game/Server

  ${CMAKE_SOURCE_DIR}/src/server/game/Skills

  ${CMAKE_SOURCE_DIR}/src/server/game/Spells

  ${CMAKE_SOURCE_DIR}/src/server/game/Spells/Auras

  ${CMAKE_SOURCE_DIR}/src/server/game/Tools

  ${CMAKE_SOURCE_DIR}/src/server/game/Weather

  ${CMAKE_SOURCE_DIR}/src/server/game/World

  ${CMAKE_SOURCE_DIR}/src/server/authserver/Server

  ${CMAKE_CURRENT_SOURCE_DIR}

  ${CMAKE_CURRENT_SOURCE_DIR}/CommandLine

  ${CMAKE_CURRENT_SOURCE_DIR}/RemoteAccess

  ${CMAKE_CURRENT_SOURCE_DIR}/TCSoap

  ${CMAKE_CURRENT_SOURCE_DIR}/WorldThread

  ${ACE_INCLUDE_DIR}

  ${MYSQL_INCLUDE_DIR}

  ${OPENSSL_INCLUDE_DIR}

)

i removed all the sub-directories from the .../AI folder and placed the files from those sub-directories into the base folder...the /AI folder if you will. i also made sure that any reference to any of the sub-directories in the /AI folder was changed to point to just the /AI folder in any and all of the rest of the cmakelists.txt files. i also removed some redundant entries as well....directories that dont exsist or that didnt have actual files that are included(directories that have nothing but directories) that are included.

i HOPE that this wasn't too confusing for you all...

now since i figured out this work around i have been looking at the include directories and was thinking that it would prolly be better if the dev's actually figured out a way to condense the entire directory structure cause i have no CLUE how many of the entries are actually needed here. i also know that this hope is far fetched as well...

Share this post


Link to post
Share on other sites

I just got everything to compile as debug & run with a 64-bit setup in VS2010 pro & wanted to share some of the issues I worked through. Perhaps these are unique to my machine, but maybe it will help someone else. This was done with the 39c6b48a9116201580de2521d260d0c3cafd4120 revision from GIT.

Issue 1) cmake-gui 2.8.2 refused to detect my machine as 64-bit. I kept getting "detected a 32-bit platform". To stop this, I went into /cmake/macros/CheckPlatform.cmake and just commented out the 32-bit check:

#if(CMAKE_SIZEOF_VOID_P MATCHES 8)

    set(PLATFORM 64)

    MESSAGE(STATUS "Detected 64-bit platform")

#else()

#    set(PLATFORM 32)

#    MESSAGE(STATUS "Detected 32-bit platform")

#endif()
I turned off PCH & the bundled mysql libraries (I'm using MySQL 5.5 64-bit):
* Build world/auth       : Yes (default)

* Build with scripts     : Yes (default)

* Build map/vmap tools   : No  (default)

* Build core w/PCH       : No

* Build scripts w/PCH    : No

* Use SFMT for RNG       : No  (default)

* Show compile-warnings  : No  (default)

* Use coreside debug     : No  (default)

* Use MySQL sourcetree   : No

* Install SQL-files      : No  (default)
Issue 2) When I then tried to compile TrinityCore.sln as 64-bit, I got errors in ace, authserver, & worldserver saying:
Error	1	error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'	

To fix this, I had to go into each of those projects' properties, go to Configuration->Linker->Command Line->Additional Options and remove "/machine:X86". Not sure why cmake even put this here, Linker->Advanced has a "target machine" option that seems to be proper place for this directive (and in that place it correctly gets changed to /MACHINE:X64 when you change to a 64-bit configuration)

Finally, I had to copy libmysql.dll to the compiled bin directory.

And voila - it finally works. After hours of attempting to compile I get to test out the code change that only took 15 minutes to write...

Share this post


Link to post
Share on other sites

You guys are sure you chose "Visual Studio 10 Win64" as cmake generator target?

Also, commenting out the else tree of an if switch doesn't suddenly make the if condition become true. So you're basically creating a mess.

Share this post


Link to post
Share on other sites

Hi, i'm Trying to Configure de Source Code to Compile but i'm getting trouble with it because i don't understand what parameters i need to type.

It always says,

CMake Error: The Following Variables are used in this project, but htey are set to NOTFOUND.

Please set them or make sure they are set and tested correctly in the CMake Files:^


ACE_ICLUDED_DIR (Advanced)

      used as include directory in directory /trinity/TrinityCore/src/server/shared

      used as include directory in directory /trinity/TrinityCore/src/server/game

      used as include directory in directory /trinity/TrinityCore/src/server/collision

      used as include directory in directory /trinity/TrinityCore/src/server/authserver

      used as include directory in directory /trinity/TrinityCore/src/server/scripts

      used as include directory in directory /trinity/TrinityCore/src/server/worldserver

      used as include directory in directory /trinity/TrinityCore/src/server/vmp3_assembler


ACE_LIBRARY (Advanced)

      linked by target "shared" in directory /trinity/TrinityCore/src/server/shared

      linked by target "worldserver" in directory /trinity/TrinityCore/src/server/worldserver


--Configuring imcomplete, erros occurred!

when i type the example:
cmake ../TrinityCore/ -DPREFIX=/home/trinity/server -DWITH_SQL=1

Can someone help me?

Edited by ArcM

Share this post


Link to post
Share on other sites

This is the error i get:

CMake Error: The Following Variables are used in this project, but htey are set to NOTFOUND.

Please set them or make sure they are set and tested correctly in the CMake Files:^


ACE_ICLUDED_DIR (Advanced)

      used as include directory in directory /trinity/TrinityCore/src/server/shared

      used as include directory in directory /trinity/TrinityCore/src/server/game

      used as include directory in directory /trinity/TrinityCore/src/server/collision

      used as include directory in directory /trinity/TrinityCore/src/server/authserver

      used as include directory in directory /trinity/TrinityCore/src/server/scripts

      used as include directory in directory /trinity/TrinityCore/src/server/worldserver

      used as include directory in directory /trinity/TrinityCore/src/server/vmp3_assembler


ACE_LIBRARY (Advanced)

      linked by target "shared" in directory /trinity/TrinityCore/src/server/shared

      linked by target "worldserver" in directory /trinity/TrinityCore/src/server/worldserver


--Configuring imcomplete, erros occurred!

Any hints?

Edited by ArcM

Share this post


Link to post
Share on other sites

This is the error i get:

CMake Error: The Following Variables are used in this project, but htey are set to NOTFOUND.

Please set them or make sure they are set and tested correctly in the CMake Files:^


ACE_ICLUDED_DIR (Advanced)

      used as include directory in directory /trinity/TrinityCore/src/server/shared

      used as include directory in directory /trinity/TrinityCore/src/server/game

      used as include directory in directory /trinity/TrinityCore/src/server/collision

      used as include directory in directory /trinity/TrinityCore/src/server/authserver

      used as include directory in directory /trinity/TrinityCore/src/server/scripts

      used as include directory in directory /trinity/TrinityCore/src/server/worldserver

      used as include directory in directory /trinity/TrinityCore/src/server/vmp3_assembler


ACE_LIBRARY (Advanced)

      linked by target "shared" in directory /trinity/TrinityCore/src/server/shared

      linked by target "worldserver" in directory /trinity/TrinityCore/src/server/worldserver


--Configuring imcomplete, erros occurred!

Any hints?

Install ACE. Check the wiki to know how to do it for your system.

Share this post


Link to post
Share on other sites

I also fail to see how disabling PCH fixes anything other than giving you a ton of extra time to do other things while your compiler toils away for a lot longer than it would with PCH enabled.

Share this post


Link to post
Share on other sites

Hi, I have problem with my MySQL. I use version 5.1.55 (without essentials - this is good or bad?) and when i complete installing, it asks me if I wanna configure the server, so I press yes, then i Choose Developer machine etc... and at the end I click on execute and it tells me that the first and the second line are succeed , but when it goes to third line (starting service) , that program doesn't respond and I must end it by pressing ctrl+alt+delete.... any ideas?

Share this post


Link to post
Share on other sites

You have to make sure that all old configurations of MySQL are uninstalled and shut down.

hmm and how can I know where I have all my MySQL folders or what is everything put together with mySQL ?

and for wow 3.3.5a private server should I have mySQL with or without essentials?

Edited by etiencz

Share this post


Link to post
Share on other sites

uhh... I think you are confused, there is no "with essentials" essentials is the lite version and not the one that should be used, so, you are using the correct one.

Share this post


Link to post
Share on other sites

uhh... I think you are confused, there is no "with essentials" essentials is the lite version and not the one that should be used, so, you are using the correct one.

ok but ... I used the right one, but everytime I've tried to configure the server, so at the end i pressed execute, but in 3rd line, there is Starting service -- it everytime lag, and the program doesn't respond.

Share this post


Link to post
Share on other sites

Hi

I have tried to compile TrinityCore with Visual C++ 2008 and 2010 both 64-bit.

From Visual C++ 2008 I get ========== Build: 10 succeeded, 2 failed, 2 up-to-date, 1 skipped ==========

From Visual C++ 2010 I get ========== Build: 17 succeeded, 2 failed, 0 up-to-date, 1 skipped ==========

No error from Cmake, chosen win64 on both Visual C++ 2008 and 2010.

I can compile 32-bit TrinityCore with no problem.

OS: Windows 7 Ultimate 64

Will add more info tomorow or later(Build logs+)

Edited by Seppron

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...