qaze / violetland

Automatically exported from code.google.com/p/violetland
1 stars 0 forks source link

cmake error on Ubuntu 9.10: several NOTFOUND variables #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Downloaded and extracted violetland-v0.2.8.

first I did:
sudo apt-get install cmake
cd violetland-v0.2.8

Then, as per README_EN.TXT, did the following:
mkdir build
cd build
cmake ..

This results in:
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:
SDLIMAGE_INCLUDE_DIR
   used as include directory in directory /home/kostmo/violetland-v0.2.8
SDLIMAGE_LIBRARY
    linked by target "violetland" in directory /home/kostmo/violetland-v0.2.8
SDLMIXER_INCLUDE_DIR
   used as include directory in directory /home/kostmo/violetland-v0.2.8
SDLMIXER_LIBRARY
    linked by target "violetland" in directory /home/kostmo/violetland-v0.2.8
SDLTTF_INCLUDE_DIR
   used as include directory in directory /home/kostmo/violetland-v0.2.8
SDLTTF_LIBRARY
    linked by target "violetland" in directory /home/kostmo/violetland-v0.2.8
SDL_INCLUDE_DIR
   used as include directory in directory /home/kostmo/violetland-v0.2.8

-- Configuring incomplete, errors occurred!

My machine is 64-bit, btw.

Original issue reported on code.google.com by kostmo on 11 Feb 2010 at 7:47

GoogleCodeExporter commented 9 years ago
Update:
It worked after I did the following:

sudo apt-get install libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev

Original comment by kostmo on 11 Feb 2010 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by filecorpse@googlemail.com on 11 Feb 2010 at 12:28

GoogleCodeExporter commented 9 years ago
I think it would be helpful to add the requisite apt-get line to README_EN.TXT
(section 4).

That line is:
sudo apt-get install cmake libsdl-ttf2.0-dev libsdl-mixer1.2-dev 
libsdl-image1.2-dev

This would eliminate the trial-and-error aspect of Ubuntu compilation.

Original comment by kostmo on 12 Feb 2010 at 2:14