Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » C++ help please
C++ help please [message #153625] Sat, 10 September 2005 15:24 Go to next message
Eclipse UserFriend
Originally posted by: pavel.sapozhnikov.gmail.com

Hi I downloaded Eclipse 3.1 and CDT 3.0.0 I installed everything is
fine. But I can't build my projects. The documentation in the Help seems
to be kind of outdated too because it looks nothing like the new CDT. So
I get this message its in yellow Error launching external scanner info
generator (gcc -E -P -v -dD
D:/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.make .core/specs.cpp)
What do I do. How do I fix this.
Re: C++ help please [message #153658 is a reply to message #153625] Sun, 11 September 2005 16:49 Go to previous messageGo to next message
Eclipse UserFriend
Pavel,

you are missing gcc. Since you are on windows, please install a
compiler and a build system. (either cygwin or mingw32/msys)

see
http://max.berger.name/teaching/cdt/ar01s03.jsp

for more information

hth

Max

Pavel S wrote:
> Hi I downloaded Eclipse 3.1 and CDT 3.0.0 I installed everything is
> fine. But I can't build my projects. The documentation in the Help seems
> to be kind of outdated too because it looks nothing like the new CDT. So
> I get this message its in yellow Error launching external scanner info
> generator (gcc -E -P -v -dD
> D:/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.make .core/specs.cpp)
>
> What do I do. How do I fix this.
Re: C++ help please [message #153666 is a reply to message #153625] Sun, 11 September 2005 16:49 Go to previous messageGo to next message
Eclipse UserFriend
Pavel,

you are missing gcc. Since you are on windows, please install a
compiler and a build system. (either cygwin or mingw32/msys)

see
http://max.berger.name/teaching/cdt/ar01s03.jsp

for more information

hth

Max

Pavel S wrote:
> Hi I downloaded Eclipse 3.1 and CDT 3.0.0 I installed everything is
> fine. But I can't build my projects. The documentation in the Help seems
> to be kind of outdated too because it looks nothing like the new CDT. So
> I get this message its in yellow Error launching external scanner info
> generator (gcc -E -P -v -dD
> D:/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.make .core/specs.cpp)
>
> What do I do. How do I fix this.
Re: C++ help please [message #153674 is a reply to message #153666] Sun, 11 September 2005 17:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pavel.sapozhnikov.gmail.com

Max Berger wrote:
> Pavel,
>
> you are missing gcc. Since you are on windows, please install a
> compiler and a build system. (either cygwin or mingw32/msys)
>
> see
> http://max.berger.name/teaching/cdt/ar01s03.jsp
>
> for more information
>
> hth
>
> Max
>
> Pavel S wrote:
>> Hi I downloaded Eclipse 3.1 and CDT 3.0.0 I installed everything is
>> fine. But I can't build my projects. The documentation in the Help seems
>> to be kind of outdated too because it looks nothing like the new CDT. So
>> I get this message its in yellow Error launching external scanner info
>> generator (gcc -E -P -v -dD
>> D:/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.make .core/specs.cpp)
>>
>> What do I do. How do I fix this.
Thanks a lot Max. This works great. What I am wondering is that after I
created even a simplest program like Hello World program it gives me a
yellow message right after the last } it says no newline at end of file.
It works even with that message displaying but I was just wondering what
is it because its kind of annoying if you will.

--
Pavel Sapozhnikov
Павел Сапожников
University of Massachusetts Amherst
Department of Computer Science
pavel.sapozhnikov@gmail.com
Re: C++ help please [message #153681 is a reply to message #153674] Sun, 11 September 2005 21:18 Go to previous messageGo to next message
Eclipse UserFriend
Pavel S wrote:
> Max Berger wrote:
>
>> Pavel,
>>
>> you are missing gcc. Since you are on windows, please install a
>> compiler and a build system. (either cygwin or mingw32/msys)
>>
>> see
>> http://max.berger.name/teaching/cdt/ar01s03.jsp
>>
>> for more information
>>
>> hth
>>
>> Max
>>
>> Pavel S wrote:
>>
>>> Hi I downloaded Eclipse 3.1 and CDT 3.0.0 I installed everything is
>>> fine. But I can't build my projects. The documentation in the Help seems
>>> to be kind of outdated too because it looks nothing like the new CDT. So
>>> I get this message its in yellow Error launching external scanner info
>>> generator (gcc -E -P -v -dD
>>> D:/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.make .core/specs.cpp)
>>>
>>>
>>> What do I do. How do I fix this.
>
> Thanks a lot Max. This works great. What I am wondering is that after I
> created even a simplest program like Hello World program it gives me a
> yellow message right after the last } it says no newline at end of file.
> It works even with that message displaying but I was just wondering what
> is it because its kind of annoying if you will.
>


That's the compiler complaining that the last line of the file doesn't
have a newline (Eclipse itself doesn't care).

Go to the last line in the file, move the cursor as far to the right as
you can. Hit the "Enter" key. Now, try again. The message should go away.
Re: C++ help please [message #153689 is a reply to message #153674] Sun, 11 September 2005 22:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: plankton.softwitch.net

If the source file doesn't have new line at end, When we use include,
Some source will be mixed into single line. So,"New line at end" is
recommended as far as I think.

Pavel S wrote:
> Max Berger wrote:
>
>> Pavel,
>>
>> you are missing gcc. Since you are on windows, please install a
>> compiler and a build system. (either cygwin or mingw32/msys)
>>
>> see
>> http://max.berger.name/teaching/cdt/ar01s03.jsp
>>
>> for more information
>>
>> hth
>>
>> Max
>>
>> Pavel S wrote:
>>
>>> Hi I downloaded Eclipse 3.1 and CDT 3.0.0 I installed everything is
>>> fine. But I can't build my projects. The documentation in the Help seems
>>> to be kind of outdated too because it looks nothing like the new CDT. So
>>> I get this message its in yellow Error launching external scanner info
>>> generator (gcc -E -P -v -dD
>>> D:/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.make .core/specs.cpp)
>>>
>>>
>>> What do I do. How do I fix this.
>
> Thanks a lot Max. This works great. What I am wondering is that after I
> created even a simplest program like Hello World program it gives me a
> yellow message right after the last } it says no newline at end of file.
> It works even with that message displaying but I was just wondering what
> is it because its kind of annoying if you will.
>
Re: C++ help please [message #153697 is a reply to message #153681] Sun, 11 September 2005 22:55 Go to previous message
Eclipse UserFriend
Originally posted by: pavel.sapozhnikov.gmail.com

Patrick Turley wrote:
> Pavel S wrote:
>> Max Berger wrote:
>>
>>> Pavel,
>>>
>>> you are missing gcc. Since you are on windows, please install a
>>> compiler and a build system. (either cygwin or mingw32/msys)
>>>
>>> see
>>> http://max.berger.name/teaching/cdt/ar01s03.jsp
>>>
>>> for more information
>>>
>>> hth
>>>
>>> Max
>>>
>>> Pavel S wrote:
>>>
>>>> Hi I downloaded Eclipse 3.1 and CDT 3.0.0 I installed everything is
>>>> fine. But I can't build my projects. The documentation in the Help
>>>> seems
>>>> to be kind of outdated too because it looks nothing like the new
>>>> CDT. So
>>>> I get this message its in yellow Error launching external scanner info
>>>> generator (gcc -E -P -v -dD
>>>> D:/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.make .core/specs.cpp)
>>>>
>>>>
>>>> What do I do. How do I fix this.
>>
>> Thanks a lot Max. This works great. What I am wondering is that after
>> I created even a simplest program like Hello World program it gives me
>> a yellow message right after the last } it says no newline at end of
>> file. It works even with that message displaying but I was just
>> wondering what is it because its kind of annoying if you will.
>>
>
>
> That's the compiler complaining that the last line of the file doesn't
> have a newline (Eclipse itself doesn't care).
>
> Go to the last line in the file, move the cursor as far to the right as
> you can. Hit the "Enter" key. Now, try again. The message should go away.
Great thanks a lot man. Yeah Eclipse is not as self explanatory as I
thought it would be. But its great. Hmm perhaps I should uninstall MS
Visual Studio :)

--
Pavel Sapozhnikov
Павел Сапожников
University of Massachusetts Amherst
Department of Computer Science
pavel.sapozhnikov@gmail.com
Previous Topic:Where is 'Memory' and 'Expressions' Tab for the debugger?
Next Topic:CDT 3.0 Compiling problem
Goto Forum:
  


Current Time: Thu Jun 19 14:56:45 EDT 2025

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

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

Back to the top