wandelf
-
Posts
6 -
Joined
-
Last visited
Posts posted by wandelf
-
-
Thank you so much, I do believe it is working now. I may have copy/pasted the wrong Trinity Core version from the new install guide. It is compiling and has gotten past the point where there was an error before.
-
I think I got it from here. I've switched over to the new install guide right now and am cloning.
http://www.ac-web.org/forums/showthread.php?175234-How-to-compile-Trinity-Core-on-Ubuntu
-
Output of gcc --version:
wandelf@floyd:/home/TrinityCore/build$ gcc --version
gcc (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
also I retried it with the flags as you suggested and it still gives me errors
I switched install guides (to the new one), and I must have accidentally used the cmake from the old guide.
-
To be honest I have no idea. This is my first time compiling pretty much anything. I just typed in cmake with some flags and then typed in make.
Edit: here is the cmake command I used.
cmake ../ -DPREFIX=/home/`echo $USER`/server -DTOOLS=1
-
Every time I try to compile with make, It doesn't finish and gives me an error. I'm assuming I have to set a flag of some sort that has to do with the ISO 2011 C++ standard, but I am not sure how to do that with make. Here is the output from make
I am using ubuntu 15.10
wandelf@floyd:/home/TrinityCore/build$ make
[ 9%] Built target g3dlib
[ 9%] Built target Detour
[ 9%] Built target Recast
[ 9%] Built target cppformat
[ 9%] Built target jemalloc
[ 9%] Built target gsoap
[ 9%] Built target mpq
[ 9%] Built target revision_data.h
[ 9%] Building CXX object src/common/CMakeFiles/common.dir/PrecompiledHeaders/commonPCH.cpp.o
In file included from /usr/include/c++/5/cinttypes:35:0,
from /home/TrinityCore/src/common/Define.h:44,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:1,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
In file included from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:1:0,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/home/TrinityCore/src/common/Define.h:145:9: error: ‘int64_t’ does not name a type
typedef int64_t int64;
^
/home/TrinityCore/src/common/Define.h:146:9: error: ‘int32_t’ does not name a type
typedef int32_t int32;
^
/home/TrinityCore/src/common/Define.h:147:9: error: ‘int16_t’ does not name a type
typedef int16_t int16;
^
/home/TrinityCore/src/common/Define.h:148:9: error: ‘int8_t’ does not name a type
typedef int8_t int8;
^
/home/TrinityCore/src/common/Define.h:149:9: error: ‘uint64_t’ does not name a type
typedef uint64_t uint64;
^
/home/TrinityCore/src/common/Define.h:150:9: error: ‘uint32_t’ does not name a type
typedef uint32_t uint32;
^
/home/TrinityCore/src/common/Define.h:151:9: error: ‘uint16_t’ does not name a type
typedef uint16_t uint16;
^
/home/TrinityCore/src/common/Define.h:152:9: error: ‘uint8_t’ does not name a type
typedef uint8_t uint8;
^
In file included from /home/TrinityCore/src/common/Common.h:53:0,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:2,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/home/TrinityCore/src/common/Threading/LockedQueue.h:29:10: error: ‘mutex’ in namespace ‘std’ does not name a type
std::mutex _lock;
^
/home/TrinityCore/src/common/Threading/LockedQueue.h: In member function ‘void LockedQueue<T, StorageType>::readd(Iterator, Iterator)’:
/home/TrinityCore/src/common/Threading/LockedQueue.h:64:9: error: ‘lock_guard’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:64:25: error: ‘mutex’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:64:42: error: ‘_lock’ was not declared in this scope
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h: In member function ‘bool LockedQueue<T, StorageType>::next(T&)’:
/home/TrinityCore/src/common/Threading/LockedQueue.h:71:9: error: ‘lock_guard’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:71:25: error: ‘mutex’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:71:42: error: ‘_lock’ was not declared in this scope
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h: In member function ‘bool LockedQueue<T, StorageType>::next(T&, Checker&)’:
/home/TrinityCore/src/common/Threading/LockedQueue.h:85:9: error: ‘lock_guard’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:85:25: error: ‘mutex’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:85:42: error: ‘_lock’ was not declared in this scope
std::lock_guard<std::mutex> lock(_lock);
^
In file included from /home/TrinityCore/src/common/Common.h:53:0,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:2,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/home/TrinityCore/src/common/Threading/LockedQueue.h: In member function ‘void LockedQueue<T, StorageType>::cancel()’:
/home/TrinityCore/src/common/Threading/LockedQueue.h:114:9: error: ‘lock_guard’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:114:25: error: ‘mutex’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:114:42: error: ‘_lock’ was not declared in this scope
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h: In member function ‘bool LockedQueue<T, StorageType>::cancelled()’:
/home/TrinityCore/src/common/Threading/LockedQueue.h:122:9: error: ‘lock_guard’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:122:25: error: ‘mutex’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:122:42: error: ‘_lock’ was not declared in this scope
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h: In member function ‘void LockedQueue<T, StorageType>::pop_front()’:
/home/TrinityCore/src/common/Threading/LockedQueue.h:141:9: error: ‘lock_guard’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:141:25: error: ‘mutex’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:141:42: error: ‘_lock’ was not declared in this scope
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h: In member function ‘bool LockedQueue<T, StorageType>::empty()’:
/home/TrinityCore/src/common/Threading/LockedQueue.h:148:9: error: ‘lock_guard’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:148:25: error: ‘mutex’ is not a member of ‘std’
std::lock_guard<std::mutex> lock(_lock);
^
/home/TrinityCore/src/common/Threading/LockedQueue.h:148:42: error: ‘_lock’ was not declared in this scope
std::lock_guard<std::mutex> lock(_lock);
^
In file included from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:2:0,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/home/TrinityCore/src/common/Common.h: In function ‘long unsigned int atoul(const char*)’:
/home/TrinityCore/src/common/Common.h:91:67: error: ‘nullptr’ was not declared in this scope
inline unsigned long atoul(char const* str) { return strtoul(str, nullptr, 10);
^
/home/TrinityCore/src/common/Common.h: In function ‘long long unsigned int atoull(const char*)’:
/home/TrinityCore/src/common/Common.h:92:74: error: ‘nullptr’ was not declared in this scope
e unsigned long long atoull(char const* str) { return strtoull(str, nullptr, 10
^
In file included from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:2:0,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/home/TrinityCore/src/common/Common.h: At global scope:
/home/TrinityCore/src/common/Common.h:159:1: error: expected unqualified-id before ‘using’
using Optional = boost::optional<T>;
^
/home/TrinityCore/src/common/Common.h:164:35: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template<typename T, typename ...Args>
^
/home/TrinityCore/src/common/Common.h:165:10: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
std::unique_ptr<T> make_unique(Args&& ...args)
^
/home/TrinityCore/src/common/Common.h:176:12: error: ‘hash’ is not a class template
struct hash<std::pair<K, V>>
^
/home/TrinityCore/src/common/Common.h:176:31: error: ‘>>’ should be ‘> >’ within a nested template argument list
struct hash<std::pair<K, V>>
^
In file included from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:3:0,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/home/TrinityCore/src/common/Collision/BoundingIntervalHierarchy.h:36:15: error: ‘uint32’ does not name a type
static inline uint32 floatToRawIntBits(float f)
^
/home/TrinityCore/src/common/Collision/BoundingIntervalHierarchy.h:47:36: error: ‘intBitsToFloat’ declared as an ‘inline’ variable
static inline float intBitsToFloat(uint32 i)
^
/home/TrinityCore/src/common/Collision/BoundingIntervalHierarchy.h:47:36: error: ‘uint32’ was not declared in this scope
/home/TrinityCore/src/common/Collision/BoundingIntervalHierarchy.h:47:36: note: suggested alternative:
In file included from /home/TrinityCore/dep/g3dlite/include/G3D/Vector3.h:19:0,
from /home/TrinityCore/src/common/Collision/BoundingIntervalHierarchy.h:22,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:3,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/home/TrinityCore/dep/g3dlite/include/G3D/g3dmath.h:168:21: note: ‘G3D::uint32’
typedef uint32_t uint32;
^
In file included from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.h:3:0,
from /home/TrinityCore/src/common/PrecompiledHeaders/commonPCH.cpp:1:
/home/TrinityCore/src/common/Collision/BoundingIntervalHierarchy.h:48:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
src/common/CMakeFiles/common.dir/build.make:54: recipe for target 'src/common/CMakeFiles/common.dir/PrecompiledHeaders/commonPCH.cpp.o' failed
make[2]: *** [src/common/CMakeFiles/common.dir/PrecompiledHeaders/commonPCH.cpp.o] Error 1
CMakeFiles/Makefile2:798: recipe for target 'src/common/CMakeFiles/common.dir/all' failed
make[1]: *** [src/common/CMakeFiles/common.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
Stuck at connected / infinite loop / login issues / battle.net
in Help and Support
Posted · Edited by wandelf
Whenever I try to connect to my server from another computer on my network, I can log in, but it asks me to select a realm, and when I do it loops me back around to selecting a server. I am very new to mysql and servers in general, so any help is appreciated. I have been trying to solve this for a solid 8 hours.
I am using ubuntu 16.04 and trinity core 3.5.5