[hatari-devel] CMake build system

Thomas Huth th.huth at gmx.de
Sun Jan 17 22:40:18 CET 2010


On Sun, 17 Jan 2010 20:00:08 +0200
George Nakos <ggn at hol.gr> wrote:
> 
> I  just  did  a  hg pull/update. This time, when I ran cmake-gui .. it
> asked  me  about  the  kind of makefile I want to create (which is the
> normal case for another project I tried some months back).
> 
> It still complains about libpng etc, take a look at the output:
> 
> Could NOT find READLINE  (missing:  READLINE_LIBRARY
> READLINE_INCLUDE_DIR) Could NOT find ZLIB  (missing:  ZLIB_LIBRARIES
> ZLIB_INCLUDE_DIRS) Could NOT find ZLIB  (missing:  ZLIB_LIBRARIES
> ZLIB_INCLUDE_DIRS) Could NOT find PNG  (missing:  PNG_LIBRARY
> PNG_PNG_INCLUDE_DIR) Could NOT find PORTAUDIO  (missing:
> PORTAUDIO_LIBRARY PORTAUDIO_INCLUDE_DIR) Could NOT find PythonInterp
> (missing:  PYTHON_EXECUTABLE)

That's not a problem, these are just informative warnings that an
optional library has not been found.


> CMake Error: The following variables
> are used in this project, but they are set to NOTFOUND. Please set
> them or make sure they are set and tested correctly in the CMake
> files: SDL_INCLUDE_DIR

That's the real problem: cmake did not find your SDL header files.
Hatari can not be compiled w/o the SDL, so you've got to make sure that
cmake can find the SDL headers.

 Thomas



More information about the hatari-devel mailing list