LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2005, 07:02 AM   #1
pujolasdf
Member
 
Registered: Feb 2005
Posts: 70

Rep: Reputation: 15
Trying to program an SDL application but cannot find the SDL.h file:SuSE 9.2&KDevelop


no text
 
Old 03-13-2005, 07:17 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Disclaimer: I am not a programmer.

Have you got all the nessecary SDL source files/development packages?
 
Old 03-13-2005, 07:25 AM   #3
pujolasdf
Member
 
Registered: Feb 2005
Posts: 70

Original Poster
Rep: Reputation: 15
I think so, because I've installed all SDL-related packages in my distro (see above).
 
Old 03-13-2005, 07:40 AM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
You could try removing those packages and installing from source... a bit long winded though. I take it you have done "find" and/or "slocate" for the file? Maybe you should be looking for "libSDL.h"? just a guess...
 
Old 03-13-2005, 07:50 AM   #5
pujolasdf
Member
 
Registered: Feb 2005
Posts: 70

Original Poster
Rep: Reputation: 15
Ok. I have installed it from a RPM at http://www.libsdl.org, browsed it and found that what I should type, actually, is #include <SDL/SDL.h> not #include <SDL.h> as comes by default ;D. Thanks to everyone.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc cant find SDL.h, but its there! unholy Programming 27 06-11-2010 01:16 AM
SDL problem... simple program. RHLinuxGUY Programming 1 07-22-2005 06:04 PM
Looking for an IDE to program using SDL pujolasdf Linux - Software 2 04-02-2005 04:31 PM
KDevelop & SDL Corant Programming 4 07-15-2004 06:31 AM
KDevelop and SDL Eponick Linux - Software 1 06-20-2004 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration