VOGONS

Common searches


First post, by cbreaker

User metadata
Rank Newbie
Rank
Newbie

So, I've compiled .72 on OSX 10.4.10 with the CoreMIDI patch and all is good. Unfortunately, the video speed is a little off.

Seems running this on Mac only supports the surface output module, and maybe that's not so quick?

If there any way to use one of the other outputs, such as OpenGL, on OSX? Any suggestions or patches on how that might be accomplished?

Thanks in advance.

Reply 1 of 2, by rhoenie

User metadata
Rank Newbie
Rank
Newbie

Build your SDL library like this:

cd SDL-1.2.12/
make distclean
./configure --prefix=/opt/dosbox --enable-static --enable-video-opengl \
--enable-video-cocoa --disable-video-x11 --enable-nasm --enable-cdrom
make

(replace /opt/dosbox with the prefix you want to use)

And your DOSBox like this:

cd dosbox-0.72/
make distclean
./configure --prefix=/opt/dosbox --enable-static --with-sdl-prefix=/opt/dosbox \
--enable-opengl --enable-fpu-x86 --enable-dynamic-x86
make

.. this should enable OpenGL support.

Ah yes.. you should have set a few environment variables before:

export PATH=/opt/dosbox/bin/:$PATH
export CPPFLAGS='-I/opt/dosbox/include -I/usr/X11R6/include -I/usr/include'
export CFLAGS='-I/opt/dosbox/include -I/usr/X11R6/include -I/usr/include'
export CXXFLAGS='-I/opt/dosbox/include -I/usr/X11R6/include -I/usr/include'
export LDFLAGS='-L/opt/dosbox/lib -L/usr/X11R6/lib -L/usr/lib'

.. as you could see you should also have Apples X11 (with its SDK) installed. Thats the place where the needed GLX headers are.