|
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 |
Eclipse User |
|
|
|
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 #191486 is a reply to message #191470] |
Thu, 01 February 2007 20:35 |
Eclipse User |
|
|
|
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 #191599 is a reply to message #191535] |
Fri, 02 February 2007 11:52 |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.11150 seconds