For Linux : Please obtain paragui, SDL, SDL_image and SGE library.
For Windows : Libraries (DLLs) are included in the distribution.
For the Windows users : This section can be skipped if you are you are not interested in.
For the Linux users : Please follow the direction below.
`sdl-config --cflags` `paragui-config --cflags` `freetype-config --cflags`
Then, set following to Compiler Options|Flags and Warnings|LinkerFlags|Additional flags
`sdl-config --libs` `paragui-config --libs` `freetype-config --libs`
Add following to confing.in.in
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 ---------------------------------------------------------------
dnl ---------------------------------------------------------------
dnl Checks for libraries.
dnl Replace `main' with a function in -lSGE:
AC_CHECK_LIB(SGE,
main,
LIBS="$LIBS -lSGE",
AC_MSG_ERROR([*** SGE library not found!])
)
dnl ---------------------------------------------------------------
CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__
Add SDL.m4 to acinclude.m4.in.
Finally, DistClean, Autoconf and automake, and configure.
Obtain header files and libs of paragui, SDL, SDL_image and SGE. Please reffer following libraries' web sites for the details.
SDL, SDL_image, ParaGUI SGE, Using SDL with Microsoft Visual C++ 5,6 and 7
Include source and header files of sankaku in your C++ project.
Set the C runtime to "Multi-threaded DLL" in the menu: Project|Settings|C/C++ tab|Code Generation|Runtime Library
Set always generic class to c++ language category in the menu: Project|Settings|C/C++ tab|C/C++ Language|Pointer to member
Set paragui.lib SDLmain.lib SDL.lib SDL_image.lib SGE.lib to the Object Library Module in Project|Settings|Link.
That's it.