UFO:Alien Invasion
Technical support => Mac => Topic started by: keybounce on May 16, 2009, 08:32:42 pm
-
Kleiman-ibook:trunk michael$ make clean
Making clean
Kleiman-ibook:trunk michael$ svn up
At revision 24430.
Kleiman-ibook:trunk michael$ make
* [UFO] src/client/cl_actor.c
* [UFO] src/client/cl_cinematic.c
* [UFO] src/client/cl_cinematic_roq.c
* [UFO] src/client/cl_cinematic_ogm.c
src/client/cl_cinematic_ogm.c:26:2: error: #error "No ogm support compiled into the binary"
src/client/cl_cinematic_ogm.c:26:2: error: #error "No ogm support compiled into the binary"
{standard input}:1470:non-relocatable subtraction expression, "_ogmCin" minus "L00000000010$pb"
{standard input}:1470:symbol: "_ogmCin" can't be undefined in a subtraction expression
{standard input}:1460:non-relocatable subtraction expression, "_ogmCin_yuvTable" minus "L00000000010$pb"
{standard input}:1460:symbol: "_ogmCin_yuvTable" can't be undefined in a subtraction expression
{standard input}:1450:non-relocatable subtraction expression, "_ogmCin_yuvTable" minus "L00000000010$pb"
This continues for a long time.
-
please re-run ./configure
-
Dies with
...
checking xvid.h usability... no
checking xvid.h presence... no
checking for xvid.h... no
configure: WARNING: Could not find the Xvid development headers
checking for THEORA... no
checking theora/theora.h usability... no
checking theora/theora.h presence... no
checking for theora/theora.h... no
configure: error: Could not find the Theora development headers nor the Xvid developement headers
Kleiman-ibook:trunk michael$
Looks like another library is needed -- which one?
-
To clarify:
Kleiman-ibook:trunk michael$ port search xvid
xorg-libXv @1.0.4 (x11, devel)
X.org libXv
xorg-libXvMC @1.0.4 (x11, devel)
X.org libXvMC
xorg-videoproto @2.2.2 (x11, devel)
X.org videoproto
XviD @1.1.3 (multimedia, devel)
High performance and high quality MPEG-4 video library
Found 4 ports.
Kleiman-ibook:trunk michael$ port search theora
libtheora @1.0 (multimedia)
Xiph.org Foundation's open video codec
oggsplit @0.1.0 (audio)
Split multiplexed (grouped or chained) Ogg files into separate streams
py-mutagen @1.15 (python, audio, devel)
A Python module to handle audio metadata
py25-mutagen @1.15 (python, audio, devel)
A Python module to handle audio metadata
Found 4 ports.
So libtheora looks like a candidate, but then there's two xorg candidates, and an xvid candidate.
So what's the one that I want? (This isn't my area of expertise :-)
-
Ok, for now using the "obvious" of
sudo port install XviD +universal
Configure works, at least...
-
at least means what?... compiling is still not working?
-
Compiling some maps right now ...
-
you should also install libtheora to be able to play back ogm cinematics
-
So I need both XviD and Theora. OK.
24430 runs. However, the same graphics issue -- graphics are messed up badly unless both realtime lighting and GLSL shaders are turned on -- still exists and makes things unplayable.
Also: On Wilderness, with both realtime lighting and shaders, I get lots and lots of error messages that say
Too many particles (don't add burnFlame) - exceeded 2048
PC_SPAWN: Could not spawn child particle for 'camping_fire'
Too many particles (don't add burnFlame) - exceeded 2048
PC_SPAWN: Could not spawn child particle for 'camping_fire'
Too many particles (don't add burnFlame) - exceeded 2048
PC_SPAWN: Could not spawn child particle for 'camping_fire'
Too many particles (don't add burnFlame) - exceeded 2048
PC_SPAWN: Could not spawn child particle for 'camping_fire'
Too many particles (don't add burnFlame) - exceeded 2048
PC_SPAWN: Could not spawn child particle for 'camping_fire'
Too many particles (don't add burnFlame) - exceeded 2048
-
could you maybe update the article (http://ufoai.ninex.info/wiki/index.php/Compile_for_Mac) in the wiki about compiling on a mac?
-
I thought I did. Will double check
EDIT: Yes, it was updated. The section on the libraries required, using MacPorts, now says
... libpng +universal XviD +universal libtheora +universal
I didn't update the fink section, as I don't use fink and can't be certain what it takes.
-
thanks - haven't seen this.