Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have the following error when compiling defendguin:
make
make: sdl-config: Command not found
make: sdl-config: Command not found
cc -Wall -DDATA_PREFIX="/usr/local/share/defendguin/" -D__SOUND -DJOY_YES src/defendguin.c -c -o obj/defendguin.o
src/defendguin.c:25:17: fatal error: SDL.h: No such file or directory
#include <SDL.h>
^
compilation terminated.
make: *** [obj/defendguin.o] Error 1
I have libSDL packages installed
Opensuse 13.1 64bit os
Last edited by sirius57; 12-01-2018 at 08:57 PM.
Reason: need to include what linux distro is used
After searching my system, I have libsdl_mixer-1_2-0 installed, however, I can not find it. I have what appears to be all the sdl and sdl mixer files. The sdl folder I can find, but I can not find the mixer folder or the sdl mixer header file. If libsdl_mixer is listed, then it is installed. How do I include the mixer when doing the compile?
If I understand what the code in your post refers to, that I have to associate the compiler with the mixer? I am trying to compile Defendguin.
Listed below is the make file:
using iname for no case senitive search, if you cannot find them, then do a wild card search for the files, they maybe under a name that is not exectly like it is looking for. If so, then just hack your code to make them match what you have on your system. that is what I'd do.
glad if you manage to compile it!
but i just wanted to mention that the last time this package received any sort of update was 2009. a LOT has changed since then. compilers, libraries...
there's also a precompiled version, maybe it works?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.