Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT hangs invoking build command
CDT hangs invoking build command [message #62154] Thu, 13 February 2003 10:23 Go to next message
Eclipse UserFriend
I am using CDT 1.0 and Eclipse 2.01. I have found that if I set the
Include environment variable or the Lib environment variable to point to
my Microsoft compiler directories, CDT hangs invoking the build command
and I have to kill eclipse through the task manager.

I know I can sort this out within a make file to reference them but I
was wondering if this was expected behaviour or unexpected behaviour ?

Regards
Dave Kelsey
Re: CDT hangs invoking build command [message #62418 is a reply to message #62154] Mon, 17 February 2003 14:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_sevoy.rational.com

Dave,
I have not seen that kind of behaviour related to INCLUDE and LIB. I was
having a similar problem but it was related to my PATH. All I did was
create a batch file to set the PATH var to contain only the path to my
Cygwin stuff then 'start'ed Eclipse. I left everything else in my
environment alone. I'm not 100% sure, but I think the GCC wrappers
ignore the INCLUDE and LIB environment variables anyway.

Dave Kelsey wrote:
> I am using CDT 1.0 and Eclipse 2.01. I have found that if I set the
> Include environment variable or the Lib environment variable to point to
> my Microsoft compiler directories, CDT hangs invoking the build command
> and I have to kill eclipse through the task manager.
>
> I know I can sort this out within a make file to reference them but I
> was wondering if this was expected behaviour or unexpected behaviour ?
>
> Regards
> Dave Kelsey
>
>
>
Re: CDT hangs invoking build command [message #62440 is a reply to message #62154] Mon, 17 February 2003 15:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_sevoy.rational.com

Actually, let me a be a bit more specific. I make sure my Cygwin stuff
appears *first* in my PATH, i.e.

@echo off
set PATH=<drive>:\Cygwin\bin;<drive>:\Cygwin\usr\local\bin;%PATH%
start eclipse

This was sufficient for me.

Dave Kelsey wrote:
> I am using CDT 1.0 and Eclipse 2.01. I have found that if I set the
> Include environment variable or the Lib environment variable to point to
> my Microsoft compiler directories, CDT hangs invoking the build command
> and I have to kill eclipse through the task manager.
>
> I know I can sort this out within a make file to reference them but I
> was wondering if this was expected behaviour or unexpected behaviour ?
>
> Regards
> Dave Kelsey
>
>
>
Re: CDT hangs invoking build command [message #62597 is a reply to message #62440] Tue, 18 February 2003 12:53 Go to previous messageGo to next message
Eclipse UserFriend
I have come across another hang, this time it appeared to be the size of the
project name, again the hang would occur when invoking the build command.

Another hang occurred trying to rename a project to a larger project name,
this caused my workspace metadata to get out of sync this time which was a bit
of a pain.

I would try to recreate it and raise a defect but I have it working at the
moment and
don't want to break anything. Seems there are more circumstances where the
problem occurs. I wonder if it might be related to their win32 mechanism for
launching external programs ?

Dave Kelsey

Sean Evoy wrote:

> Actually, let me a be a bit more specific. I make sure my Cygwin stuff
> appears *first* in my PATH, i.e.
>
> @echo off
> set PATH=<drive>:\Cygwin\bin;<drive>:\Cygwin\usr\local\bin;%PATH%
> start eclipse
>
> This was sufficient for me.
>
> Dave Kelsey wrote:
> > I am using CDT 1.0 and Eclipse 2.01. I have found that if I set the
> > Include environment variable or the Lib environment variable to point to
> > my Microsoft compiler directories, CDT hangs invoking the build command
> > and I have to kill eclipse through the task manager.
> >
> > I know I can sort this out within a make file to reference them but I
> > was wondering if this was expected behaviour or unexpected behaviour ?
> >
> > Regards
> > Dave Kelsey
> >
> >
> >
Re: CDT hangs invoking build command [message #1768000 is a reply to message #62597] Wed, 12 July 2017 12:29 Go to previous messageGo to next message
Eclipse UserFriend
We are currently having the same Invoking CDT Hang during the build of our workspace. So far We have tried:

*Erasing all C++/C Development Tools and re-adding them
*Using a different workspace
*sitting and waiting for it to pass that point
*cleaning the workspace
*different computers
and *just building the project

so far none of this has woked. Please help we are high schoolers participating in a FRC Off Season Competion in two days. We have searched every where. Our programming skills arent that extinsive.

Thank You
Re: CDT hangs invoking build command [message #1768086 is a reply to message #1768000] Thu, 13 July 2017 09:26 Go to previous message
Eclipse UserFriend
Hello Lauren,

Sadly there is not enough information here to help you. You are almost certainly not having the identical problem as the thread you are replying to as that was from 2003 and CDT has changed extensively since then.

Here are some questions that need answering to help you better:

Can you build a simple Hello World project?
Which version of Eclipse/CDT are you using?
What does "hang" mean, when does it hang? Does the UI become unresponsive, or just the the build never finishes?
What kind of computer are you using (Windows/Mac/Linux)

Jonah
Previous Topic:Unable to debug in Eclipse C/C++ Edition [Oxygen version]
Next Topic:eclipse reports the indexer error while ctrl+click one variable or method
Goto Forum:
  


Current Time: Wed Mar 12 00:48:54 EDT 2025

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

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

Back to the top