UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #847 2.2 trunk 10483 - can't compile all files - missing .h files
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    1. Very low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/847 Item 847] imported from sourceforge.net tracker on 2013-01-28 18:38:45

The errors I get while trying to compile some of the files:
ref_gl.dev:
26 D:\UFOAI SC\src\ref_gl\gl_anim.c In file included from ../../src/ref_gl/gl_anim.c
53 D:\UFOAI SC\src\ref_gl\gl_local.h SDL.h: No such file or directory.
54 D:\UFOAI SC\src\ref_gl\gl_local.h SDL_ttf.h: No such file or directory.
55 D:\UFOAI SC\src\ref_gl\gl_local.h SDL_syswm.h: No such file or directory.
26 D:\UFOAI SC\src\ref_gl\src\ref_gl\gl_anim.c In file included from ../../src/ref_gl/gl_local.h:391, from ../../src/ref_gl/gl_anim.c
26 D:\UFOAI SC\src\ref_gl\gl_anim.c from ../../src/ref_gl/gl_anim.c
11 D:\UFOAI SC\src\ref_gl\gl_font.h syntax error before "TTF_Font"
11 D:\UFOAI SC\src\ref_gl\gl_font.h [Warning] no semicolon at end of struct or union
12 D:\UFOAI SC\src\ref_gl\gl_font.h [Warning] type defaults to `int' in declaration of `rw'
12 D:\UFOAI SC\src\ref_gl\gl_font.h [Warning] data definition has no type or storage class
17 D:\UFOAI SC\src\ref_gl\gl_font.h syntax error before '}' token
17 D:\UFOAI SC\src\ref_gl\gl_font.h [Warning] type defaults to `int' in declaration of `font_t'
17 D:\UFOAI SC\src\ref_gl\gl_font.h [Warning] data definition has no type or storage class
D:\UFOAI SC\build\projects\Makefile.win [Build Error] [ref_gl/gl_anim.o] Error 1

snd_sdl.dev:
31 D:\UFOAI SC\src\ports\linux\snd_sdl.c In file included from ../../src/ports/linux/snd_sdl.c
17 D:\UFOAI SC\src\ports\linux\snd_sdl.h SDL.h: No such file or directory.
18 D:\UFOAI SC\src\ports\linux\snd_sdl.h SDL_version.h: No such file or directory.
40 D:\UFOAI SC\src\ports\linux\snd_sdl.c syntax error before "Uint8"
D:\UFOAI SC\src\ports\linux\snd_sdl.c In function `paint_audio':
45 D:\UFOAI SC\src\ports\linux\snd_sdl.c `stream' undeclared (first use in this function)
(Each undeclared identifier is reported only once
for each function it appears in.)
46 D:\UFOAI SC\src\ports\linux\snd_sdl.c `len' undeclared (first use in this function)
D:\UFOAI SC\src\ports\linux\snd_sdl.c In function `SND_Init':
55 D:\UFOAI SC\src\ports\linux\snd_sdl.c `SDL_AudioSpec' undeclared (first use in this function)
55 D:\UFOAI SC\src\ports\linux\snd_sdl.c syntax error before "desired"
58 D:\UFOAI SC\src\ports\linux\snd_sdl.c `SDL_version' undeclared (first use in this function)
58 D:\UFOAI SC\src\ports\linux\snd_sdl.c syntax error before "version"
68 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_VERSION'
68 D:\UFOAI SC\src\ports\linux\snd_sdl.c `version' undeclared (first use in this function)
71 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_WasInit'
71 D:\UFOAI SC\src\ports\linux\snd_sdl.c `SDL_INIT_EVERYTHING' undeclared (first use in this function)
72 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_Init'
72 D:\UFOAI SC\src\ports\linux\snd_sdl.c `SDL_INIT_AUDIO' undeclared (first use in this function)
73 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_GetError'
77 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_InitSubSystem'
83 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_AudioDriverName'
83 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] comparison between pointer and integer
87 D:\UFOAI SC\src\ports\linux\snd_sdl.c `desired' undeclared (first use in this function)
88 D:\UFOAI SC\src\ports\linux\snd_sdl.c `obtained' undeclared (first use in this function)
113 D:\UFOAI SC\src\ports\linux\snd_sdl.c `AUDIO_U8' undeclared (first use in this function)
116 D:\UFOAI SC\src\ports\linux\snd_sdl.c `SDL_BYTEORDER' undeclared (first use in this function)
116 D:\UFOAI SC\src\ports\linux\snd_sdl.c `SDL_BIG_ENDIAN' undeclared (first use in this function)
117 D:\UFOAI SC\src\ports\linux\snd_sdl.c `AUDIO_S16MSB' undeclared (first use in this function)
119 D:\UFOAI SC\src\ports\linux\snd_sdl.c `AUDIO_S16LSB' undeclared (first use in this function)
138 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_OpenAudio'
140 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_QuitSubSystem'
151 D:\UFOAI SC\src\ports\linux\snd_sdl.c `SDL_LIL_ENDIAN' undeclared (first use in this function)
159 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_CloseAudio'
177 D:\UFOAI SC\src\ports\linux\snd_sdl.c [Warning] implicit declaration of function `SDL_PauseAudio'
D:\UFOAI SC\src\ports\linux\snd_sdl.c In function `SND_Shutdown':
203 D:\UFOAI SC\src\ports\linux\snd_sdl.c `SDL_INIT_AUDIO' undeclared (first use in this function)
D:\UFOAI SC\build\projects\Makefile.win [Build Error] [../../src/ports/linux/snd_sdl.o] Error 1



Win XP SP1
Dev-C++ 4.9.9.2
===== Comments Ported from Sourceforge =====

====== hoehrer (2007-08-02 07:29:16) ======

Logged In: YES
user_id=1434318
Originator: NO

The code was rencently changed to used stuff like SDL.h (instead of SDL/SDL.h).

in Dev-C++ you need to extend your include paths in the compiler-settings:
"Tools" -> "Compiler Options" -> "Directories" -> "C-Includes"
add something like c:\Dev-Cpp\include\SDL (if your default DevCpp path is "c:\Dev-Cpp\include")

HTH?

Werner
====== smalul10 (2007-08-02 09:50:25) ======

Logged In: YES
user_id=1314813
Originator: YES

This did help, thanks.
You should change the game's wiki to include such information (http://ufoai.ninex.info/wiki/index.php/Dev-CPP).
Thanks again.
====== hoehrer (2007-08-02 14:40:05) ======

Logged In: YES
user_id=1434318
Originator: NO

I've updated the http://ufoai.ninex.info/wiki/index.php?title=Dev-CPP page. closing this 'bug' now for real :)

Werner
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif