Projet: https://github.com/TrinityCore/TrinityCore

Précos : https://trinitycore.atlassian.net/wi...x+Requirements

J'ai tout les requirements à la bonne version minimum :
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609


Bonjour à tous, je cherche à compiler un projet dispo sur github, j'ai suivis la doc fournie seulement j'obtiens une erreur lors du make sur celui-ci

Je ne vois pas comment précsier le flag -std=c++11 ou -std=gnu++11 lors du lancement de mon make, sauriez-vous m'indiquer une piste ?

Merci par avance


Code bash : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
 
 
[  9%] Building CXX object src/common/CMakeFiles/common.dir/Common.cpp.o
In file included from /usr/include/c++/5/cinttypes:35:0,
                 from /home/userlocal/TRINITY/TrinityCore/src/common/Define.h:44,
                 from /home/userlocal/TRINITY/TrinityCore/src/common/Common.h:22,
                 from /home/userlocal/TRINITY/TrinityCore/src/common/Common.cpp:19:
/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 must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
In file included from /usr/include/c++/5/cinttypes:35:0,
                 from /home/userlocal/TRINITY/TrinityCore/src/common/Define.h:44,
                 from /home/userlocal/TRINITY/TrinityCore/src/common/GitRevision.h:21,
                 from /home/userlocal/TRINITY/TrinityCore/src/common/GitRevision.cpp:18:
/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 must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
In file included from /home/userlocal/TRINITY/TrinityCore/src/common/GitRevision.h:21:0,
                 from /home/userlocal/TRINITY/TrinityCore/src/common/GitRevision.cpp:18:
/home/userlocal/TRINITY/TrinityCore/src/common/Define.h:145:9: error: ‘int64_t’ does not name a type
 typedef int64_t int64;
         ^
/home/userlocal/TRINITY/TrinityCore/src/common/Define.h:146:9: error: ‘int32_t’ does not name a type
 typedef int32_t int32;
         ^
/home/userlocal/TRINITY/TrinityCore/src/common/Define.h:147:9: error: ‘int16_t’ does not name a type
 typedef int16_t int16;
         ^
/home/userlocal/TRINITY/TrinityCore/src/common/Define.h:148:9: error: ‘int8_t’ does not name a type
 typedef int8_t int8;
         ^
/home/userlocal/TRINITY/TrinityCore/src/common/Define.h:149:9: error: ‘uint64_t’ does not name a type
 typedef uint64_t uint64;
         ^
/home/userlocal/TRINITY/TrinityCore/src/common/Define.h:150:9: error: ‘uint32_t’ does not name a type
 typedef uint32_t uint32;
         ^
/home/userlocal/TRINITY/TrinityCore/src/common/Define.h:151:9: error: ‘uint16_t’ does not name a type
 typedef uint16_t uint16;
         ^
/home/userlocal/TRINITY/TrinityCore/src/common/Define.h:152:9: error: ‘uint8_t’ does not name a type
 typedef uint8_t uint8;