Technical support > Mac
2.3 release compilation issues
keybounce:
In an attempt to check the SDL issues by using the official release versions of SDL instead of the MacPorts versions, I'm getting an error from configure.
The problem turns out to be simple
gcc -o conftest -I/opt/local/include -arch i386 -arch ppc -L/opt/local/lib -arch i386 -arch ppc conftest.c -lSDL_image
Macports puts the SDL_image as a library in /opt/local/lib.
The official release puts it as a framework in /Library/Frameworks.
Changing that "-lSDL_image" into "-FSDL_image" makes it work.
But I can't figure out how to modify either configure.ac or configure to test for that.
This is probably going to affect all of SDL -- SDL_mixer, SDL_ttf, etc.
(actually, are those the only SDL parts that UfoAi uses?)
keybounce:
Now that 2.3 does not have an intro movie, does it still need either DivX or libtheora?
2.3's configure checks for both of these.
keybounce:
Mattn? Any answers?
Btw: To produce a .dmg now, you also need the p7zip port installed.
geever:
--- Quote from: keybounce on July 02, 2010, 08:12:22 am ---Now that 2.3 does not have an intro movie, does it still need either DivX or libtheora?
2.3's configure checks for both of these.
--- End quote ---
Xvid or theora. The OGM support is in 2.3 so, yes, needed.
-geever
keybounce:
Bumping
--- Quote from: keybounce on June 30, 2010, 11:49:14 pm ---In an attempt to check the SDL issues by using the official release versions of SDL instead of the MacPorts versions, I'm getting an error from configure.
The problem turns out to be simple
gcc -o conftest -I/opt/local/include -arch i386 -arch ppc -L/opt/local/lib -arch i386 -arch ppc conftest.c -lSDL_image
Macports puts the SDL_image as a library in /opt/local/lib.
The official release puts it as a framework in /Library/Frameworks.
Changing that "-lSDL_image" into "-FSDL_image" makes it work.
But I can't figure out how to modify either configure.ac or configure to test for that.
This is probably going to affect all of SDL -- SDL_mixer, SDL_ttf, etc.
(actually, are those the only SDL parts that UfoAi uses?)
--- End quote ---
Does anyone know autoconfig well enough to alter these? As I said, my goal is to get the official release versions of SDL (frameworks) used, to see if this fixes anything.
Navigation
[0] Message Index
[#] Next page
Go to full version