project-navigation
Personal tools

Author Topic: 24430: Cannot compile on G4 ("no ogm support")  (Read 5648 times)

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
24430: Cannot compile on G4 ("no ogm support")
« 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.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #1 on: May 16, 2009, 08:37:30 pm »
please re-run ./configure

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #2 on: May 16, 2009, 09:08:44 pm »
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?

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #3 on: May 16, 2009, 09:23:47 pm »
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 :-)

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #4 on: May 16, 2009, 09:34:24 pm »
Ok, for now using the "obvious" of
sudo port install XviD +universal

Configure works, at least...

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #5 on: May 16, 2009, 09:40:26 pm »
at least means what?... compiling is still not working?

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #6 on: May 16, 2009, 10:25:27 pm »
Compiling some maps right now ...

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #7 on: May 16, 2009, 10:27:22 pm »
you should also install libtheora to be able to play back ogm cinematics

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #8 on: May 17, 2009, 12:44:12 am »
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

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #9 on: June 29, 2009, 08:15:26 pm »
could you maybe update the article in the wiki about compiling on a mac?

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #10 on: June 30, 2009, 03:02:48 am »
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.
« Last Edit: June 30, 2009, 03:05:40 am by keybounce »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 24430: Cannot compile on G4 ("no ogm support")
« Reply #11 on: June 30, 2009, 07:21:00 am »
thanks - haven't seen this.