Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Different Include Path
Different Include Path [message #129414] Tue, 30 November 2004 11:09 Go to next message
Eclipse UserFriend
Originally posted by: MatthiasBecker.hamburg.de

Hello

i want to compile the applications i write for a special version of Linux. I
have all the necessary libarys and includes stored in
L:\cygwin\usr\local\Devel. Can someone tell me how to redirect the Includes of
a managed C-Projekt to this directory?

Thanks
Matt
Re: Different Include Path [message #129610 is a reply to message #129414] Wed, 01 December 2004 06:42 Go to previous messageGo to next message
Eclipse UserFriend
Matthias Becker wrote:

> Hello

> i want to compile the applications i write for a special version of Linux. I
> have all the necessary libarys and includes stored in
> L:cygwinusrlocalDevel. Can someone tell me how to redirect the Includes of
> a managed C-Projekt to this directory?

> Thanks
> Matt


Project --> Properties --> Add External Include Path

CC Vural
Re: Different Include Path [message #129614 is a reply to message #129610] Wed, 01 December 2004 06:45 Go to previous messageGo to next message
Eclipse UserFriend
Cavit Cahit VURAL wrote:

> Matthias Becker wrote:

>> Hello

>> i want to compile the applications i write for a special version of Linux.
I
>> have all the necessary libarys and includes stored in
>> L:cygwinusrlocalDevel. Can someone tell me how to redirect the Includes of
>> a managed C-Projekt to this directory?

>> Thanks
>> Matt


> Project --> Properties --> Add External Include Path

> CC Vural

Sorry :)

Project --> Properties --> C/C++ Include & Symbols --> Add External
Include Path
CC Vural
Re: Different Include Path [message #132370 is a reply to message #129614] Mon, 20 December 2004 17:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbonnemaison.nerim.fr

Cavit Cahit VURAL wrote:
> Cavit Cahit VURAL wrote:
>
>> Matthias Becker wrote:
>
>
>>> Hello
>
>
>>> i want to compile the applications i write for a special version of
>>> Linux.
>
> I
>
>>> have all the necessary libarys and includes stored in
>>> L:cygwinusrlocalDevel. Can someone tell me how to redirect the
>>> Includes of a managed C-Projekt to this directory?
>
>
>>> Thanks
>>> Matt
>
>
>
>> Project --> Properties --> Add External Include Path
>
>
>> CC Vural
>
>
> Sorry :)
>
> Project --> Properties --> C/C++ Include & Symbols --> Add External
> Include Path
> CC Vural
>
I have created a standard c/c++ project. Even if I specify the include
path in both "Project --> Properties --> C/C++ Include & Symbols --> Add
External Include Path" and makefile ("CFLAGS=-I/usr/include" or
"CFLAGS=-Ic:/progra~1/cygwin/usr/include"), I get a build error
"hello.c:1:19: stdio.h: No such file or directory".
What to do?
I'm using eclipse 3.0.1, cdt 2.0.2, cygwin with gcc 3.3.3. Cygwin is
installed in c:\program files\cygwin (c:\progra~1\cygwin).
Re: Different Include Path [message #132383 is a reply to message #132370] Mon, 20 December 2004 17:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbonnemaison.nerim.fr

ruddy wrote:
> I have created a standard c/c++ project. Even if I specify the include
> path in both "Project --> Properties --> C/C++ Include & Symbols --> Add
> External Include Path" and makefile ("CFLAGS=-I/usr/include" or
> "CFLAGS=-Ic:/progra~1/cygwin/usr/include"), I get a build error
> "hello.c:1:19: stdio.h: No such file or directory".
> What to do?
> I'm using eclipse 3.0.1, cdt 2.0.2, cygwin with gcc 3.3.3. Cygwin is
> installed in c:\program files\cygwin (c:\progra~1\cygwin).

Do I need to be administrator when using CDT?
Do I have to take care of security issue (ex: r/w on cygwin folder)?
Re: Different Include Path [message #132420 is a reply to message #132383] Tue, 21 December 2004 02:35 Go to previous messageGo to next message
Eclipse UserFriend
ruddy wrote:

> ruddy wrote:
>> I have created a standard c/c++ project. Even if I specify the include
>> path in both "Project --> Properties --> C/C++ Include & Symbols --> Add
>> External Include Path" and makefile ("CFLAGS=-I/usr/include" or
>> "CFLAGS=-Ic:/progra~1/cygwin/usr/include"), I get a build error
>> "hello.c:1:19: stdio.h: No such file or directory".
>> What to do?
>> I'm using eclipse 3.0.1, cdt 2.0.2, cygwin with gcc 3.3.3. Cygwin is
>> installed in c:program filescygwin (c:progra~1cygwin).

> Do I need to be administrator when using CDT?
> Do I have to take care of security issue (ex: r/w on cygwin folder)?

GNU utilities do not like spaces in file name or directory names.

Please install your cygwin to c:\cygwin, not C:\Program Files\Cygwin

CC Vural
Re: Different Include Path [message #132433 is a reply to message #132383] Tue, 21 December 2004 02:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbonnemaison.nerim.fr

ruddy wrote:
> ruddy wrote:
>
>> I have created a standard c/c++ project. Even if I specify the include
>> path in both "Project --> Properties --> C/C++ Include & Symbols -->
>> Add External Include Path" and makefile ("CFLAGS=-I/usr/include" or
>> "CFLAGS=-Ic:/progra~1/cygwin/usr/include"), I get a build error
>> "hello.c:1:19: stdio.h: No such file or directory".
>> What to do?
>> I'm using eclipse 3.0.1, cdt 2.0.2, cygwin with gcc 3.3.3. Cygwin is
>> installed in c:\program files\cygwin (c:\progra~1\cygwin).
>
>
> Do I need to be administrator when using CDT?
> Do I have to take care of security issue (ex: r/w on cygwin folder)?
Thie makefile was bad. I have missed to include the $(CFLAGS) in the gcc
command lines.
Re: Different Include Path [message #132656 is a reply to message #132420] Thu, 23 December 2004 15:07 Go to previous message
Eclipse UserFriend
Originally posted by: sbonnemaison.nerim.fr

Cavit Cahit VURAL wrote:
> ruddy wrote:
>
>> ruddy wrote:
>>
>>> I have created a standard c/c++ project. Even if I specify the
>>> include path in both "Project --> Properties --> C/C++ Include &
>>> Symbols --> Add External Include Path" and makefile
>>> ("CFLAGS=-I/usr/include" or
>>> "CFLAGS=-Ic:/progra~1/cygwin/usr/include"), I get a build error
>>> "hello.c:1:19: stdio.h: No such file or directory".
>>> What to do?
>>> I'm using eclipse 3.0.1, cdt 2.0.2, cygwin with gcc 3.3.3. Cygwin is
>>> installed in c:program filescygwin (c:progra~1cygwin).
>
>
>> Do I need to be administrator when using CDT?
>> Do I have to take care of security issue (ex: r/w on cygwin folder)?
>
>
> GNU utilities do not like spaces in file name or directory names.
>
> Please install your cygwin to c:\cygwin, not C:\Program Files\Cygwin
>
> CC Vural
>
It works nice using c:/progra~1/cygwin. I confirm, it's better to use
<c:/cygwin> to avoid problems.
Previous Topic:How to generate .a library
Next Topic:Develop ActiveX Control
Goto Forum:
  


Current Time: Thu May 08 12:50:43 EDT 2025

Powered by FUDForum. Page generated in 0.53161 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top