For Linux, please follow compilation procedures.
For Linux, remove suzumusi in binary directry. For my system it is /usr/local/bin/suzumusi
However the latest version is available at
For the Linux, SDL and SDL_mixer are required. Please install them in your system. Don't forget to install the developper's Library also. And Linux needs developper package to compile it.
In order to compile and install Suzumusi on your system, type the following in the base directory of the Suzumusi distribution:
% ./configure
% make
% make install
Since Suzumusi uses
autoconf
Copy sdl.m4 to acinclude.m4.in right after the preprocessor. Copy following text in configure.in.in. Your SDL_VERSION might be different. To find your SDL version, please check it with excuting "sdl-config --version" in your terminal.
dnl ---------------------------------------------------------------
dnl Check for SDL
SDL_VERSION=1.2.4
AM_PATH_SDL($SDL_VERSION,
:,
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
)
CFLAGS="$CFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS"
dnl ---------------------------------------------------------------
dnl ---------------------------------------------------------------
dnl Checks for libraries.
dnl Replace `main' with a function in -lSDL_mixer:
AC_CHECK_LIB(SDL_mixer,
main,
LIBS="$LIBS -lSDL_mixer",
AC_MSG_ERROR([*** SDL_mixer library not found!])
)
dnl ---------------------------------------------------------------
To add compiler option. Go to Project|Options|Compiler Options|Flags and Warnings Tab|C++ Compiler Flags (CXXFLAGS)|
then type in
`sdl-config --cflags`
To add Linker option, go to Project|Options|Compiler Options|Linker Flags|Additional flags:| and type in
`sdl-config --libs`
Then |project|DistClean, |project|autoconf and |project|configure. Them Build it.
Set up Run Time Environment 1st. Unzip the archives of SDL ( SDL-devel-x-x-x-win32.zip ) and SDL mixer ( SDL_mixer-devel-x-x-x-VC6.zip ). Then copy SDL.dll and SDL_mixer.dll into c:\windows\system or same folder where suzumusi.exe will be created.
To set up the Libraries, create the C++ project and Set the C runtime to "Multi-threaded DLL" in the menu: Project|Settings|C/C++ tab|Code Generation|Runtime Library.
Copy the SDL.lib and SDLmain.lib and SDL_mixer.lib to the directry where you want to have these libraries. Then include those libraries.
To set up the header files, copy bunch of header files comes with archive to any directry you want.
To let Visual C++ know the location of the header files and libraries, go to Project|Settings|C/C++ tab|Preprocessor|Additional include directories and type right directry of header files.
You should have not trouble with compiling it. Should you run into problems please report them to the the author at Nobuhiro Kuroiwa