Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Trouble With "Hello World"(Looking for help creating the Hello World program.)
Trouble With "Hello World" [message #690683] Thu, 30 June 2011 02:09 Go to next message
music.dood is currently offline music.doodFriend
Messages: 1
Registered: June 2011
Junior Member
Hey, everyone. I just started Eclipse today and was looking to create the basic "Hello World" program given by Eclipse's tutorial for C/C++. However, I encountered some problems. First of all, when I was selecting the project type and the tutorial says to expand the "Executable" folder and select "Hello World C++ Project" the only folder I had was "Makefile project" unless I unchecked the box labeled "Show project types and toolchains only if they are supported on the platform" which it did not mention in the tutorial. I don't know if that's a problem or not, but I just thought I would mention it. After I selected "Hello World C++ Project" from "Executable" I didn't know which toolchain to select, as it doesn't say in the tutorial. I tried with both Cygwin GCC and MinGW GCC, since I'm running Windows 7 and the other toolchains were seemingly meant for other operating systems. So, after I select either of those (I usually try with MinGW GCC) and I continue through the project creation process, I get to the C/C++ perspective and the "Hello World" project appears in the "Project Explorer" tab. All normal, except that when I look at the image given by the tutorial, the "Hello World" folder expands to only the "src" folder. However, mine also includes a "Debug" folder. I don't think there would be anything wrong with that, I'm just a bit confused with the inconsistency. Anyway, when I try to build the project after double-clicking Hello World.cpp just like it says in the tutorial, the "Console" view displays the following message:
**** Build of configuration Debug for project Hello World ****

**** Internal Builder is used for build ****
**** WARNING: The "Debug" Configuration may not build ****
**** because it uses the "MinGW GCC" ****
**** tool-chain that is unsupported on this system. ****

**** Attempting to build... ****

g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\Hello World.o ..\src\Hello World.cpp
Internal Builder: Exec error:Launching failed
Build error occurred, build is stopped
Time consumed: 619 ms.

I don't know what to do, and would really like some help. Thank you!
Re: Trouble With "Hello World" [message #690985 is a reply to message #690683] Thu, 30 June 2011 13:52 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

Welcome! Please read the sticky posts at the top of the forum. There
you'll note that a better place for Eclipse and C/C++ questions is the
Eclipse CDT forum.

Best of luck.

On 29-Jun-11 20:09, forums-noreply@eclipse.org wrote:
> Hey, everyone. I just started Eclipse today and was looking to create
> the basic "Hello World" program given by Eclipse's tutorial for C/C++.
> However, I encountered some problems. First of all, when I was selecting
> the project type and the tutorial says to expand the "Executable" folder
> and select "Hello World C++ Project" the only folder I had was "Makefile
> project" unless I unchecked the box labeled "Show project types and
> toolchains only if they are supported on the platform" which it did not
> mention in the tutorial. I don't know if that's a problem or not, but I
> just thought I would mention it. After I selected "Hello World C++
> Project" from "Executable" I didn't know which toolchain to select, as
> it doesn't say in the tutorial. I tried with both Cygwin GCC and MinGW
> GCC, since I'm running Windows 7 and the other toolchains were seemingly
> meant for other operating systems. So, after I select either of those (I
> usually try with MinGW GCC) and I continue through the project creation
> process, I get to the C/C++ perspective and the "Hello World" project
> appears in the "Project Explorer" tab. All normal, except that when I
> look at the image given by the tutorial, the "Hello World" folder
> expands to only the "src" folder. However, mine also includes a "Debug"
> folder. I don't think there would be anything wrong with that, I'm just
> a bit confused with the inconsistency. Anyway, when I try to build the
> project after double-clicking Hello World.cpp just like it says in the
> tutorial, the "Console" view displays the following message:
> **** Build of configuration Debug for project Hello World ****
>
> **** Internal Builder is used for build ****
> **** WARNING: The "Debug" Configuration may not build ****
> **** because it uses the "MinGW GCC" ****
> **** tool-chain that is unsupported on this system. ****
>
> **** Attempting to build... ****
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\Hello World.o ..\src\Hello
> World.cpp
> Internal Builder: Exec error:Launching failed
> Build error occurred, build is stopped
> Time consumed: 619 ms.
> I don't know what to do, and would really like some help. Thank you!
Re: Trouble With "Hello World" [message #690986 is a reply to message #690683] Thu, 30 June 2011 13:54 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
As pointed out in a "sticky" message at the top of this forum, C/C++
questions are best asked in the CDT forum group.


On 6/29/11 10:09 PM, forums-noreply@eclipse.org wrote:
> Hey, everyone. I just started Eclipse today and was looking to create
> the basic "Hello World" program given by Eclipse's tutorial for C/C++.
> However, I encountered some problems. First of all, when I was selecting
> the project type and the tutorial says to expand the "Executable" folder
> and select "Hello World C++ Project" the only folder I had was "Makefile
> project" unless I unchecked the box labeled "Show project types and
> toolchains only if they are supported on the platform" which it did not
> mention in the tutorial. I don't know if that's a problem or not, but I
> just thought I would mention it. After I selected "Hello World C++
> Project" from "Executable" I didn't know which toolchain to select, as
> it doesn't say in the tutorial. I tried with both Cygwin GCC and MinGW
> GCC, since I'm running Windows 7 and the other toolchains were seemingly
> meant for other operating systems. So, after I select either of those (I
> usually try with MinGW GCC) and I continue through the project creation
> process, I get to the C/C++ perspective and the "Hello World" project
> appears in the "Project Explorer" tab. All normal, except that when I
> look at the image given by the tutorial, the "Hello World" folder
> expands to only the "src" folder. However, mine also includes a "Debug"
> folder. I don't think there would be anything wrong with that, I'm just
> a bit confused with the inconsistency. Anyway, when I try to build the
> project after double-clicking Hello World.cpp just like it says in the
> tutorial, the "Console" view displays the following message:
> **** Build of configuration Debug for project Hello World ****
>
> **** Internal Builder is used for build ****
> **** WARNING: The "Debug" Configuration may not build ****
> **** because it uses the "MinGW GCC" ****
> **** tool-chain that is unsupported on this system. ****
>
> **** Attempting to build... ****
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\Hello World.o ..\src\Hello
> World.cpp
> Internal Builder: Exec error:Launching failed
> Build error occurred, build is stopped
> Time consumed: 619 ms.
> I don't know what to do, and would really like some help. Thank you!
Previous Topic:place of import statements
Next Topic:arm-elf-gcc problem
Goto Forum:
  


Current Time: Fri Apr 19 10:00:25 GMT 2024

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

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

Back to the top