ilia_kr Posted November 6, 2008 Report Share Posted November 6, 2008 (edited) 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 November 7, 2008 by ilia_kr Quote Link to comment Share on other sites More sharing options...
{BBI}Nexus{BBI} Posted November 7, 2008 Report Share Posted November 7, 2008 It looks to me like the errors are all SDL related. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted November 7, 2008 Author Report Share Posted November 7, 2008 So what? How do i solve this, have any idea? Quote Link to comment Share on other sites More sharing options...
adamw Posted November 7, 2008 Report Share Posted November 7, 2008 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. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted November 7, 2008 Author Report Share Posted November 7, 2008 checking that... Why is it bad to build as root? Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted November 7, 2008 Author Report Share Posted November 7, 2008 You're right, adamw, I didn't have SDL_devel package. Thank you very much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.