Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error launching external scanner info generator (gcc -E -P -v -dD ...
Error launching external scanner info generator (gcc -E -P -v -dD ... [message #191231] Wed, 31 January 2007 22:24 Go to next message
Thanh Lam is currently offline Thanh LamFriend
Messages: 12
Registered: July 2009
Junior Member
I posted this on the CDT news group but haven't got any answer yet. Maybe
this is a beginner's question: How can I resolve the error of "launching
external scanner info generator"?

Detailed info from my post on the CDT news group:
============================================================ =============
I created a new C/C++ project and then a new C source file in the project
like this:

#include <stdio.h>
int main()
{
printf("Hello...\n");
}

Got this warning when I tried to build it:
"! Error launching external scanner info generator (gcc -E -P -v -dD
C:/Java/eclipse/projects/.metadata/.plugins/org.eclipse.cdt. make
core/specs.c)"

As a result of the warning, the program was not built.

I use the gcc compiler from cygwin and it works fine outside of eclipse.
The warning message is kind of cryptic. Thanks in advance for any help.
Re: Error launching external scanner info generator (gcc -E -P -v -dD ... [message #191313 is a reply to message #191231] Thu, 01 February 2007 11:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: csae7511.uibk.ac.at

Hi,

I had problems with the gcc when the path contained spaces (as it seems
to be in your case).

HTH,
Stefan

Thanh Lam schrieb:
> I posted this on the CDT news group but haven't got any answer yet.
> Maybe this is a beginner's question: How can I resolve the error of
> "launching external scanner info generator"?
>
> Detailed info from my post on the CDT news group:
> ============================================================ =============
> I created a new C/C++ project and then a new C source file in the
> project like this:
>
> #include <stdio.h>
> int main()
> {
> printf("Hello...\n");
> }
>
> Got this warning when I tried to build it:
> "! Error launching external scanner info generator (gcc -E -P -v -dD
> C:/Java/eclipse/projects/.metadata/.plugins/org.eclipse.cdt. make
> core/specs.c)"
>
> As a result of the warning, the program was not built.
>
> I use the gcc compiler from cygwin and it works fine outside of eclipse.
> The warning message is kind of cryptic. Thanks in advance for any help.
>
>
Re: Error launching external scanner info generator (gcc -E -P -v -dD ... [message #191470 is a reply to message #191313] Thu, 01 February 2007 19:35 Go to previous messageGo to next message
Thanh Lam is currently offline Thanh LamFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

Which path that you had problem with gcc? I checked both of my paths to
gcc and the C program. They don't have spaces in the dir name. Is that
what your problem was?

My path to gcc is /usr/bin/gcc
or equivalent to /cygdrive/c/cygwin/bin/gcc

The path to the C program is
/cygdrive/c/java/eclipse/projects/HelloAgain/hello.c

But, eclipse should handle this internally with its project structures.

Thanks for responding!
-Thanh Lam.
Re: Error launching external scanner info generator (gcc -E -P -v -dD ... [message #191486 is a reply to message #191470] Thu, 01 February 2007 20:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: csae7511.uibk.ac.at

Hi,

I meant the following path you posted:
C:/Java/eclipse/projects/.metadata/.plugins/org.eclipse.cdt. make
core/specs.c

There is a space between make and core (there should be a dot - at least
it is the case for my installation).

Regards,
Stefan

Thanh Lam schrieb:
> Hi,
>
> Which path that you had problem with gcc? I checked both of my paths to
> gcc and the C program. They don't have spaces in the dir name. Is that
> what your problem was?
>
> My path to gcc is /usr/bin/gcc
> or equivalent to /cygdrive/c/cygwin/bin/gcc
>
> The path to the C program is
> /cygdrive/c/java/eclipse/projects/HelloAgain/hello.c
>
> But, eclipse should handle this internally with its project structures.
>
> Thanks for responding!
> -Thanh Lam.
>
Re: Error launching external scanner info generator (gcc -E -P -v -dD ... [message #191535 is a reply to message #191486] Thu, 01 February 2007 22:31 Go to previous messageGo to next message
Thanh Lam is currently offline Thanh LamFriend
Messages: 12
Registered: July 2009
Junior Member
Oh, okay. I checked that path and it actually has a dot in between make
and core like you said. It could be something happened when I cut and
pasted it. Sorry about that. The file specs.c or specs.cpp is empty
though. Does that give some clue? Anyone knows what should be in that
file? Probably eclipse created those dirs and files when it created a new
project.

-Thanh Lam.
Re: Error launching external scanner info generator (gcc -E -P -v -dD ... [message #191599 is a reply to message #191535] Fri, 02 February 2007 11:52 Go to previous message
Eclipse UserFriend
Originally posted by: csae7511.uibk.ac.at

I checked my specs.c and specs.cpp - both are empty ...

You could try to execute the statement

gcc -E -P -v -dD
C:/Java/eclipse/projects/.metadata/.plugins/org.eclipse.cdt. make
core/specs.c

from your console - may this will give you some hint about the problem.

Regards,
Stefan

Thanh Lam schrieb:
> Oh, okay. I checked that path and it actually has a dot in between make
> and core like you said. It could be something happened when I cut and
> pasted it. Sorry about that. The file specs.c or specs.cpp is empty
> though. Does that give some clue? Anyone knows what should be in that
> file? Probably eclipse created those dirs and files when it created a
> new project.
>
> -Thanh Lam.
>
Previous Topic:Debug on server
Next Topic:Suse 10.2 style
Goto Forum:
  


Current Time: Thu Apr 25 09:51:38 GMT 2024

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

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

Back to the top