Jump to content
ilia_kr

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...