Jump to content

error while compiling with cmake [solved]


Recommended Posts

Hi,

So I want to compile hedgewars on openSuse and this is the error i get:

 

suse:/home/ilia/Desktop/hedgewars-src-0.9.7 # cmake .
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:
SDLMIXER_INCLUDE_DIR
  used as include directory in directory /home/ilia/Desktop/hedgewars-src-0.9.7/QTfrontend
SDLMIXER_LIBRARY
linked by target "hedgewars" in directory /home/ilia/Desktop/hedgewars-src-0.9.7/QTfrontend
SDL_INCLUDE_DIR
  used as include directory in directory /home/ilia/Desktop/hedgewars-src-0.9.7/QTfrontend

-- Configuring incomplete, errors occurred!
suse:/home/ilia/Desktop/hedgewars-src-0.9.7 #

 

I think i must tell cmake where are QT files located, but I'm not sure where to find them.

How do I solve this?

 

Thanks again...

Edited by ilia_kr
Link to comment
Share on other sites

First, don't do builds as root. It's pointless and dangerous. You only need to do the install step as root.

 

Second, it looks to me like you're missing the SDL development package. I don't know what that would be called on SUSE.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...