ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
the automake manager was in kdevelop3 and is not part of kdevelop4
you can use cmake with kdevelop4, for cmake there is a find_sdl module.
what you need is libSDL and libpthread
so it usually it is enough to call
g++ sdltest.cpp -lSDL -lpthread -o sdltest
I could have mentioned that I got both libSDL1.2-dev and it also seems that lpthread thing is installed. I've got a SDL-program running in Code_::Blocks but I want it to run just as smooth (hopefully smoother) in KDevelop.
I can see the cmake settings (project configuration) but I don't understand what you're recommending me to do.
Notice that there there isn't any 'l' before pthread.
If you're new to KDevelop and get this error msg: "No valid executable specified" it means that you have to go Run>Configure Launches>. Select your project name to the left, press +, select the project again under project target.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.