Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse & Cygwin
Eclipse & Cygwin [message #86421] Thu, 20 November 2003 18:14 Go to next message
Eclipse UserFriend
Originally posted by: supremacia_da_dor.yahoo.com

I would like to build a C project under MSWindows using Eclipse.
I installed Cygwin and put the directory "D:\Cygwin\bin" in the "path"
environment variable.

I'm trying to build a project, but I get the message:

Error launching builder (make -k clean all )
(Exec error:The directory name is invalid.
)

Does anyone have a clue why this is happening? I don't even know to what
directory the message refers...

Can you tell me what are the correct steps to get Eclipse to compile and
debug C programs using Cygwin?

Help me, please...
Re: Eclipse & Cygwin [message #86483 is a reply to message #86421] Thu, 20 November 2003 22:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: firingme.sina.com

"Carlos" <supremacia_da_dor@yahoo.com> ??????:bpjhs3$d8n$1@eclipse.org...
> I would like to build a C project under MSWindows using Eclipse.
> I installed Cygwin and put the directory "D:\Cygwin\bin" in the "path"
> environment variable.

Project -> Properties -> c/c++ MakeProject -> Paths and symbols
Re: Eclipse & Cygwin [message #86534 is a reply to message #86421] Fri, 21 November 2003 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Carlos,
This comment is NOT directed to you in particular, but to everyone who
posts these types of questions on the newsgroup. It would be a lot
easier for the very busy CDT developers or other experienced users to
help you if you'd include more information, like:

1. A dump of your environment variables and OS version,
2. What kind of project you created (managed or standard),
3. What settings you've changed,
4. And any other bit of info you think might help (like in this case,
since there is a build problem with a standard project, the makefile you
are using, and since the problem seems to be related to a path, the
location of your workspace ....)

It looks like the builder is launching make in the project's working
directory. The good news is, it can find make so the PATH is likely OK.
Unfortunately, the launcher thinks it is an invalid directory. I cannot
tell you why, though. Is there a makefile there? Does the project live
in a directory with spaces? Can you think of any reason why the
directory might be considered invalid ....

With more info, I might be able to narrow down the problem some more.

Carlos wrote:

> I would like to build a C project under MSWindows using Eclipse.
> I installed Cygwin and put the directory "D:\Cygwin\bin" in the "path"
> environment variable.
>
> I'm trying to build a project, but I get the message:
>
> Error launching builder (make -k clean all )
> (Exec error:The directory name is invalid.
> )
>
> Does anyone have a clue why this is happening? I don't even know to what
> directory the message refers...
>
> Can you tell me what are the correct steps to get Eclipse to compile and
> debug C programs using Cygwin?
>
> Help me, please...
>
Re: Eclipse & Cygwin [message #86607 is a reply to message #86534] Sat, 22 November 2003 09:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: supremacia_da_dor.yahoo.com

I tried to move to a directory without spaces and it worked.

Thanks, and sorry for the vague description that I gave. I'll try to give
more information if I ever need help again.

A note to the developers: It would help if the error messages were a
little less vague. In this case it would be easier to understand why the
error ocurred if the message included the reason why the directory name
was invalid.

Sometimes things that seem obvious to the people who develop software are
not to the people who will use it.

Thanks again, Sean.

Sean Evoy wrote:

> Carlos,
> This comment is NOT directed to you in particular, but to everyone who
> posts these types of questions on the newsgroup. It would be a lot
> easier for the very busy CDT developers or other experienced users to
> help you if you'd include more information, like:

> 1. A dump of your environment variables and OS version,
> 2. What kind of project you created (managed or standard),
> 3. What settings you've changed,
> 4. And any other bit of info you think might help (like in this case,
> since there is a build problem with a standard project, the makefile you
> are using, and since the problem seems to be related to a path, the
> location of your workspace ....)

> It looks like the builder is launching make in the project's working
> directory. The good news is, it can find make so the PATH is likely OK.
> Unfortunately, the launcher thinks it is an invalid directory. I cannot
> tell you why, though. Is there a makefile there? Does the project live
> in a directory with spaces? Can you think of any reason why the
> directory might be considered invalid ....

> With more info, I might be able to narrow down the problem some more.

> Carlos wrote:

> > I would like to build a C project under MSWindows using Eclipse.
> > I installed Cygwin and put the directory "D:Cygwinbin" in the "path"
> > environment variable.
> >
> > I'm trying to build a project, but I get the message:
> >
> > Error launching builder (make -k clean all )
> > (Exec error:The directory name is invalid.
> > )
> >
> > Does anyone have a clue why this is happening? I don't even know to what
> > directory the message refers...
> >
> > Can you tell me what are the correct steps to get Eclipse to compile and
> > debug C programs using Cygwin?
> >
> > Help me, please...
> >
Re: Eclipse & Cygwin [message #86695 is a reply to message #86534] Sat, 22 November 2003 14:04 Go to previous messageGo to next message
Eclipse UserFriend
This is a multi-part message in MIME format.

------=_NextPart_000_006C_01C3B0F9.1F1D6030
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_006D_01C3B0F9.1F1D6030"


------=_NextPart_001_006D_01C3B0F9.1F1D6030
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am getting a similar error trying to run the tutorial example.
Error launching builder (make -k clean all ) (Exec error:Launching =
failed)

When creating a standard C project the build seems to work but when =
trying to run I get this message:
Launch failed no binaries

Attached is a dump of my environment variables.
the Project is he example in the Tutorial.
My workspace in in the My Documents Directory


"Sean Evoy" <sevoy@ca.ibm.com> wrote in message =
news:bpldmk$ctv$1@eclipse.org...
> Carlos,
> This comment is NOT directed to you in particular, but to everyone who =

> posts these types of questions on the newsgroup. It would be a lot=20
> easier for the very busy CDT developers or other experienced users to=20
> help you if you'd include more information, like:
>=20
> 1. A dump of your environment variables and OS version,
> 2. What kind of project you created (managed or standard),
> 3. What settings you've changed,
> 4. And any other bit of info you think might help (like in this case,=20
> since there is a build problem with a standard project, the makefile =
you=20
> are using, and since the problem seems to be related to a path, the=20
> location of your workspace ....)
>=20
> It looks like the builder is launching make in the project's working=20
> directory. The good news is, it can find make so the PATH is likely =
OK.=20
> Unfortunately, the launcher thinks it is an invalid directory. I =
cannot=20
> tell you why, though. Is there a makefile there? Does the project live =

> in a directory with spaces? Can you think of any reason why the=20
> directory might be considered invalid ....
>=20
> With more info, I might be able to narrow down the problem some more.
>=20
> Carlos wrote:
>=20
> > I would like to build a C project under MSWindows using Eclipse.
> > I installed Cygwin and put the directory "D:\Cygwin\bin" in the =
"path"
> > environment variable.
> >=20
> > I'm trying to build a project, but I get the message:=20
> >=20
> > Error launching builder (make -k clean all )
> > (Exec error:The directory name is invalid.
> > )
> >=20
> > Does anyone have a clue why this is happening? I don't even know to =
what
> > directory the message refers...
> >=20
> > Can you tell me what are the correct steps to get Eclipse to compile =
and
> > debug C programs using Cygwin?
> >=20
> > Help me, please...
> >=20
>
------=_NextPart_001_006D_01C3B0F9.1F1D6030
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D1>I am getting a similar error trying to =
run the=20
tutorial example.</FONT></DIV>
<DIV><EM><FONT face=3DArial size=3D1>Error launching builder (make -k =
clean all )=20
</FONT><FONT face=3DArial size=3D1>(Exec error:Launching =
failed)</FONT></EM></DIV>
<DIV><FONT face=3DArial size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>When creating a standard C project the =
build seems=20
to work but&nbsp; when trying to run I get this message:</FONT></DIV>
<DIV><FONT face=3DArial size=3D1><EM>Launch failed no =
binaries</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>Attached is a dump of my environment=20
variables.</FONT></DIV>
<DIV><FONT face=3DArial size=3D1>the Project is he example in the=20
Tutorial.</FONT></DIV>
<DIV><FONT face=3DArial size=3D1>My workspace in in the My Documents=20
Directory</FONT></DIV>
<DIV><FONT face=3DArial size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>"Sean Evoy" &lt;</FONT><A=20
href=3D"mailto:sevoy@ca.ibm.com"><FONT face=3DArial=20
size=3D1>sevoy@ca.ibm.com</FONT></A><FONT face=3DArial size=3D1>&gt; =
wrote in message=20
</FONT><A href=3D"news:bpldmk$ctv$1@eclipse.org"><FONT face=3DArial=20
size=3D1>news:bpldmk$ctv$1@eclipse.org</FONT></A><FONT face=3DArial=20
size=3D1>...</FONT></DIV><FONT face=3DArial size=3D1>&gt; =
Carlos,<BR>&gt; This comment=20
is NOT directed to you in particular, but to everyone who <BR>&gt; posts =
these=20
types of questions on the newsgroup. It would be a lot <BR>&gt; easier =
for the=20
very busy CDT developers or other experienced users to <BR>&gt; help you =
if=20
you'd include more information, like:<BR>&gt; <BR>&gt; 1. A dump of your =

environment variables and OS version,<BR>&gt; 2. What kind of project =
you=20
created (managed or standard),<BR>&gt; 3. What settings you've =
changed,<BR>&gt;=20
4. And any other bit of info you think might help (like in this case, =
<BR>&gt;=20
since there is a build problem with a standard project, the makefile you =

<BR>&gt; are using, and since the problem seems to be related to a path, =
the=20
<BR>&gt; location of your workspace ....)<BR>&gt; <BR>&gt; It looks like =
the=20
builder is launching make in the project's working <BR>&gt; directory. =
The good=20
news is, it can find make so the PATH is likely OK. <BR>&gt; =
Unfortunately, the=20
launcher thinks it is an invalid directory. I cannot <BR>&gt; tell you =
why,=20
though. Is there a makefile there? Does the project live <BR>&gt; in a =
directory=20
with spaces? Can you think of any reason why the <BR>&gt; directory =
might be=20
considered invalid ....<BR>&gt; <BR>&gt; With more info, I might be able =
to=20
narrow down the problem some more.<BR>&gt; <BR>&gt; Carlos =
wrote:<BR>&gt;=20
<BR>&gt; &gt; I would like to build a C project under MSWindows using=20
Eclipse.<BR>&gt; &gt; I installed Cygwin and put the directory =
"D:\Cygwin\bin"=20
in the "path"<BR>&gt; &gt; environment variable.<BR>&gt; &gt; <BR>&gt; =
&gt; I'm=20
trying to build a project, but I get the message: <BR>&gt; &gt; <BR>&gt; =
&gt;=20
Error launching builder (make -k clean all )<BR>&gt; &gt; (Exec =
error:The=20
directory name is invalid.<BR>&gt; &gt; )<BR>&gt; &gt; <BR>&gt; &gt; =
Does anyone=20
have a clue why this is happening? I don't even know to what<BR>&gt; =
&gt;=20
directory the message refers...<BR>&gt; &gt; <BR>&gt; &gt; Can you tell =
me what=20
are the correct steps to get Eclipse to compile and<BR>&gt; &gt; debug C =

programs using Cygwin?<BR>&gt; &gt; <BR>&gt; &gt; Help me, =
please...<BR>&gt;=20
&gt; <BR>&gt; </FONT></BODY></HTML>

------=_NextPart_001_006D_01C3B0F9.1F1D6030--

------=_NextPart_000_006C_01C3B0F9.1F1D6030
Content-Type: text/plain;
name="Environment.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Environment.txt"

ALLUSERSPROFILE=3DC:\Documents and Settings\All Users
APPDATA=3DC:\Documents and Settings\NeilSwartz\Application Data
CLASSPATH=3D.;C:\SqlLib\java\db2java.zip;C:\SqlLib\java\db2j cc.jar;C:\Sql=
Lib\java\sqlj.zip;C:\SqlLib\java\db2jcc_license_cu.jar;C:\Sq lLib\bin;C:\S=
qlLib\tools\db2XTrigger.jar;C:\SqlLib\java\common.jar;"C:\Java\j2re1.4.2\=
lib\ext\QTJava.zip"
CommonProgramFiles=3DC:\Program Files\Common Files
COMPUTERNAME=3DNEIL
ComSpec=3DC:\WINDOWS\system32\cmd.exe
DB2INSTANCE=3DDB2
DB2TEMPDIR=3DC:\SqlLib\
HOMEDRIVE=3DC:
HOMEPATH=3D\Documents and Settings\NeilSwartz
INCLUDE=3DD:\Development\VC98\atl\include;D:\Development\VC9 8\mfc\include=
;D:\Development\VC98\include
JAVA_HOME=3DC:\JAVA\j2sdk1.4.2_01\
LIB=3DD:\Development\VC98\mfc\lib;D:\Development\VC98\lib
LOGONSERVER=3D\\NEIL
MSDevDir=3DD:\Development\VB6\Common\MSDev98
NUMBER_OF_PROCESSORS=3D1
OS=3DWindows_NT
Path=3DC:\WINDOWS\system32;..;C:\WINDOWS\system32\WBEM;C:\Ba t;C:\Program =
Files\Common Files\Adaptec =
Shared\System;C:\Java\j2sdk1.4.2_01\bin;C:\SqlLib\BIN;C:\Sql Lib\FUNCTION;=
D:\Development\VB6\Common\Tools\WinNT;D:\Development\VB6\Com mon\MSDev98\B=
in;D:\Development\VC98\bin;D:\Development\Cygwin\bin
PATHEXT=3D.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=3Dx86
PROCESSOR_IDENTIFIER=3Dx86 Family 15 Model 2 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=3D15
PROCESSOR_REVISION=3D0207
ProgramFiles=3DC:\Program Files
PROMPT=3D$P$G
QTJAVA=3D"C:\Java\j2re1.4.2\lib\ext\QTJava.zip"
SESSIONNAME=3DConsole
set=3Dxx
SystemDrive=3DC:
SystemRoot=3DC:\WINDOWS
TEMP=3DC:\DOCUME~1\NEILSW~2\LOCALS~1\Temp
TMP=3DC:\DOCUME~1\NEILSW~2\LOCALS~1\Temp
USERDOMAIN=3DNEIL
USERNAME=3DNeilSwartz
USERPROFILE=3DC:\Documents and Settings\NeilSwartz
VWSPATH=3DC:\SqlLib
VWS_LOGGING=3DC:\SqlLib\LOGGING
VWS_TEMPLATES=3DC:\SqlLib\TEMPLATES
windir=3DC:\WINDOWS

------=_NextPart_000_006C_01C3B0F9.1F1D6030--
Re: Eclipse & Cygwin [message #87194 is a reply to message #86607] Mon, 24 November 2003 10:28 Go to previous message
Eclipse UserFriend
Point taken on the error messages, Carlos. As the CDT matures, we will
certainly be putting more focus on usability issues such as better user
feedback.

Carlos wrote:

> I tried to move to a directory without spaces and it worked.
>
> Thanks, and sorry for the vague description that I gave. I'll try to give
> more information if I ever need help again.
>
> A note to the developers: It would help if the error messages were a
> little less vague. In this case it would be easier to understand why the
> error ocurred if the message included the reason why the directory name
> was invalid.
>
> Sometimes things that seem obvious to the people who develop software are
> not to the people who will use it.
>
> Thanks again, Sean.
>
Previous Topic:Trouble parsing structs with cdt.core.IParser
Next Topic:After Hello World Works Problems
Goto Forum:
  


Current Time: Mon Jun 09 16:46:16 EDT 2025

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

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

Back to the top