Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

http://www.trinitycore.org/f/topic/10656-updating-or-starting-with-trinitycore-issues/

--- Canned message start ---

If this is your 1st time with TrinityCore read http://collab.kpsn.org/display/tc/TrinityCore+Home

Also read http://www.trinitycore.org/f/topic/1518-trouble-with-your-trinity-install-readme-1st-faqs/

Also please Look in upper right hand corner of the forum, there is a button labeled search field, feel free to search for your issues first before posting, most questions like this one have already been answered.

If you still cannot find the answers you seek feel free to make a post and tell us the steps you took to resolve this issue and we will do our best to help you.

--- Canned message end ---

Link to comment
Share on other sites

  • 2 weeks later...
Hi,
 
I've setuped the TrinityCore server (branch 6) using Debian server and the latest client version.
The server is running without problems, but I can't do the client .exe.
 
Here's the shell log:
trinity@realm:~/WoW$ /home/trinity/server/bin/connection_patcher Wow.exe
Creating patched binaries for Win32 client...
patching Portal
Found offset 11056376
patching redirect RSA Modulus
Found offset 10046320
patching BNet
Found offset 7489497
patching Signature
Found offset 7457091
Patching done.
EX: basic_string::_S_construct null not valid
trinity@realm:~/WoW$
 
When I configure the Config.wtf with SET portal "realm.meet.camp", I see the following message on the client:
You must log in with a Battle.net account username and password.
 
The client is paid version.
 
P.S. Actually, I've logged-in to my account, then quit, and then upload the .exe to my server and run the connection_patcher, is this the correct method?
Edited by htorbov
Link to comment
Share on other sites

You cannot use connection_patcher compiled on Linux to patch the binaries currently. You must compile the connection_patcher on Windows.

First log in and get to the character selection screen and then patch the binary with connection_patcher.exe.

Edited by Greedy
Link to comment
Share on other sites

Alright, I'm trying it now, but I get the following errors while compiling on CMake and Win32 OpenSSL 1.0.1j:

Detected 32-bit platform
MSVC: Enabled large address awareness
MSVC: Enabled SSE2 support
MSVC: Disabled Safe Exception Handlers for debug builds
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
CMake Error at cmake/macros/FindOpenSSL.cmake:188 (file):
  file STRINGS file "C:/OpenSSL-Win32/openssl/opensslv.h" cannot be read.
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)
 
 
CMake Error at cmake/macros/FindOpenSSL.cmake:200 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)
 
 
CMake Error at cmake/macros/FindOpenSSL.cmake:201 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)
 
 
CMake Error at cmake/macros/FindOpenSSL.cmake:202 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)
 
 
CMake Error at cmake/macros/FindOpenSSL.cmake:203 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)
 
 
CMake Error at cmake/macros/FindOpenSSL.cmake:210 (math):
  math cannot parse the expression: " + 96": syntax error, unexpected
  exp_PLUS, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)
 
 
CMake Error at cmake/macros/FindOpenSSL.cmake:214 (string):
  string Character with code does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)
 
 
CMake Error at cmake/macros/EnsureVersion.cmake:76 (MATH):
  math cannot parse the expression: "..*10000 + ..*100 + 0": syntax error,
  unexpected exp_TIMES, expecting exp_OPENPARENT or exp_NUMBER (3)
Call Stack (most recent call first):
  cmake/macros/EnsureVersion.cmake:95 (NORMALIZE_VERSION)
  cmake/macros/FindOpenSSL.cmake:221 (ENSURE_VERSION)
  CMakeLists.txt:57 (find_package)
 
 
CMake Error at cmake/macros/FindOpenSSL.cmake:223 (message):
  TrinityCore needs OpenSSL version 1.0.0 but found version ..
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)
 
 
Configuring incomplete, errors occurred!
See also "D:/Build/CMakeFiles/CMakeOutput.log".
Edited by htorbov
Link to comment
Share on other sites

Hey i've setted everything correctly even authserver started correctly but when i start world server this what i get

TrinityCore rev. unknown 1970-01-01 00:00:00 +0000 (Archived branch) (Win32, Release) (worldserver-daemon)
<Ctrl-C> to stop.

______ __
/__ _ __ __/ __
/_/ / _ __ /_ ___ /_ , _ __ __
/`'__/ /' _ `/ / / /
/ / / _ _
_ _ _ _ _ _ __/`____
/_//_/ /_//_//_//_//__/ `/___/>
C O R E /___/
http://TrinityCore.org /__/

Using configuration file worldserver.conf.
Using SSL version: OpenSSL 1.0.1j 15 Oct 2014 (library: OpenSSL 1.0.1c 10 May 2012)
Using Boost version: 1.55.0
DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors. Read wiki at http://collab.kpsn.org/display/tc/TrinityCore+Home
Cannot connect to world database 127.0.0.1;3306;root;ascent;world


 

 

DBerror says


In mysql_stmt_prepare() id: 29, sql: "SELECT point, position_x, position_y, position_z, orientation, move_type, delay, action, action_chance FROM waypoint_data WHERE id = ? ORDER BY point"
Unknown column 'move_type' in 'field list'
In mysql_stmt_prepare() id: 34, sql: "SELECT id, point, delay, move_type, action, action_chance FROM waypoint_data WHERE wpguid = ?"
Unknown column 'move_type' in 'field list'

 

