M24o / tempestcore

TempestCore is an on open source Emulator for WoW.
GNU General Public License v2.0
6 stars 2 forks source link

Compiling error with rev 1 on linux #1

Closed sensibob closed 13 years ago

sensibob commented 13 years ago

I can't compiling last rev on unix :/

Linking CXX static library libgsoap.a [ 6%] Built target gsoap [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o In file included from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseWorkerPool.h:27, from /home/sensi/tempest/tempestcore/src/server/shared/Database/Implementation/LoginDatabase.h:22, from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseEnv.h:41, from /home/sensi/tempest/tempestcore/src/server/game/Server/WorldSession.h:31, from /home/sensi/tempest/tempestcore/src/server/game/Server/Protocol/Opcodes.h:34, from /home/sensi/tempest/tempestcore/src/server/game/Entities/Unit/Unit.h:26, from /home/sensi/tempest/tempestcore/src/server/game/Entities/Player/Player.h:26, from /home/sensi/tempest/tempestcore/src/server/game/Globals/ObjectAccessor.h:33, from /home/sensi/tempest/tempestcore/src/server/game/PrecompiledHeaders/gamePCH.h:9, from /home/sensi/tempest/tempestcore/build/src/server/game/game_pch_dephelp.cxx:1: /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h: In constructor 'MySQLConnectionInfo::MySQLConnectionInfo(const std::string&)': /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:39: error: no matching function for call to 'std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > >::vector(const std::basic_string<char, std::char_traits, std::allocator >&, char)' /usr/include/c++/4.4/bits/stl_vector.h:241: note: candidates are: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:227: note: std::vector<_Tp, _Alloc>::vector(size_t, const _Tp&, const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:215: note: std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:54: error: 'uint8i' was not declared in this scope /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:56: error: 'i' was not declared in this scope [ 6%] Building CXX object dep/sockets/CMakeFiles/trinitysockets.dir/Base64.cpp.o Linking CXX static library libtrinitysockets.a [ 6%] Built target trinitysockets Scanning dependencies of target collision_pch_dephelp [ 6%] Building CXX object src/server/collision/CMakeFiles/collision_pch_dephelp.dir/collision_pch_dephelp.cxx.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o Scanning dependencies of target authserver_pch_dephelp Linking CXX static library libcollision_pch_dephelp.a [ 6%] Built target collision_pch_dephelp [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o Scanning dependencies of target scripts_pch_dephelp [ 6%] Building CXX object src/server/authserver/CMakeFiles/authserver_pch_dephelp.dir/authserver_pch_dephelp.cxx.o [ 6%] Building CXX object src/server/scripts/CMakeFiles/scripts_pch_dephelp.dir/scripts_pch_dephelp.cxx.o make[2]: * [src/server/game/CMakeFiles/game_pch_dephelp.dir/game_pch_dephelp.cxx.o] Erreur 1 make[1]: * [src/server/game/CMakeFiles/game_pch_dephelp.dir/all] Erreur 2 make[1]: * Attente des tâches non terminées.... [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o In file included from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseWorkerPool.h:27, from /home/sensi/tempest/tempestcore/src/server/shared/Database/Implementation/LoginDatabase.h:22, from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseEnv.h:41, from /home/sensi/tempest/tempestcore/src/server/authserver/PrecompiledHeaders/authPCH.h:24, from /home/sensi/tempest/tempestcore/build/src/server/authserver/authserver_pch_dephelp.cxx:1: /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h: In constructor 'MySQLConnectionInfo::MySQLConnectionInfo(const std::string&)': /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:39: error: no matching function for call to 'std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > >::vector(const std::basic_string<char, std::char_traits, std::allocator >&, char)' /usr/include/c++/4.4/bits/stl_vector.h:241: note: candidates are: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:227: note: std::vector<_Tp, _Alloc>::vector(size_t, const _Tp&, const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:215: note: std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:54: error: 'uint8i' was not declared in this scope /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:56: error: 'i' was not declared in this scope make[2]: * [src/server/authserver/CMakeFiles/authserver_pch_dephelp.dir/authserver_pch_dephelp.cxx.o] Erreur 1 make[1]: * [src/server/authserver/CMakeFiles/authserver_pch_dephelp.dir/all] Erreur 2 [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o In file included from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseWorkerPool.h:27, from /home/sensi/tempest/tempestcore/src/server/shared/DataStores/DBCStore.h:29, from /home/sensi/tempest/tempestcore/src/server/game/DataStores/DBCStores.h:23, from /home/sensi/tempest/tempestcore/src/server/game/Scripting/ScriptMgr.h:27, from /home/sensi/tempest/tempestcore/src/server/scripts/PrecompiledHeaders/ScriptPCH.h:8, from /home/sensi/tempest/tempestcore/build/src/server/scripts/scripts_pch_dephelp.cxx:1: /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h: In constructor 'MySQLConnectionInfo::MySQLConnectionInfo(const std::string&)': /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:39: error: no matching function for call to 'std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > >::vector(const std::basic_string<char, std::char_traits, std::allocator >&, char)' /usr/include/c++/4.4/bits/stl_vector.h:241: note: candidates are: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:227: note: std::vector<_Tp, _Alloc>::vector(size_t, const _Tp&, const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:215: note: std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = std::basic_string<char, std::char_traits, std::allocator >, _Alloc = std::allocator<std::basic_string<char, std::char_traits, std::allocator > >] /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:54: error: 'uint8i' was not declared in this scope /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:56: error: 'i' was not declared in this scope [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o make[2]: * [src/server/scripts/CMakeFiles/scripts_pch_dephelp.dir/scripts_pch_dephelp.cxx.o] Erreur 1 make[1]: * [src/server/scripts/CMakeFiles/scripts_pch_dephelp.dir/all] Erreur 2 [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o Linking CXX static library libg3dlib.a [ 10%] Built target g3dlib make: * [all] Erreur 2 sensi@:~/tempest/tempestcore/build$

sensibob commented 13 years ago

Oki je teste de suite

sensibob commented 13 years ago

Erreur de compilation encore =

Linking CXX static library libcollision_pch_dephelp.a [ 6%] Built target collision_pch_dephelp [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o In file included from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseWorkerPool.h:27, from /home/sensi/tempest/tempestcore/src/server/shared/Database/Implementation/LoginDatabase.h:22, from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseEnv.h:41, from /home/sensi/tempest/tempestcore/src/server/game/Server/WorldSession.h:31, from /home/sensi/tempest/tempestcore/src/server/game/Server/Protocol/Opcodes.h:34, from /home/sensi/tempest/tempestcore/src/server/game/Entities/Unit/Unit.h:26, from /home/sensi/tempest/tempestcore/src/server/game/Entities/Player/Player.h:26, from /home/sensi/tempest/tempestcore/src/server/game/Globals/ObjectAccessor.h:33, from /home/sensi/tempest/tempestcore/src/server/game/PrecompiledHeaders/gamePCH.h:9, from /home/sensi/tempest/tempestcore/build/src/server/game/game_pch_dephelp.cxx:1: /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h: In constructor 'MySQLConnectionInfo::MySQLConnectionInfo(const std::string&)': /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:38: error: redeclaration of 'Tokens tokens' /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:36: error: 'Tokens tokens' previously declared here /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:49: error: expected primary-expression before '/' token /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:50: error: expected primary-expression before '}' token /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:50: error: expected ';' before '}' token [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o Scanning dependencies of target scripts_pch_dephelp In file included from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseWorkerPool.h:27, from /home/sensi/tempest/tempestcore/src/server/shared/Database/Implementation/LoginDatabase.h:22, from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseEnv.h:41, from /home/sensi/tempest/tempestcore/src/server/authserver/PrecompiledHeaders/authPCH.h:24, from /home/sensi/tempest/tempestcore/build/src/server/authserver/authserver_pch_dephelp.cxx:1: /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h: In constructor 'MySQLConnectionInfo::MySQLConnectionInfo(const std::string&)': /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:38: error: redeclaration of 'Tokens tokens' /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:36: error: 'Tokens tokens' previously declared here /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:49: error: expected primary-expression before '/' token /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:50: error: expected primary-expression before '}' token /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:50: error: expected ';' before '}' token make[2]: * [src/server/authserver/CMakeFiles/authserver_pch_dephelp.dir/authserver_pch_dephelp.cxx.o] Erreur 1 make[1]: * [src/server/authserver/CMakeFiles/authserver_pch_dephelp.dir/all] Erreur 2 make[1]: * Attente des tâches non terminées.... [ 7%] [ 7%] Building CXX object src/server/scripts/CMakeFiles/scripts_pch_dephelp.dir/scripts_pch_dephelp.cxx.o Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o In file included from /home/sensi/tempest/tempestcore/src/server/shared/Database/DatabaseWorkerPool.h:27, from /home/sensi/tempest/tempestcore/src/server/shared/DataStores/DBCStore.h:29, from /home/sensi/tempest/tempestcore/src/server/game/DataStores/DBCStores.h:23, from /home/sensi/tempest/tempestcore/src/server/game/Scripting/ScriptMgr.h:27, from /home/sensi/tempest/tempestcore/src/server/scripts/PrecompiledHeaders/ScriptPCH.h:8, from /home/sensi/tempest/tempestcore/build/src/server/scripts/scripts_pch_dephelp.cxx:1: /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h: In constructor 'MySQLConnectionInfo::MySQLConnectionInfo(const std::string&)': /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:38: error: redeclaration of 'Tokens tokens' /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:36: error: 'Tokens tokens' previously declared here /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:49: error: expected primary-expression before '/' token /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:50: error: expected primary-expression before '}' token /home/sensi/tempest/tempestcore/src/server/shared/Database/MySQLConnection.h:50: error: expected ';' before '}' token make[2]: * [src/server/game/CMakeFiles/game_pch_dephelp.dir/game_pch_dephelp.cxx.o] Erreur 1 make[1]: * [src/server/game/CMakeFiles/game_pch_dephelp.dir/all] Erreur 2 [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o make[2]: * [src/server/scripts/CMakeFiles/scripts_pch_dephelp.dir/scripts_pch_dephelp.cxx.o] Erreur 1 make[1]: * [src/server/scripts/CMakeFiles/scripts_pch_dephelp.dir/all] Erreur 2 [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o [ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o Linking CXX static library libg3dlib.a [ 10%] Built target g3dlib make: * [all] Erreur 2 sensi@ns309507:~/tempest/tempestcore/build$

sensibob commented 13 years ago

Compil fixed gj Anoked !