8 Jun
2004
8 Jun
'04
20:49
On Saturday 05 June 2004 00:28, Gedi wrote:
Hi all,
I'm new to programming in Linux and have picked up Kdevelop in the last few days. I'm currently building my first project with C++ and am playing with SDL.
However, when I try and compile, i'm being told that SDL.h cannot be found.
The compiler only appears to be looking in /usr/include/g++ and my SDL libraries are in /usr/include/SDL
How can I open up its search path?
Assuming you are using the automake buildsystem, you can open up the automake manager tab and click on the subproject settings and set some "external" include paths there. You are probably looking for a command, like `sdl-config --cflags` for includes and `sdl-config --libs` for external linking. Regards, -- tinus.