what can i do ?

Link to comment
Share on other sites

new DB error:

 

 

In mysql_stmt_prepare() id: 16, sql: "UPDATE creature_template SET faction = ? WHERE entry = ?"

Unknown column 'faction' in 'field list'

In mysql_stmt_prepare() id: 68, sql: "UPDATE creature SET zoneId = ?, areaId = ? WHERE guid = ?"

Unknown column 'zoneId' in 'field list'

In mysql_stmt_prepare() id: 69, sql: "UPDATE gameobject SET zoneId = ?, areaId = ? WHERE guid = ?"

Unknown column 'zoneId' in 'field list'

Link to comment
Share on other sites

Not sure what makes you think that "Trinitycore.org Website issues" is the correct section for your topic. Topic moved.

 

-----

 

If you "setted everything correctly" you wouldn't have problems.

 

-----

 

Assuming you are trying to run the 6.x branch, to set up the world database you need to import https://github.com/TrinityCore/TrinityCore/releases/download/TDB6.00/TDB_full_6.00_2014_10_19.7z and all the files in https://github.com/TrinityCore/TrinityCore/tree/6.x/sql/updates/world

--- Begin canned message ---

This topic belongs in the Help and Support forum. Moved.

--- End canned message ---

Link to comment
Share on other sites

Heyho,

 

Since I cannot reply to this:

http://www.trinitycore.org/f/topic/120-compile-or-cmake-problems/

i created a new Issue/post/ticket.

 

I try to compile the 3.3.5 core while using Windows 8.1 64 -Bit operating system

 

My problem is this:

http://pastebin.com/4hT4trqh

 

Most issues belong to:

16>Main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_mysql_server_init@12" in Funktion ""public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ)".
 

I have installed the 5.6.21 MySQL-Server for 64 Bit and i am compiling with Visual 2013 with Win32 Release.

http://www.pic-upload.de/view-25609277/Screenshot--4-.png.html

 

Do you have any suggestion what i have to do now?

 

Thx for reading this topic.

 

Link to comment
Share on other sites

Okay this works fine now :) thx!

 

Last problem:

If i try to start the auth and the world server, i get this error: http://www.pic-upload.de/view-25614208/error.jpg.html

 

I googled this and the infos i got, are that i am missing some dll-files, because i have some programms which run under 32 and 64-bit and the are

a bit messed up now.

 

There are hundret guides how to download and install these dll-files. Do you now which dll-files are nessessary for trinitycore and which folder should i use to

store them.

Some use the C:WindowsSystem32-folder and some use the C:WindowsSysWOW64.folder. Which one is the right here?

Edited by Rushor
Link to comment
Share on other sites

i have don all the steps told in de Wiki Trinity install page

but when running the cmake ../ -DPREFIX=/home/`echo $USER`/server -DTOOLS=1
command the bachs stopt running and making the install.

 

i need to set the BOOST_ROOT need help on that one.

 

root@debian:~/TrinityCore-6.x/build# cmake ../ -DPREFIX=/home/`echo $USER`/server -DTOOLS=1
-- 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
-- Found OpenSSL library: /usr/lib/i386-linux-gnu/libssl.so;/usr/lib/i386-linux-gnu/libcrypto.so
-- Found OpenSSL headers: /usr/include
-- Found ZMQ library: /usr/lib/i386-linux-gnu/libzmq.so
-- Found ZMQ headers: /usr/include
CMake Error at cmake/macros/FindBoost.cmake:1115 (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:61 (include)


-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed
-- 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
--
    Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
    Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"

* TrinityCore revision   : unknown 1970-01-01 00:00:00 +0000 (Archived branch)
* TrinityCore buildtype  : Release

* Install core to        : /home/root/server
* Install libraries to   : /home/root/server/lib
* Install configs to     : /home/root/server/etc

* Build world/auth       : Yes (default)
* Build with scripts     : Yes (default)
* Build map/vmap tools   : Yes
* Build core w/PCH       : Yes (default)
* Build scripts w/PCH    : Yes (default)
* Show compile-warnings  : No  (default)
* Use coreside debug     : No  (default)
* Use GIT revision hash  : Yes

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

-- Configuring incomplete, errors occurred!
 


i found the solution

run  sudo apt-get install libboost-filesystem-dev

Link to comment
Share on other sites

http://collab.kpsn.org/display/tc/Requirements#linux

 

 

sudo apt-get install libboost-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev


--- 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 ---
Link to comment
Share on other sites

I have worked with TrinityCore 3.3.5 for years but I decided to try out the 6xx branch and now when I go to Generate in cmake it throws an error.

 

 

 

ZxSAz5j.png?1

Please I know I have linked the directory for ZeroMQ to the wrong place can someone please inform me of the right places to link the directory's to?

Link to comment
Share on other sites

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes locked this topic
  • Carbenium unlocked this topic
  • Aokromes pinned and locked this topic
  • Aokromes featured and featured this topic
  • Aokromes pinned this topic
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...