Thread: Kdevelop compiler search path

  1. #1
    Registered User eth0's Avatar
    Join Date
    Dec 2003
    Posts
    164

    Kdevelop compiler search path

    After some good advise, I put Kdevelop on last night to learn and I'm playing with a project involving 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?

    Thanks
    Open source isn't a matter of life or death......
    .......its much more important than that!!


    SuSE Linux - GCC 3.4.2
    XP Pro - Visual Studio 2005 TS, MinGW 3.4.2

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    You should be able to specify in the project additional search directories

    Or at the very least, your own additional compiler command line options
    Which would be
    -I/usr/include/SDL
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Though implementation problem
    By Elysia in forum C++ Programming
    Replies: 296
    Last Post: 05-31-2008, 01:02 PM
  2. exhaustive graph search
    By Cpro in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2008, 11:08 AM
  3. Simple search program
    By colinuk in forum C Programming
    Replies: 6
    Last Post: 12-18-2004, 01:58 AM
  4. Can't fix compiler error
    By cgmacewindu in forum C++ Programming
    Replies: 1
    Last Post: 12-02-2002, 04:29 PM
  5. can't figure out the compiler error
    By cgmacewindu in forum C++ Programming
    Replies: 2
    Last Post: 12-01-2002, 07:45 PM