Kdevelop compiler search path

This is a discussion on Kdevelop compiler search path within the Linux Programming forums, part of the Platform Specific Boards category; After some good advise, I put Kdevelop on last night to learn and I'm playing with a project involving SDL. ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,752
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 02:02 PM
  2. exhaustive graph search
    By Cpro in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2008, 12:08 PM
  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21