[hatari-devel] updates to cmake build system
npomarede at corp.free.fr
npomarede at corp.free.fr
Sun Mar 14 13:08:50 CET 2010
On Sat, 13 Mar 2010, George Nakos wrote:
> I ran the above command with a slight change (I call cmake-gui, I
> *hate* supplying paths by hand). After the usual fiddling around with
> the usual "can't find path for sdl" and stuff, this is what I ended up
> with:
>
> Could NOT find READLINE (missing: READLINE_LIBRARY READLINE_INCLUDE_DIR)
> Could NOT find PORTAUDIO (missing: PORTAUDIO_LIBRARY PORTAUDIO_INCLUDE_DIR)
> CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineRCCompiler.cmake:30 (MESSAGE):
> Could not find compiler set in environment variable RC:
>
> CMAKE_RC_COMPILER-NOTFOUND.
> Call Stack (most recent call first):
> src/CMakeLists.txt:67 (ENABLE_LANGUAGE)
>
>
> CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
> Missing variable is:
> CMAKE_RC_COMPILER_ENV_VAR
> CMake Error: Could not find cmake module file:C:/msys/1.0/home/Administrator/hatari/cunt/CMakeFiles/CMakeRCCompiler.cmake
> CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not found. Please set CMAKE_RC_COMPILER to a valid compiler path or name.
> Configuring incomplete, errors occurred!
>
Hello,
Do you have "windres" installed with mingw ?
If so, could you try to run : cmake -DCMAKE_RC_COMPILER=windres .
It seems cmake under windows is using some env var based on visual studio
and doesn't default to windres.
Nicolas
More information about the hatari-devel
mailing list