Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT & Cygwin
CDT & Cygwin [message #101624] Wed, 05 May 2004 22:10 Go to next message
Eclipse UserFriend
Hi,
sorry for reposting. but i still cannot make it work.
I added e:\cygwin\bin\ to my path. when i go "make" (or any other commands
like g++) on run command, it works. so i am not sure why it is not working
from eclipse. Also, "build project" and "build all" are inactive. how do i
fix this? any help is appreciated! :)
thanks
Re: CDT & Cygwin [message #101638 is a reply to message #101624] Wed, 05 May 2004 22:42 Go to previous messageGo to next message
Eclipse UserFriend
ok this is what i get now.

main.cpp:1:19: iostream: no such file or directory
and consequently cout undeclared and stuff.

i thought cygwin came with all the header files? just like gcc in linux? do
i have to download the library separetely?

thanks


"R" <kahcor@yahoo.com> wrote in message news:c7c6e2$orc$1@eclipse.org...
> Hi,
> sorry for reposting. but i still cannot make it work.
> I added e:\cygwin\bin\ to my path. when i go "make" (or any other commands
> like g++) on run command, it works. so i am not sure why it is not working
> from eclipse. Also, "build project" and "build all" are inactive. how do i
> fix this? any help is appreciated! :)
> thanks
>
>
Re: CDT & Cygwin [message #101736 is a reply to message #101624] Fri, 07 May 2004 10:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sanchezl.us.ibm.com

Try creating a shortcut with the following as it's target (it's all one
line):

D:\cygwin\bin\bash.exe --login -c "D:/eclipse/3.0M8/eclipse.exe
-data `cygpath --windows /d/workspace/`
-vm `cygpath --windows /d/sun/j2sdk1.4.2_03/jre/bin/javaw.exe`"

Of course, use your own paths when appropriate and include/exclude
whatever parameters you need to start eclipse with.

Doing the above will remove the need to all Cygwin's bin directory to
your path, but will leave open a command line window. :(

Make sure that you have installed everything needed for the compiler to
work. One way to do this is to install EVERTHING when you install cygwin.

R wrote:
> Hi,
> sorry for reposting. but i still cannot make it work.
> I added e:\cygwin\bin\ to my path. when i go "make" (or any other commands
> like g++) on run command, it works. so i am not sure why it is not working
> from eclipse. Also, "build project" and "build all" are inactive. how do i
> fix this? any help is appreciated! :)
> thanks
>
>
Re: CDT & Cygwin [message #101770 is a reply to message #101624] Fri, 07 May 2004 15:10 Go to previous messageGo to next message
Eclipse UserFriend
First the questionaire as usual, when newcomers don't provide any infos
on their environment.

What version do you use (Eclipse and CDT Versions as exact as possible)?
What project type do you use? (Standard Make vs. Managed Make)

e.g. in Managed Make, the cygwin path is hardcoded into the plugin.xml
file. Though, you should change the paths in there too, as you don't
have cygwin in the standard paths underneath c:\cygwin but e:\cygwin.

R wrote:

> Hi,
> sorry for reposting. but i still cannot make it work.
> I added e:\cygwin\bin\ to my path. when i go "make" (or any other commands
> like g++) on run command, it works. so i am not sure why it is not working
> from eclipse. Also, "build project" and "build all" are inactive. how do i
> fix this? any help is appreciated! :)
> thanks
>
>
Re: CDT & Cygwin [message #101798 is a reply to message #101638] Sat, 08 May 2004 03:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: compuhelp.caramail.com

R wrote:

> ok this is what i get now.
>
> main.cpp:1:19: iostream: no such file or directory
> and consequently cout undeclared and stuff.
>
> i thought cygwin came with all the header files? just like gcc in linux? do
> i have to download the library separetely?
>
> thanks
>
>
> "R" <kahcor@yahoo.com> wrote in message news:c7c6e2$orc$1@eclipse.org...
>
>>Hi,
>>sorry for reposting. but i still cannot make it work.
>>I added e:\cygwin\bin\ to my path. when i go "make" (or any other commands
>>like g++) on run command, it works. so i am not sure why it is not working
>>from eclipse. Also, "build project" and "build all" are inactive. how do i
>>fix this? any help is appreciated! :)
>>thanks
>>
>>
>
>
>

on my pc it's working perfectly.
if you try to compil under cmd.exe (the false dos shell), is it working
or not?
try to download all cygwin packages...

--
Compu
Re: CDT & Cygwin Same Prob here [message #101998 is a reply to message #101624] Tue, 11 May 2004 14:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Mr.Brainley.gmx.de

Though i seem to know evel less than he does. Where can i add the /bin
directory to my path ?!
I installed all Cygwin Packages.
As for this plugin.xml path changing ... theres about 20 plugin.xml related
to cdt in my eclipse plugin dir. wich one ?!

thx in advance
Re: CDT & Cygwin [message #103837 is a reply to message #101736] Wed, 26 May 2004 14:16 Go to previous message
Eclipse UserFriend
Thanks, Luis, this works perfectly. Advice -- first get the command
working in a command window, then cut-paste to the shortcut.


Luis Sanchez wrote:

> Try creating a shortcut with the following as it's target (it's all one
> line):

> D:cygwinbinbash.exe --login -c "D:/eclipse/3.0M8/eclipse.exe
> -data `cygpath --windows /d/workspace/`
> -vm `cygpath --windows /d/sun/j2sdk1.4.2_03/jre/bin/javaw.exe`"

> Of course, use your own paths when appropriate and include/exclude
> whatever parameters you need to start eclipse with.

> Doing the above will remove the need to all Cygwin's bin directory to
> your path, but will leave open a command line window. :(

> Make sure that you have installed everything needed for the compiler to
> work. One way to do this is to install EVERTHING when you install cygwin.

> R wrote:
> > Hi,
> > sorry for reposting. but i still cannot make it work.
> > I added e:cygwinbin to my path. when i go "make" (or any other commands
> > like g++) on run command, it works. so i am not sure why it is not working
> > from eclipse. Also, "build project" and "build all" are inactive. how do i
> > fix this? any help is appreciated! :)
> > thanks
> >
> >
Previous Topic:Showing data in RegisterView from XML file
Next Topic:cdt parse / lookup problem
Goto Forum:
  


Current Time: Sun Jun 01 07:32:49 EDT 2025

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

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

Back to the top