<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all,</p>
<p>first of all it is right to say that I'm newbie on kdevelop, C++
and SDL. Than the question:<br>
</p>
<p>I begin to setting up a new project with SDL2 and all is ok, I
can compile, execute and so on. But there is an annoying thing:
the language support doesn't work well. It highlights a lot of
error and doesn't suggest properly, not recognising some SDL
function or struct.</p>
<p>The strange thing is that some function like
"SDL_CreateTextureFromSurface" is recognized other not, like
"SDL_LoadBMP" or struct like "SDL_Texture".</p>
<p>I attach a screenshot showing that.</p>
<p>In the included file SDL_Renderer.h I see:<i><br>
</i></p>
<p><i>/**</i><br>
<i> * \brief An efficient driver-specific representation of pixel
data</i><br>
<i> */</i><br>
<i>struct SDL_Texture;</i><br>
<i>typedef struct SDL_Texture SDL_Texture;</i><br>
<br>
</p>
<p>without an explicit definition of the struct..<br>
</p>
<p>Do some one know how to fix this behaviour?</p>
<p>Thanks <br>
</p>
<p>Best Regards</p>
<p>Luca<br>
</p>
<p><br>
</p>
</body>
</html>