I'm trying to build SDL2 for Linux Mint 15. It requires Cmake, but when I try to run cmake, it gives me this error:
Code:
Prevented in-tree built. Please create a build directory outside of the SDL source code and call cmake from there
I get this message even when trying to build from an empty directory elsewhere in the file system. I've tried using a new build directory in the SDL2 directory, and in a new directory one level up from the SDL2 directory.
I read that on Windows systems, this can be caused by an out of date MingW version, so I checked the versions on gcc and cmake. They both seem to be current. I checked those because I *think* gcc is sort of the Linux versions of MingW.
Can someone help me figure out what I'm missing?
System:
HP 2000-416dx
AMD E-300 APU
Linux Mint 15 "Olivia" 64 bit
gcc version 4.7.3
cmake version 2.8.10.1