hi,
I have the problem that kdevelope does not compile when i create a c++ simple sdl program.

here is the code,

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <iostream>
#include <stdlib.h>
#include "SDL.h"

using namespace std;

int main(int argc, char *argv[])
{
cout <<"Initializing SDL." << endl;
/* Initializes Audio and the CDROM, add SDL_INIT_VIDEO for Video */
if(SDL_Init(SDL_INIT_AUDIO | SDL_INIT_CDROM)< 0) {
cout <<"Could not initialize SDL:" << SDL_GetError() << endl;
SDL_Quit();
} else {
cout << "Audio & CDROM initialized correctly" << endl;;
/* Trying to read number of CD devices on system */
cout << "Drives available :" << SDL_CDNumDrives() << endl;
for(int i=0; i < SDL_CDNumDrives(); ++i) {
cout << "Drive " << i << "\"" << SDL_CDName(i) << "\"";
}
}
SDL_Quit();
}

and here are the errors,

cd "/home/smith/programms/s" && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs && mkdir "/home/smith/programms/s/debug" && cd "/home/smith/programms/s/debug" && CXXFLAGS="-O0 -g3" "/home/smith/programms/s/configure" --enable-debug=full && cd "/home/smith/programms/s/debug" && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
*installing -c
*compiling no (gcc)
*/home/smith/programms/s/src/s.cpp:27:17: SDL.h: No such file or directory
*/home/smith/programms/s/src/s.cpp:35: error: `SDL_INIT_AUDIO' undeclared (first use this function)
*/home/smith/programms/s/src/s.cpp:35: error: `SDL_INIT_CDROM' undeclared (first use this function)
*/home/smith/programms/s/src/s.cpp:35: error: `SDL_Init' undeclared (first use this function)
*/home/smith/programms/s/src/s.cpp:36: error: `SDL_GetError' undeclared (first use this function)
*/home/smith/programms/s/src/s.cpp:37: error: `SDL_Quit' undeclared (first use this function)
*/home/smith/programms/s/src/s.cpp:41: error: `SDL_CDNumDrives' undeclared (first use this function)
*/home/smith/programms/s/src/s.cpp:43: error: `SDL_CDName' undeclared (first use this function)
**** Exited with status: 2 ***

I would appreciate any help

Thank you,