2004-01-20 18:51:32 +00:00
|
|
|
|
|
|
|
%%% Local Variables:
|
|
|
|
%%% mode: latex
|
|
|
|
%%% TeX-master: "readme"
|
|
|
|
%%% End:
|
|
|
|
|
|
|
|
\section{Compiling}
|
|
|
|
|
|
|
|
You need SDL-1.2.2 or newer (older versions may work, but are unsupported), and
|
|
|
|
a supported compiler. Several compilers, including GCC, mingw and Microsoft
|
|
|
|
Visual C++ are supported. If you wish to use MP3-compressed CD tracks or
|
|
|
|
.SOU files, you will need to install the MAD library and define
|
|
|
|
USE\_MAD. Tools for compressing .SOU files to .SO3 files can be
|
2004-01-20 21:49:46 +00:00
|
|
|
found in the 'tools' CVS module, or in the 'scummvm-tools' package.
|
|
|
|
|
2004-01-20 18:51:32 +00:00
|
|
|
On Win9x/NT/XP you can define USE\_WINDBG and attach WinDbg to browse debug
|
2004-02-08 22:52:53 +00:00
|
|
|
messages (see \url{http://www.sysinternals.com/ntw2k/freeware/debugview.shtml}).
|
2004-01-20 21:49:46 +00:00
|
|
|
|
2004-01-30 23:39:56 +00:00
|
|
|
\subsection{GCC}
|
2004-01-20 18:51:32 +00:00
|
|
|
\begin{itemize}
|
2004-01-30 23:39:56 +00:00
|
|
|
\item Type \texttt{./configure}
|
|
|
|
\item Type \texttt{make} (or \texttt{gmake}, or \texttt{gnumake}, depending
|
|
|
|
on what GNU make is called on your system) and hopefully ScummVM will
|
|
|
|
compile for you.
|
2004-01-20 18:51:32 +00:00
|
|
|
\end{itemize}
|
2004-02-09 06:51:04 +00:00
|
|
|
\subsection{Microsoft Visual C++ 6.0}
|
2004-01-20 18:51:32 +00:00
|
|
|
\begin{itemize}
|
|
|
|
\item Open the workspace, scummwm.dsw
|
2004-02-09 06:51:04 +00:00
|
|
|
\item Enter the path to the needed libraries and includes in
|
|
|
|
Tools|Options|Directories
|
|
|
|
\item Now it should compile successfully.
|
|
|
|
\end{itemize}
|
|
|
|
\subsection{Microsoft Visual C++ 7.0}
|
|
|
|
\begin{itemize}
|
|
|
|
\item Open the solution file scummwm.sln
|
|
|
|
\item Enter the path to the needed libraries and includes in
|
2004-01-20 18:51:32 +00:00
|
|
|
Tools|Options|Directories
|
|
|
|
\item Now it should compile successfully.
|
|
|
|
\end{itemize}
|
2004-01-30 23:39:56 +00:00
|
|
|
\subsection{PocketPC Windows CE}
|
2004-01-20 18:51:32 +00:00
|
|
|
\begin{itemize}
|
|
|
|
\item Download the SDLAudio library:\\
|
2004-02-08 22:52:53 +00:00
|
|
|
\url{http://arisme.free.fr/PocketScumm/sources/SDLAudio-1.2.3-src.zip}
|
2004-01-20 18:51:32 +00:00
|
|
|
\item Open and compile the SDLAudio WCEBuild/WCEBuild workspace in
|
|
|
|
EVC++
|
|
|
|
\item Open the ScummVM wince/PocketScumm workspace
|
|
|
|
\item Enter the SDLAudio directory to your includes path
|
|
|
|
\item Enter the compiled SDLAudio.lib to your link libraries list
|
|
|
|
\item Now it should compile successfully
|
|
|
|
\end{itemize}
|
2004-01-30 23:39:56 +00:00
|
|
|
\subsection{Debian GNU/Linux}
|
2004-01-20 18:51:32 +00:00
|
|
|
\begin{itemize}
|
|
|
|
\item Install the packages 'build-essential', 'fakeroot', 'debhelper',
|
|
|
|
and 'libsdl1.2-dev' on your system.
|
|
|
|
\item nstall any of these packages (optional): 'libvorbis-dev' (for Ogg
|
|
|
|
Vorbis support), 'libasound2-dev' (for ALSA sequencer support),
|
|
|
|
'libmad0-dev' (for MAD MP3 support), 'zlib1g-dev' (for compressed
|
|
|
|
saves support).
|
|
|
|
\item Run 'make deb'
|
|
|
|
\item Finally run 'dpkg -i ../scummvm-cvs*deb', and you're done.
|
|
|
|
\end{itemize}
|
2004-01-30 23:39:56 +00:00
|
|
|
\subsection{Mac OS X}
|
2004-01-20 18:51:32 +00:00
|
|
|
\begin{itemize}
|
|
|
|
\item Make sure you have the developer tools installed.
|
2004-01-30 23:39:56 +00:00
|
|
|
\item The SDL developer package for OS X available on the SDL web site is
|
|
|
|
\textit{not} suitable. Rather, you require a unix-style build of SDL. One
|
2004-02-08 22:52:53 +00:00
|
|
|
way to get that is to install SDL via Fink (\url{http://fink.sf.net}).
|
2004-01-30 23:39:56 +00:00
|
|
|
Alternatively you could compile SDL manually from source using its
|
|
|
|
unix build system (\texttt{configure \&\& make}).
|
|
|
|
\item Type \texttt{./configure} in the ScummVM directory
|
|
|
|
\item You can now type \texttt{make} to create a command line binary.
|
|
|
|
\item To get a version you can run from Finder, type \texttt{make bundle} which
|
|
|
|
will create ScummVM.app (this only works if you installed SDL
|
|
|
|
etc. via Fink and into /sw. If you have installed SDL in another
|
|
|
|
way, you'll have to edit the Makefile).
|
|
|
|
\end{itemize}
|