LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2005, 04:36 PM   #1
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
Unhappy kdevelop and /usr/include


i decided to give kdevelop a go, so i've installed it and tested it out using the simple c++ sdl template and worked alright. but when i started one from scratch it seemed to be looking for headers in /usr/local/include, but mine were installed in /usr/include so i just created a link which sorted the problem, or so i thought! it works if the needed header is directly in the include dir, but if it's in it's own dir eg /usr/include/SDL/SDL.h it won't find it. what really p*sses me off is that it compiled perfectly by cmd line, before and after i created the /usr/local link.

any ideas would be greatly appreciated!
i'm getting tired of having three instances of kwrite AND a terminal hogging all the space on the task bar
cheers!
 
Old 02-14-2005, 03:11 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You probably need to add -I/usr/include/SDL to your project complation options.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/include/linux revsteban Debian 1 02-22-2005 10:41 PM
Kdevelop and #include-Path Glorfindel Programming 1 11-26-2004 11:16 AM
/usr/include/linux contains? alaios Linux - General 4 11-11-2004 10:34 PM
/usr/include/netdb.h on RH 8.0 nxny Red Hat 2 12-09-2003 05:16 PM
HELP! I've lost my /usr/include! bobthebat Linux - General 2 10-29-2001 12:36 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration