Bonjour,
Lorsque je veut compiler mon programme utilisant la sdl 2.0
j'ai ce type d'erreurs:
Après moult recherche personne n'a le même problème si quelqu'un pouvait m'aider sachant avant certains changement (ne touchant ni au linkage ni au include) le programme compilait.
Code : 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57 include nux/include/SDL/SDL_stdinc.h|128|error: uint8_t does not name a type| include nux/include/SDL/SDL_stdinc.h|136|error: uint16_t does not name a type| include nux/include/SDL/SDL_stdinc.h|144|error: uint32_t does not name a type| include nux/include/SDL/SDL_stdinc.h|153|error: uint64_t does not name a type| include nux/include/SDL/SDL_stdinc.h|162|error: Uint8 was not declared in this scope| include nux/include/SDL/SDL_stdinc.h|164|error: Uint16 was not declared in this scope| include nux/include/SDL/SDL_stdinc.h|166|error: Uint32 was not declared in this scope| include nux/include/SDL/SDL_stdinc.h|168|error: Uint64 was not declared in this scope| include nux/include/SDL/SDL_stdinc.h|547|warning: SDL_ulltoa initialized and declared extern| include nux/include/SDL/SDL_stdinc.h|547|error: Uint64 was not declared in this scope| include nux/include/SDL/SDL_stdinc.h|547|error: expected primary-expression before char| include nux/include/SDL/SDL_stdinc.h|548|error: expected primary-expression before int| include nux/include/SDL/SDL_stdinc.h|548|error: initializer expression list treated as compound expression| include nux/include/SDL/SDL_stdinc.h|561|error: Uint64 does not name a type| include nux/include/SDL/SDL_endian.h|84|error: Uint16 does not name a type| include nux/include/SDL/SDL_endian.h|122|error: Uint32 does not name a type| include nux/include/SDL/SDL_endian.h|174|error: Uint64 does not name a type| include nux/include/SDL/SDL_endian.h||In function float SDL_SwapFloat(float):| include nux/include/SDL/SDL_endian.h|204|error: Uint32 does not name a type| include nux/include/SDL/SDL_endian.h|207|error: union SDL_SwapFloat(float)::<anonymous> has no member named ui32| include nux/include/SDL/SDL_endian.h|207|error: union SDL_SwapFloat(float)::<anonymous> has no member named ui32| include nux/include/SDL/SDL_endian.h|207|error: SDL_Swap32 was not declared in this scope| include nux/include/SDL/SDL_mutex.h|107|warning: SDL_CreateSemaphore initialized and declared extern| include nux/include/SDL/SDL_mutex.h|107|error: Uint32 was not declared in this scope| include nux/include/SDL/SDL_mutex.h|138|error: Uint32 has not been declared| include nux/include/SDL/SDL_mutex.h|150|error: Uint32 does not name a type| include nux/include/SDL/SDL_mutex.h|233|error: Uint32 has not been declared| include nux/include/SDL/SDL_rwops.h|82|error: Uint32 does not name a type| include nux/include/SDL/SDL_rwops.h|121|error: Uint8 does not name a type| include nux/include/SDL/SDL_rwops.h|122|error: Uint8 does not name a type| include nux/include/SDL/SDL_rwops.h|123|error: Uint8 does not name a type| include nux/include/SDL/SDL_rwops.h|186|error: Uint16 does not name a type| include nux/include/SDL/SDL_rwops.h|187|error: Uint16 does not name a type| include nux/include/SDL/SDL_rwops.h|188|error: Uint32 does not name a type| include nux/include/SDL/SDL_rwops.h|189|error: Uint32 does not name a type| include nux/include/SDL/SDL_rwops.h|190|error: Uint64 does not name a type| include nux/include/SDL/SDL_rwops.h|191|error: Uint64 does not name a type| include nux/include/SDL/SDL_rwops.h|200|error: Uint16 has not been declared| include nux/include/SDL/SDL_rwops.h|201|error: Uint16 has not been declared| include nux/include/SDL/SDL_rwops.h|202|error: Uint32 has not been declared| include nux/include/SDL/SDL_rwops.h|203|error: Uint32 has not been declared| include nux/include/SDL/SDL_rwops.h|204|error: Uint64 has not been declared| include nux/include/SDL/SDL_rwops.h|205|error: Uint64 has not been declared| include nux/include/SDL/SDL_audio.h|66|error: Uint16 does not name a type| include nux/include/SDL/SDL_audio.h|165|error: Uint8 has not been declared| include nux/include/SDL/SDL_audio.h|174|error: SDL_AudioFormat does not name a type| include nux/include/SDL/SDL_audio.h|175|error: Uint8 does not name a type| include nux/include/SDL/SDL_audio.h|176|error: Uint8 does not name a type| include nux/include/SDL/SDL_audio.h|177|error: Uint16 does not name a type| include nux/include/SDL/SDL_audio.h|178|error: Uint16 does not name a type| include nux/include/SDL/SDL_audio.h|179|error: Uint32 does not name a type| include nux/include/SDL/SDL_audio.h|187|error: SDL_AudioFormat has not been declared| include nux/include/SDL/SDL_audio.h|195|error: SDL_AudioFormat does not name a type| ||More errors follow but not being shown.| ||Edit the max errors limit in compiler options...| ||=== Build finished: 50 errors, 10 warnings (0 minutes, 7 seconds) ===|
Merci a vous.
Partager